Forum Moderators: not2easy

Message Too Old, No Replies

Differnt background images

         

cripplertd

12:01 am on Oct 2, 2007 (gmt 0)

10+ Year Member



How do I set differnt background images depending on resolution of person viewing the screen.

Setek

1:10 am on Oct 2, 2007 (gmt 0)

10+ Year Member



You will have to use javascript for this, to determine the width of the browser window.

Search on Google for “resolution dependent layout” (first result should be The Man in Blue’s article,) he has a good script to get entire layouts to change, so if you pick that apart you should have no problems achieving what you want.

If you have any problems, it’s best you speak to the bright ones over at the JavaScript forum [webmasterworld.com].