Home
Music Linkz
Just Joking VII
dh
Cool Stuff
Linkz
Scroll art
More Linkz
Countdown to the Millenium
Funny Stuff
Jokes
Darwin Awards
Jokes II
Just Joking
Just Joking I
Just Joking II
Just Joking III
Just Joking IV
Just Joking V
Just Joking VI
Mysterious Stuff
Mystery Page
Other
Downloadables
Weird Game
Even More Linkz
People Stuff
Cool People
Stuff about me
The Offspring
Smash
Americana
|
Entry Selector
Entry Selector
The above example was created with just 7 lines of JavaScript!
beginEntry();
newEntry("This is Item 1");
newEntry("This is Item 2");
newEntry("This is Item 3");
newEntry("This is Item 4");
newEntry("This is Item 5");
endEntry();
Internal Functions
There are a number of functions available..
- unload()/unload()
- are functions you can call in
<BODY onUnload="unload()" onLoad="load()">
- selectChange(index)
- is the function called when a selection is made.
- selectOut(index)/selectOver(index)
- are called when the mouse move over of off the entry
How To Use
- Include entryselector.js in the HEAD section of your document.
- Call the functions as shown in the above example.
- You will need the files sel.gif, unsel.gif, oversel.gif to be in the current directory.
Example:
<FORM name="imgform">
<TABLE border=3>
<TR><TD><IMG NAME=sel1 WIDTH=14 HEIGHT=14 SRC=unsel.gif></TD>
<TD><A onMouseOut="return selectOut(1);" onMouseOver="return selectOver(1);" href="javascript:selectChange(1)">This is Item 1</A></TD></TR>
<TR><TD><IMG NAME=sel2 WIDTH=14 HEIGHT=14 SRC=unsel.gif></TD>
<TD><A onMouseOut="return selectOut(2);" onMouseOver="return selectOver(2);" href="javascript:selectChange(2)">This is Item 2</A></TD></TR>
<TR><TD><IMG NAME=sel3 WIDTH=14 HEIGHT=14 SRC=unsel.gif></TD>
<TD><A onMouseOut="return selectOut(3);" onMouseOver="return selectOver(3);" href="javascript:selectChange(3)">This is Item 3</A></TD></TR>
</TABLE></FORM>
|
This page created by Cameron Gregory 1996-98 All Rights Reserved
This version has been created, debugged and tested using NetObjects ScriptBuilder
|
|