Site hosted by Angelfire.com: Build your free website today!
JavaScript Code

NOTE: JavaScript is VERY unforgiving as far as mistakes go. With the exception of changing all the *** to your site ID, the code must appear EXACTLY as you see it here; no breaks or spaces in the wrong places. Otherwise, you'll get error messages like crazy! The most common error when copying and pasting is an extra space/break between "Go!!!" and onclick. There should be only 1 space between them, and they should be on ONE line.

<!-- JavaScript Code Example Start --> <table border=0><caption><font size=1> <a href="http://members.xoom.com/MiserysFence/tbrring.html">Member of the Thoroughbred Racing Ring</a> </font></caption> <tr><td><a href="http://members.xoom.com/MiserysFence/tbrring.html" target="_top" target="_top"> <img src="snowie.gif" alt="Generate more traffic!"></a><br>art by <a href="http://horseracing.miningco.com/">Cindy Pierson</a></td> <script language="JavaScript"> <!-- Hide this from older browsers function gotoPage (form) { if (form.way.selectedIndex == 0) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;next"; if (form.way.selectedIndex == 1) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;skip"; if (form.way.selectedIndex == 2) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;next5"; if (form.way.selectedIndex == 3) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;prev"; if (form.way.selectedIndex == 4) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;sprev"; if (form.way.selectedIndex == 5) parent.location="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;random"; } document.write('<td valign="middle"><form name="JSWR">'); document.write('<input type="button" value="Go !!!" onClick="gotoPage(this.form)"><br>'); document.write('<select name="way">'); document.write('<option checked>Next site'); document.write('<option>Skip next site'); document.write('<option>Next 5 sites'); document.write('<option>Previous site'); document.write('<option>Back 2 sites'); document.write('<option>Random site'); document.write('</select>'); document.write('</form></td>'); // End hide --> </script> <noscript> <td valign="middle"><font size="2"><ul> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;next" TARGET="_top">Next site</a> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;skip" TARGET="_top">Skip next site</a> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;next5" TARGET="_top">Next 5 sites</a> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;prev" TARGET="_top">Previous site</a> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;sprev" TARGET="_top">Back 2 sites</a> <li><a href="http://www.webring.org/cgi-bin/webring?ring=tbrring;id=***;random" TARGET="_top">Random site</a> </ul></font></td> </noscript> </tr> </table> <!-- JavaScript Code Example Stop -->

See a JavaScript sample


Go back to the signup page.