Computer Hope

Internet & Networking => Web design => Topic started by: Ameeki on May 07, 2005, 06:35:16 AM

Title: How to Put a "if" . help for javascript.
Post by: Ameeki on May 07, 2005, 06:35:16 AM
how can i add a "if" statement so that if the user is on a resolution of 800x600 , then a specific background for the 800x600 will show , and if a 1024x768 user is using the site, how can i put a specific background for it?

Please help. thanksque
Title: Re: How to Put a "if" . help for javascr
Post by: Sidewinder on May 07, 2005, 11:09:12 AM
Check out this page for details:

http://www.zimmertech.com/tutorials/javascript/21/page-resolution-detector-tutorial.php?

Good luck.  8)