Thanks for taking the time to help
Ok I have no ideas if this is possible and if so how one would do it. What I am tring to do is on select from a dropdown if selection = option 2 then open main page as option2.php and open a popup page pop.php but if the user selects option 1,3,4 then just open the selected main page.
Now the problem is that I can not build the popup code into the page option2.php as it is an outside page.
Any ideas?
Thanks again for your time.
zeroanarchy
Code: Select all
<select onchange="window.location.pathname=this.optionsїthis.selectedIndex].value">
<option selected value"http://www.mypage.com/S/A.php"> -- Select a number --</option>
<option value="/S/option1.php">option 1</option>
<option value="/S/option2.php">option 2</option>
// what do I need to add to the above line to make it open a popup as
// well or is there a better way of doing this?
<option value="/S/option3.php">option 3</option>
<option value="/S/option4.php">option4</option>
</select>