Results 1 to 2 of 2

Thread: get window to pop up in centre??

  1. #1
    Join Date
    Feb 2010
    Location
    Falkirk, Scotland
    Posts
    142
    Thanks
    21
    Thanked 4 Times in 4 Posts

    Default get window to pop up in centre??

    i an using a popup window script, but it always pops up on the top left! how would i get it to pop up in centre?
    Here is the code in the head section of page:
    Code:
    <SCRIPT language="JavaScript">
    <!--hide
    
    function newwindow()
    {
    window.open('sendmessage.php','jav','width=550,height=400,resizable=no');
    }
    //-->
    </SCRIPT>
    And in the body section:
    Code:
    <br>"[<a href=\"javascript:newwindow()\" >Send Message</a>]&nbsp";

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    459
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    _____________________

    David Demetrius // davejob
    _____________________

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •