| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Mar 2004
Posts: 3
![]() | load certain images first How can I make sure that certain images are loaded before the rest? I'd like to know this in general. Then I have also an example is here http://www.plessner.co.uk/homepage.html An external document is loaded into a layer as a popup that can be closed. I'd like to have the two images in the popup load first so that it's complete. At the moment they seem to load last. Is this possible? The layer with the document shows up in IE straight away. That's the way it should be. In Mozilla however the layer only shows up after the rest od the page has loaded. Bad. Can I change this with some script? ????: NamePros.com http://www.namepros.com/programming/23832-load-certain-images-first.html Thanks a lot for your help! By the way, the original code comes from http://www.dynamicdrive.com/dynamici...htmlwindow.htm Markus |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Dec 2003 Location: NYC
Posts: 9,132
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You need to use a preloading image script like this one and you will be ready to go: http://javascriptkit.com/script/scri...oadimage.shtml |
| |
| | THREAD STARTER #3 (permalink) |
| New Member Join Date: Mar 2004
Posts: 3
![]() | will this work for me, because the images are on a differen page from the main page. Or do I put the code just on the main page and that's it? I tried it and there is no difference at all in the order the images load
Last edited by spirelli; 03-17-2004 at 10:19 PM.
|
| |