Percentage Popup

Just wondered if anyone knew if it was possible for a popup to be a percentage of the screen? Such that it will look the same on all screen resolutions…

Hi,
you can use this properties in javascript:

screen.availWidth;
screen.availHeight;

so it’s just a case of making the width and height of your popup
a percentage of those properties.

SHO

ok thats cool, thanks for your help :slight_smile:

Any time

SHO

SHO you’re awesome man, where’d you learn your stuff?
(Personally, I prefer books)

-Jabber

Thanks for the compliment.:slight_smile:

I think the best way to learn is doing so I just do and if I don’t know how I go to the biggest library -internet- to find answers.

SHO