|
|
|
|
|
|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
![]() |
#1 |
Subversive filth of the hedonistic decadent West
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'? |
![]() |
![]() |
|
|