<!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>Untitled Document</title>
<style type="text/css">
#container {
height: 750px;
width: 1000px;
margin-top: 200px;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
}
#top {
height: 175px;
width: 1000px;
z-index: 1;
}
#sales {
height: 40px;
width: 500px;
z-index: 2;
margin-left: 310px;
left: 65px;
top: 367px;
}
#bp {
height: 400px;
width: 1000px;
}
#business {
float: left;
height: 350px;
width: 300px;
margin-top: 40px;
margin-left: 100px;
}
#pleasure {
float: right;
height: 350px;
width: 300px;
margin-top: 40px;
margin-right: 100px;
}
#bp_text {
height: 50px;
width: 300px;
margin-top: 300px;
}
#contact {
height: 50px;
width: 400px;
margin-top: 20px;
margin-right: auto;
margin-left: auto;
}
#divline {
height: 10px;
width: 1000px;
margin-top: 30px;
}
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function () {
$("#top").fadeIn(400);
});
</script>
</head>
<body>
<div id="container">
<div id="top"><img src="images/DHE-Logo-(splash).png" width="1000" height="167" alt="splash" /></div>
<div id="sales"><img src="images/salesserviceselection.png" width="490" height="40" alt="sss" /></div>
<div id="bp">
<div id="business">Content for id "business" Goes Here
<div id="bp_text"><img src="images/b-text.png" width="300" height="60" /></div>
</div>
<div id="pleasure">Content for id "pleasure" Goes Here
<div id="bp_text"><img src="images/p-text.png" width="300" height="60" alt="p-text" /></div></div>
</div>
<div id="divline"><img src="images/linediv.png" width="1000" height="10" alt="line" /></div>
<div id="contact"><img src="images/contact.png" width="400" height="50" alt="contact" /></div>
</div>
</body>
</html>
Every time i preview the page in a browser the "top" div tag just sits there, instead of fading in. Basically what i want the divs on the page to do is to be animated as soon as the page opens. is it a possibility that the fade in occurs before the page appears on my browser? do i have to add some more code for delay? any suggestions?
thank you all so much in advance for putting up with my dumb questions. haha
umm, the code in question is on line 67.

New Topic/Question
Reply


MultiQuote




|