-
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?
-
SitePoint Enthusiast
onClick="window.open('edit.php?subcatid=$subcatid','editwindow','width=350,height=200,left=200,top=200');">
-
thanx...
I tried your code and it works!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks