java script for popups

Discussion in 'Javascript' started by bubipoo, Aug 19, 2003.

  1. bubipoo

    bubipoo Guest

    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
    bubipoo, Aug 19, 2003
    #1
    1. Advertising

  2. >>>>> "bubipoo" == bubipoo <> writes:

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

    I hope this is a web site I never will visit...

    --
    Regards,

    Berend. (-:
    Berend de Boer, Aug 19, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rafael Veronezi
    Replies:
    0
    Views:
    397
    Rafael Veronezi
    Jul 2, 2003
  2. evander

    java script for popups

    evander, Aug 19, 2003, in forum: Java
    Replies:
    1
    Views:
    356
    Joona I Palaste
    Aug 19, 2003
  3. WiLLerZ

    Java Popups

    WiLLerZ, Dec 19, 2006, in forum: Java
    Replies:
    1
    Views:
    507
    Andrew Thompson
    Dec 19, 2006
  4. Moe Sisko
    Replies:
    1
    Views:
    836
    George
    Aug 4, 2008
  5. Phani C.
    Replies:
    4
    Views:
    139
    Phani C.
    Oct 19, 2010
Loading...

Share This Page