🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #151

java script for popups

#151
From: 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
Technical Details
Message-ID: <6Fn0b.44026$bo1.12001@news-server.bigpond.net.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!news.astraweb.com!news-small.astraweb.com!news-out.spamkiller.net!propagator2-maxim!news-in.superfeed.net!abnormal.com!vicpull2.telstra.net!lon-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f55,8b33800e3d0bc381,start
X-Google-Attributes: gid109f55,public
X-Google-Thread: 1073da,8b33800e3d0bc381,start
X-Google-Attributes: gid1073da,public
X-Google-Thread: 1089d0,8b33800e3d0bc381,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: ff01d,8b33800e3d0bc381,start
X-Google-Attributes: gidff01d,public
X-Google-Thread: 10d6db,8b33800e3d0bc381,start
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 109107,8b33800e3d0bc381,start
X-Google-Attributes: gid109107,public
X-Google-Thread: fa3e3,8b33800e3d0bc381,start
X-Google-Attributes: gidfa3e3,public
X-Google-ArrivalTime: 2003-08-19 04:15:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!news.astraweb.com!news-small.astraweb.com!news-out.spamkiller.net!propagator2-maxim!news-in.superfeed.net!abnormal.com!vicpull2.telstra.net!lon-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail
From: "evander" <dude@heaven.com>
Newsgroups: aus.computers.java,borland.public.jbuilder.applet-issues,borland.public.jbuilder.compiler,borland.public.jbuilder.database,borland.public.jbuilder.deployment,borland.public.jbuilder.ide,borland.public.jbuilder.java.api,borland.public.jbuilder.java.
Subject: java script for popups
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
Message-ID: <6Fn0b.44026$bo1.12001@news-server.bigpond.net.au>
Date: Tue, 19 Aug 2003 11:15:14 GMT
NNTP-Posting-Host: 144.137.63.158
X-Complaints-To: abuse@bigpond.net.au
X-Trace: news-server.bigpond.net.au 1061291714 144.137.63.158 (Tue, 19 Aug 2003 21:15:14 EST)
NNTP-Posting-Date: Tue, 19 Aug 2003 21:15:14 EST
Organization: BigPond Internet Services