TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

how do you..

Page: 1 Reply
Aug 24th 2003#118873 Report
Member since: Feb 4th 2003
Posts: 74
...centre a pop up window from the open browser behaviour?

didnt know exactly where to post this so slapped it in misc:


any help would be great.
Reply with Quote Reply
Aug 24th 2003#118888 Report
Member since: May 1st 2002
Posts: 3034
you could use php to get the users browser size, then just have it divide the width by 2, and the height by2, and then have each of those numbers a variable to be used in the java script pop up behaviour so it knows where to place the image .. I don't really know the php to do that but I'm sure its probably around some where :D good luck amigo!
Reply with Quote Reply
Aug 24th 2003#118906 Report
Member since: Apr 20th 2002
Posts: 3000
Divide the screen res by 2, then subtract half the dimensions from their respective quotients.
Reply with Quote Reply
Aug 24th 2003#118916 Report
Member since: Feb 4th 2003
Posts: 74
cheerz
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum