Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: Redirection from a pulldown menu

by vroom (Pope)
on Jan 20, 2000 at 22:15 UTC ( #2217=note: print w/replies, xml ) Need Help??


in reply to Redirection from a pulldown menu

I'm not terribly familiar with PerlScript but you can do it with javascript. You can look at gamewar.com's way of doing it by doing a view source on that page and just changing the necessary URL's and titles:
Here's a really simple HTML document that does the same thing but without any other confusing things going on.
<HTML><BODY> <FORM> <SELECT NAME="mainmenu" CLASS="menu" METHOD="POST" onChange="window.op +en(this.options[this.selectedIndex].value,'_self')"> <OPTION VALUE="">Main Menu <OPTION VALUE="" SELECTED> <OPTION VALUE="http://www.perlmonks.org">Monastery Gates <OPTION VALUE="http://www.perlmonks.org/index.pl?node=tutorial +s">Tutorials </SELECT> </FORM> </BODY></HTML>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://2217]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-07-21 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (321 votes). Check out past polls.