TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ToBe
NA
164
94.4k
image in div
Sep 28 2013 5:22 PM
H every body
I have this code i found in the internet and it worked fine
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test Timer</title>
<!-- Show magical div -->
<script type="text/javascript">
function showIt() {
document.getElementById("hid").style.display = "block";
}
// 1000 = 1 sec | 60000 is 1 minute
</script>
<!-- END Show magical div -->
</head>
<body onLoad='setTimeout("showIt()", 60000);'>
<!-- Magic DIV -->
<div id="hid" style="display:none;">
This is hidden to start. But shows after the set time amount is up.
</div>
<!-- END Magic DIV -->
</body>
</html>
. But I need to make it read one image(game banner) linked to another page and works like the following :
my home page with all of the texts and images will work normally for 1 minute and after one minut this div with the banner will show and it's linked to games page . if the user click it it's fine if not it should disappers and show the games page . the two pages are
home.html, MyGames.html.
can you help me on that
thanks in advance
Reply
Answers (
1
)
Asp.Net Web Development
how to display a text when mouse hover?