🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
1 messages
1 total messages Started by evander Tue, 19 Aug 2003 11:15
java script for popups
#151
Author: evander
Date: Tue, 19 Aug 2003 11:15
43 lines
2967 bytes
hi guys,
            i want to have all links on a web page popup with minimal
borders. i can get a single link to do this with the following code:

<html>
<head><title></title>
<script type="text/javascript">
<!--
closetime=0;

function Start(URL){
windowprops="directories=no,location=no,menubar=no,resizable=no,scrollbars=n
o,status=no,toolbar=yes,width=750,height=500,left=25,screenX=25,top=25,scree
nY=25";
preview=window.open(URL,"popWin",windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function popupWin(){
url="XXXXXXXX"
delay=0;
timer = setTimeout("Start(url)", delay*1000);
window.status="";
}
//-->
</script>
</head>

<body>
<a href="javascript:popupWin();">
Click Here
</a>
</body>
</html>


 but not multiple links or picture hotspots.
is there a java script (or what ever...) i can add to the html so that all
windows popup like this? i just want the links that open in a new windows to
open with minimal features maybe only a scroll bar and the top bar.

regards
darren
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads