-
Automatically Load image on page load
Hello
I want to automatically display an image after page load but am unsure how to do it.
Here is what i want:
- After the page loads display image over text in center of page
- When user clicks anywhere in the page, image closes and page is displayed
Thanks!
-
Well the thing you required can be done using java script. As far as display an image over the page can be easily done . The event you will use is onLoad(). You can do this
1. Place a div on a page assign and id="LoadImage1" and using javascript and DOM pick the div id and assign the image location to it by img tag.
This was the general idea how the thing will done . Further you can please explore from the google, Alot of examples are there for handling this!
Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules