Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-06-2009, 04:18 PM #1
- Join Date
- Jul 2009
- Thanked 0 Times in 0 Posts
code works after resizing window, or click, but not before
Our version is here:
In Safari and Chrome (sometimes), and maybe also in other browsers, but not FF, all the images do not load inside the <div> but 'fall off the page' on the right. However, when you resize the window or click on one of the images or drag those images, the <div> seems to resize and all the images jump back in order.
Now the init() function is loaded after everything is loaded (using <body onload=..>), but I do have the impression this is a timing issue or a question of some dimension such as window.innerHeight being the wrong value when it is used in the script.
Does anyone have any idea?