Help with CSS/Flash/Sound

SpellZ

Regular Member
Joined
Feb 8, 2009
Messages
358
Reaction score
292
So this is the website that I got:

This is the source code for it:
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Eksow Event Design & Management</title>

<link rel="stylesheet" type="text/css" href="style.css" />


<script type="text/javascript">

function showPictures(n)
{
obj = document.getElementById('changingPictures');
document.getElementById('bottom').style.top = "0px";


if(n==1)
{
obj.src="http://eksow.com/images/Eksow_07.jpg";
obj.style.visibility="visible";
}
else if(n==2)
{
obj.src="http://eksow.com/images/Eksow_13_07.jpg";//Change this value to the url of second set of images
obj.style.visibility="visible";
}
else if(n==3)
{
obj.src="http://eksow.com/images/Eksow_12_07.jpg";//Change this value to the url of third set of images
obj.style.visibility="visible";
}
else{}
}

</script>

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>


<div id="container"><img src="http://eksow.com/images/Eksow_01.jpg" width="1024" height="261" alt="">
<div id="left" class="rollImages" onclick="showPictures('1')"></div>
<div id="middle" class="rollImages" onclick="showPictures('2')"></div>
<div id="right" class="rollImages" onclick="showPictures('3');"></div>

<img src="http://eksow.com/images/Eksow_07.jpg" alt="Home Page" id="changingPictures"/>
<div id="bottom"></div></div>
</body>
</html>

This is the CSS of it:
body {
background-color:#000000;
width:100%;
padding:0px;
margin:0px;
margin-bottom:10px;
}


#container {
margin:0px auto;
width:1024px;
padding:0px;
text-align:center;
}


img {
border-width:0px;
padding:0px;
margin:0px;
}



#left {
background-image:url(http://eksow.com/images/Eksow_03.jpg);
margin-left:74px;
}

#left:hover {
background-image:url(http://eksow.com/images/Rollover_1_03.jpg);
}

#middle {
background-image:url(http://eksow.com/images/Eksow_04.jpg);
width:296px;
}

#middle:hover {
background-image:url(http://eksow.com/images/Rollover_2_04.jpg);
}

#right {
background-image:url(http://eksow.com/images/Eksow_05.jpg);
position:relative;
}

#right:hover {
background-image:url(http://eksow.com/images/Rollover_3_05.jpg);
}

.rollImages {
width:292px;
height:229px;
float:left;
cursor:pointer;
}

#changingPictures {
visibility:hidden;
}

#bottom {
height:8px;
background-color:red;
text-align:center;
background-image:url(http://eksow.com/images/Eksow_08.jpg);
position:relative;
left:50px;
top:-260px;
}

#bottom:hover {
background-image:url(http://eksow.com/images/Rollover_4_08.jpg);
height:8px;
}

What I'm trying to do is insert
Which is Flash (160x15 px) into the actual website RIGHT UNDERNEATH the 'bottom'.

I've tried, and tried, and tried again...
But nothing works :S

Does anyone know if there is some trick that I have to do or I'm overlooking something?

Im not really in the mood of screwing it up, you know? :confused:
 
Back
Top