»
Tiếng AnhTiếng PhápTiếng Việt

In - Liệt kê các liên kết - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » » Liệt kê các liên kết
URL: https://www.javascriptbank.com/links-window-script.html

Liệt kê các liên kết © JavaScriptBank.comHiệu ứng có thể liệt kê các liên kết có trên trang web.

Phiên bản đầy đủ: jsB@nk » » Liệt kê các liên kết
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-->