Hi Gang ~ Yep I know, most of you can produce this code in your sleep but I thought I'd like to throw in a simple html or js code once in awhile for those that could use them.
Any Code I submit can be altered to do or look anyway you wish. If you need help with this or that, shoot me a PM. One last thing, I guess you can say, I'm old school so much of what I toss in is Old School HTML instead of letting Flash Templates do the work for you (although I use that stuff too)
Today's
EZ Code is a simple
Drop Down Menu
*********************************************************
<!-- TWO STEPS TO INSTALL PULLDOWN MENU:
1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
</HEAD>
<!-- STEP TWO: Paste this code into the BODY of your HTML document -->
<BODY>
<center>
<form name="form">
<select name="site" size=1>
<option value="">Select Category
<option value="example.html">MyPage
<option value="example2.html">My 2nd Page
<option value="http://www.footballforum.com">My Friend's Page
<option value="/folder/example3.html">Page in different folder
<option value="http://www.techsupportforum.com">Our Site
<option value="one_more_page.html">etc,etc,etc,etc,
</select>
<input type=button value="Go!" onClick="javascript
:formHandler()">
</form>
</center>
*****************************************************
Comments & Questions post here!
*
*
__________________
The Source Code and a good Terminology Reference Book can be the greatest Programming Instructor you'll ever find ...
Did you know Windows Notepad, Microsoft Word or any Text Rendering & Editing Program is all you need to build Web Pages?