can i open two website at a time?

Discussion in 'JavaScript' started by help_me, Jan 20, 2006.

  1. #1
    my question is difficuilt, if you understand reply me, i want optimize a domain that when visitor log infor one domain and oher open it self like pop up window. can i do it? if yes how?
     
    help_me, Jan 20, 2006 IP
  2. help_me

    help_me Peon

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No any answer , no body have idea?
     
    help_me, Jan 20, 2006 IP
  3. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #3
    Cristian Mezei, Jan 20, 2006 IP
  4. kurtsfar

    kurtsfar Guest

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    First of all I would skip the annoying popups...

    Anyway, I'm not sure if I understand you, but maybe this helps:
    <html>
    <head>
    <script type="text/javascript">
    function openWindows() 
    {
    window.open("http://www.webpelican.com/")
    /*Format this second window as u like, or maybe use window.createPopup on the first window instead...*/
    window.openwindow.open("http://www.webpelican.com/internet-programming-3/dom-methods/","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400")
    
    }
    </script>
    </head>
    
    <body>
    <form>
    <input type=button value="Open Windows" onclick="openWindows()">
    </form>
    </body>
    </html>
    Code (markup):
     
    kurtsfar, Jan 24, 2006 IP