RSS feed [root] /web /weblog




login:

password:

title search:




 


Thu Nov 22 02:14:41 GMT 2007

IE issues



My friends just complainting about they cannot view my photo, and the problem is only occur at IE but not safari, firefox and opera, guess what is the problem?

After a tedious checking, the issue is I use style="visibility:hidden; display:none;" to hidden the big images when displaying the thumbnail page and use javascript to show the big image one by one:


[html]
[javascript] (code to replace "main_planel" by big_images one by one) [/javascript]

[div id=main_planel/]

[img src = "thumbnail1.jpg"/]
[img src = "big_image1.jpg" style="visibility:hidden; display:none;"/]

[img src = "thumbnail2.jpg"/]
[img src = "big_image2.jpg" style="visibility:hidden; display:none;"/]

[html]


(Hope you get the idea)

For all other browsers ( namely FireFox, opera and safari, those image are not load until the script run. However, for IE, it just load all the big images once the page start to load :-/

Other issues in IE.... http://immike.net[..]/08/06/single-line-of-html-crashes-ie-6/


(google search) (amazon search)
second
download zip of files only