java script for popups

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • evander

    java script for popups

    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="di rectories=no,lo cation=no,menub ar=no,resizable =no,scrollbars= n
    o,status=no,too lbar=yes,width= 750,height=500, left=25,screenX =25,top=25,scre e
    nY=25";
    preview=window. open(URL,"popWi n",windowprops) ;
    if (closetime) setTimeout("pre view.close();", closetime*1000) ;
    }

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

    <body>
    <a href="javascrip t: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






Working...