»
EnglishFrenchVietnamese

Print - Links Window script - JavaScriptBank.com

Full version: jsB@nk » Utility » Links Window script
URL: https://www.javascriptbank.com/links-window-script.html

Links Window script © JavaScriptBank.comProvide your visitors with a popup window, showing all of the links on the page. Makes JavaScript navigation much easier.

Full version: jsB@nk » Utility » Links Window script
URL: https://www.javascriptbank.com/links-window-script.html



JavaScript
<script type="text/javascript"><!-- Begin/*Created by: Jim Stiles :: http://www.jdstiles.comModified 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><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form><input type="button" value="View a clickable list of all the links on this page" onClick="javascript:showLinks()"></form><p><a href="http://www.javascriptbank.com">www.javascriptbank.com</a></p><p><a href="http://www.javascriptbank.com">www.javascriptbank.com</a></p><p><a href="http://www.javascriptbank.com">www.javascriptbank.com</a></p><p><a href="http://www.javascriptbank.com">www.javascriptbank.com</a></p><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->