
© 1997,1998,1999 BigNoseBird.Com, Inc.
How can I do one of those little drop down menus?
example
Here is a simple HTML navigation button that uses a FORM
and the onClick routine.
If you happen to make a selection and wander
off, just hit your browser's Back button to return here!
|
source code
To install: Simply cut and paste this code into your form
where you want the menu box to appear, and set up the options
to suit your needs.
The value for the options is the page you want to
go to, and the entry such as index.shtml is the
description of the page. You can also make the button
say whatever you want.
|
<form name="navform" method="POST">
<select name="inchoice" size=1>
<option value="/navig.shtml"> Navigation Tricks</option>
<option value="/index.shtml"> Home Page</option>
<option value="/cgi.shtml"> CGI-BIN</option>
<option value="/guestbook"> Guestbook</option>
</select>
<input type=button
onClick= "location = ''
+ document.navform.inchoice.options[
document.navform.inchoice.selectedIndex ].value;"
value="Take Me There!">
</form>
|
Find or Give Help on the BBS
If it looks great, it's by Christine
Some Fine Print
© 1997,1998,1999 BigNoseBird.Com, Inc. All rights reserved.
All other trademarks are the sole property of their respective owners.
The products that we recommend are only ones that we use. We have no
relationship with any of the authors or their companies. We cannot
assume responsibility for their ultimate performance or lack of same.
We also cannot assume responsibility for either any programs provided
here, or for any advice that is given since we have no control over
what happens after our code or words leave this site. Always
use prudent judgment in implementing any program- and always make a
backup first!
|
|
|