Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Multiple window selection!!!HELP!!!

Options
  • 28-11-2006 11:51am
    #1
    Registered Users Posts: 224 ✭✭


    Hi,

    I currently have a page with a link on it. When you click the link a window
    pops up. Which is cool. But is there a way that I can pop up 2 windows and
    locate 1 on the left hand side of my screen and the other on the right.

    Here is the code Im running

    <script LANGUAGE="JavaScript">
    <!-- Begin
    function NewWindow(mypage, myname, w, h, scroll) {
    var winl = (screen.width - w) / 2;
    var wint = (screen.height - h) / 2;
    winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='
    +scroll+',resizable'
    win = window.open(mypage, myname, winprops)
    if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
    }
    // End -->
    </script>

    <div align="center"><a href="newpage.asp" target="_blank" onclick="NewWindow
    (this.href,'name','386','552','NO');return false;"><img src="newpage.jpg" bo
    rder="0"> </a></div>

    Any ideas


Advertisement