SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist jazztie's Avatar
    Join Date
    Mar 2001
    Location
    the Netherlands
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wish to set a pop-up window on a set position on the screen...

    I've tried:
    onClick="window.open('edit.php?subcatid=$subcatid','editwindow','width=350,height=200,screenX=300,screenY=300');">

    But that doesn't seem to work at all... it still opens on the left top corner of my screen.

    Could someone help me with this script?

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2001
    Location
    D¨n ╔ideann, Alba
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    onClick="window.open('edit.php?subcatid=$subcatid','editwindow','width=350,height=200,left=200,top=200');">


  3. #3
    SitePoint Evangelist jazztie's Avatar
    Join Date
    Mar 2001
    Location
    the Netherlands
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanx...
    I tried your code and it works!


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
  •