Javascript link Jumpbox
These multilink jump boxes looks very good instead of a list of links, just click on the dropdown meny and go there. Here is a example.
<SCRIPT LANGUAGE="JavaScript">
<!---
function jump(list) {location.href =
list.options[list.selectedIndex].value}
// --->
</SCRIPT>
<FORM>
<SELECT>
<OPTION VALUE="index.htm">Home
<OPTION VALUE="forum/index.html">Forum
<OPTION VALUE="about.html">About
</SELECT>
<INPUT TYPE="button" VALUE="Go" onClick="jump(this.form.elements[0])">
</FORM>
Now all you have to do is replace the file names and titles (for example you can use links.html as OPTION VALUE with Links as the visible title).
Last edited by SBh; 09-09-07 at 08:34 AM.
|