script para mostrar en un pop-up el listado de links que contiene la página.
1.- El javascript:
<script type="text/javascript">
function showlinks() {
text = "La página contiene los siguientes links:<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='_new' href="+document.links[i]+">"+document.links[i]+"</a>";
linkswin = window.open("","",windowprops);
with (linkswin.document) {
open();
write(text);
close();
}
}
</script>




