View Single Post
Old 2005-02-27, 09:37 AM   #1
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Php includes help (is this possible to do)

I have a drop down menu includes and I would like to use it in more then one frame of a site. The problem is that I need to define what frame the drop down menu opens in.

Right now I have this.
select style="color: black; font-size: 10pt; background-color: #a7b9ff;" name="menu1" onchange="if(this.options[this.selectedIndex].value!=''){window.open(this.options[this.selectedIndex].value,'_self')}">
<option value="URL"</option>

Is the a way to make this "value,'_self'" a variable so that when it is pulled into one page it will be value,'_main' and when it is pulled into the other frame it will be value,'_self'?
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote