check browser window
check browser window
hi there.. I'm wondering if there's a way to achieve an effect using jquery, although I'm *very* new to javascript. Fully competent in XHTML and CSS though.
I'd like to check onLoad and onWindowResize whether the width of the screen is 1.5 x the height, and based on that use a specified folder for all images used in the content?
The effect I'm looking for is like this:
http://800group.net
if you resize the window, you can see when it goes around 1.5 times the width of the height, it switches from all portrait images to all landscape.
Many thanks in advance!
Toby