Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Loading a window with parameters

    Hi All...
    Does anyone know how to load a window with certain height, and length, on a specific location within the main browser?

    Thanx

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    cpt...
    you mean something just a like® this???
    Code:
    <SCRIPT LANGUAGE="JavaScript">
    //<--!
    function launch()
    {
    window.open
    ("whatever.html","new_window","width=510,height=500,left=0,top=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0");}
    //-->
    </SCRIPT>
    n' then you just a 'pop'® it by going...

    Code:
    <a href="javascript:launch();">Click here</a>
    aka just a djust® the width/height/left/top numbers to just a suit® yourself...


    ps...no space between the java n' script in the <a href part...
    Last edited by justame; 10-24-2003 at 03:38 AM.


  •  

    Posting Permissions

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