|
|
Q72 How can I prevent the links from working until all the images have loaded?
irt.org | Knowledge Base | JavaScript | Image | Q72 [ previous next ] Q72 How can I prevent the links from working until all the images have loaded?At the top of the document:
Each and every one of the links will need to be rewritten to invoke a JavaScript function, e.g. if the existing link looks like this:
Then it will have to rewritten as:
This may still, however, interrupt the page if it is still loading. In which case you might want to try the following version instead:
Then all the links will have to rewritten as:
Feedback on 'Q72 How can I prevent the links from working until all the images have loaded?' |
-- div -->
|