here's a cool example I've used in the past from
first.htm
<HTML>
<HEAD>
<TITLE>Links and Anchors: Window 1</TITLE>
</HEAD>
<BODY>
<SCRIPT>
window2=open("second.htm","secondLinkWindow","scrollbars=yes,width=250, height=400"

;
function linkToWindow(num) {
if (window2.document.anchors.length > num)
window2.location.hash=num;
else
alert("Anchor does not exist!"

;
}
</SCRIPT>
<B>Links and Anchors</B>
<FORM>
<P>Click a button to display that anchor in window #2
<P>
<INPUT TYPE="button" VALUE="0" NAME="link0_button" onClick="linkToWindow(this.value)">
<INPUT TYPE="button" VALUE="1" NAME="link0_button" onClick="linkToWindow(this.value)">
<INPUT TYPE="button" VALUE="2" NAME="link0_button" onClick="linkToWindow(this.value)">
<INPUT TYPE="button" VALUE="3" NAME="link0_button" onClick="linkToWindow(this.value)">
<INPUT TYPE="button" VALUE="4" NAME="link0_button" onClick="linkToWindow(this.value)">
</FORM></BODY></HTML>
second.htm
<HTML>
<BODY>
<A NAME="0"><B>Some numbers</B> (Anchor 0)</A>
<UL>
<LI>one
<LI>two
<LI>three
<LI>four
</UL>
<P><A NAME="1">
<B>Some colors</B> (Anchor 1)</A>
<UL>
<LI>red
<LI>orange
<LI>yellow
<LI>green
</UL>
<P><A NAME="2"><B>Some music types</B> (Anchor 2)</A>
<UL>
<LI>R&B
<LI>Jazz
<LI>Soul
<LI>Reggae
<LI>Rock
</UL><P><A NAME="3"><B>Some countries</B> (Anchor 3)</A>
<UL>
<LI>Afghanistan
<LI>Brazil
<LI>Canada
<LI>Finland
<LI>India
</UL>
</BODY>
</HTML>
I help at your own risk, if I brake it sorry! But if I fixed it, let me know.
![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)
admin@onpntwebdesigns.com