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>


Comment on RE: Redirection from a pulldown menu
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://2217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-12-27 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls