I would like to have a page created that is full of thumbnails.
- must detect the browser's display width and height
- must calculate the number of thumbnails that can be displayed in rows and columns
The width and height of the thumbnails will be 90x120.
The script should resize the thumbnail images dynamically, using the img width and height attributes, to make better use of the screen width.
For example, the width and height of every thumbnail could be set to ''img src="thumb" width="93" height="128" ''. Only a small resizing should be allowed.
Script must be cross-browser compatible and work with IE7, IE6, Firefox and Opera.