java script for popups

E

evander

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
 
J

Joona I Palaste

evander said:
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:

This has nothing to do with Java. Please ask Javascript questions in a
Javascript newsgroup. Thanks.
Sheesh. Why couldn't Netscape have stuck with "Livescript"? Or failing
that, "Squirglepleex". Damn Netscape to Hell.

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"Last year he disrespected me - and then he showed lack of respect."
- Anthony Mason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top