Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

RE: Redirection from a pulldown menu

by vroom (His Eminence)
on Jan 20, 2000 at 22:15 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://2217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-25 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found