Links in drop-down menu...open new browswer window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

This is the code I used for my drop-down menu w/ links.

What I want to do is have the links open in a new browser window.

I don't know what code to add in order to do this.

I'm using FP 2003.

You help is much appreciated.
 
I knew I forgot something:

<SELECT name="URL"
onChange="if(options[selectedIndex].value)
window.location.href=
(options[selectedIndex].value)">

<OPTION value="">Click for more information</OPTION>
<OPTION value="path_of_file.pdf">Example 1</OPTION>
<OPTION value="path_of_file.pdf">Example 2</OPTION>

</SELECT>
 
Hi,
You can just change
window.location.href=(options[selectedIndex].value)
to
window.open(options[selectedIndex].value)

Cheers,
Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Rollover drop down menus 1
drop down menu 3
Drop Down Menu 2
Drop Down Menus 1
Linking new phone to computer. 7
drop down menu 2
Drop Down menues 1
cascading drop down menus 8

Back
Top