Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Multiple window selection!!!HELP!!!

  • 28-11-2006 11:51AM
    #1
    Registered Users, Registered Users 2 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