|
Re: Expandable Background
window.screen.availWidth
This property gets the users current screen width. Use this in an if statement. Say the width is 2048 you can set the pages font to be larger than the one already made for 800x600
HINT: You can use the operators below to make the font size increase automatically (if they have an odd screen resolution like 4096x???).
if(screen.availWidth > 800)
{code here;}
>
<
>=
<=
__________________
If I have not responded to a post in 24 hours or more, PM me with a link to the thread and I'll get back to you. I do not help via PM/IM/Email.
|