Java Script Example
This picture is an example only. Cut and Paste the code below
it.
![]() |
warning: if
you see an icon below instead of code, then don't copy that picture.
you should see java code. i viewed this page once and it was
code. i viewed it a second time and the code was gone and an icon
was there (created by the code). i viewed it a third time and the
code was back. If you see the icon, then redisplay this page later,
until you see code. Don't copy the icon.
--> sorry about that.
I mean, really sorry.
This is the code that will produce the example you see above:
<!-- JavaScript Code Example Start -->
<table border=0><caption><font size=+1>
<a href="http://www.oocities.org/gayfamily">Member
of the Gay Families Webring</a>
</font></caption>
<tr><td><a href="http://www.oocities.org/gayfamily"
target="_top" target="_top">
<img src="//www.oocities.org/gayfamily/ringsamp.jpg"
alt="Generate more traffic!" width=90 height=75></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=gayfamily;id=SITE_ID_HERE;next";
if (form.way.selectedIndex == 1)
parent.location="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=SITE_ID_HERE;skip";
if (form.way.selectedIndex == 2)
parent.location="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=SITE_ID_HERE;next5";
if (form.way.selectedIndex == 3)
parent.location="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=SITE_ID_HERE;prev";
if (form.way.selectedIndex == 4)
parent.location="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=SITE_ID_HERE;sprev";
if (form.way.selectedIndex == 5)
parent.location="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=SITE_ID_HERE;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=gayfamily;id=_SITE_ID_HERE_;next"
TARGET="_top">Next site</a>
<li><a href="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=_SITE_ID_HERE_;skip"
TARGET="_top">Skip next site</a>
<li><a href="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=_SITE_ID_HERE_;next5"
TARGET="_top">Next 5 sites</a>
<li><a href="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=_SITE_ID_HERE_;prev"
TARGET="_top">Previous site</a>
<li><a href="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=_SITE_ID_HERE_;sprev"
TARGET="_top">Back 2 sites</a>
<li><a href="http://www.webring.org/cgi-bin/webring?ring=gayfamily;id=_SITE_ID_HERE_;random"
TARGET="_top">Random site</a>
</ul></font></td>
</noscript>
</tr>
</table>
<!-- JavaScript Code Example Stop -->
This page hosted
by
Get your own Free Home Page