<html> <head> </head> <body> <code><html> <body> <script> function anchorLink(num){ var target=open("http://www.mesexemples.com","secondLinkWindow", "scrollbars=yes,width=250,height=300") tagert.location.hash=num } </script> <center>List des Liens et leurs Ancrage </center> <form> <input type="button" value="1" onClick="anchorLink(this.value)"> <input type="button" value="2" onClick="anchorLink(this.value)"> <input type="button" value="3" onClick="anchorLink(this.value)"> </form> </body> </html><br /><br /><font color="#ffffff"> </font><br /><font color="#ffffff"> </font><br /><font color="#ffffff"> </font><br /><font color="#ffffff"> </font><br /><font color="#ffffff"> </font></code> </body> </html> |
Cet article Javascript: créer un tableau de point d’ancrage est apparu en premier sur .