Closed fgosfacdjtq closed 13 years ago
Using screen.width
is assuming the user has their browser maximized. My browser is almost never the same size as my screen size. So I would suggest using $(window).width()
which obtains the width of the browser window.
Added a "How to..." label to this and closing it since it isn't an issue :)
I'd like to contribute an example of how I set the number of visible panels on each side to 1.6 given an image size of 640 and a variable screen resolution:
works in FF3.5, Chrome 9, IE8