[Beschreibung]
Dieses Script erzeugt eine klickbare Liste aller Links einer Webseite...
[Kompatibilität]
[Code]
<script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source!! http://www.nightfire.ch/java/ Created by: Jim Stiles :: http://www.jdstiles.com Modified by: Daniel Burnett :: http://www.planet-k.tk */ function showLinks() { text = "The following links are available on this page:<hr>"; windowprops = "menubars=no,location=no,toolbars=no," +"scrollbars=yes,width=350,height=350,top=100,left=100"; self.name="main"; for (i=0; i<document.links.length; i++) text += "<p><a target='main' href="+document.links[i]+" onClick='setTimeout("+'"'+"window.close()"+'"'+",100)'>"+document.links[i].innerHTML+"</a> ("+document.links[i]+")"; linkswin = window.open("","",windowprops); with (linkswin.document) { open(); write(text); close(); } } // End --> </script>
<div align="center"> <form> <input type="button" value="View a clickable list of all the links on this page" onClick="javascript:showLinks()"> </form> </div>
Jim Stiles
Kopieren Sie bitte den Code