Anchors array : Anchor : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Anchor »

 

Anchors array




<html>
<body>

<script type="text/javascript">
function linkToAnchor(num){
    var win2=open("http://www.navioo.com","secondLinkWindow",
                    "scrollbars=yes,width=250,height=200")
    win2.location.hash=num
}
</script>

<h3>Links and Anchors</h3>
<form>
<input type="button" value="0" onClick="linkToAnchor(this.value)">
<input type="button" value="1" onClick="linkToAnchor(this.value)">
<input type="button" value="2" onClick="linkToAnchor(this.value)">
<input type="button" value="3" onClick="linkToAnchor(this.value)">
</form>

</body>
</html>


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Anchor