No replies
etsutton
etsutton's picture
Offline
newbie
Last seen: 12 years 32 weeks ago
Timezone: GMT-4
Joined: 2010-06-20
Posts: 1
Points: 2

I am having a problem when I try to insert a SWF into my div id "contentright". It works fine with a jpg, but when I put a swf everything else on the page disappears (including SWF) except for the background.

Here's the site as it is now (with a jpg):
Link removed

And here's my code as of now:

<!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></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image:url('images/mimi_bg.jpg');
	background-repeat:no-repeat;
	background-attachment:scroll;
	background-position:left top;
	}
 
#navi {
	margin-left: 284px;
	margin-top: 82px;
	width:545px;
	height:40px;		
	}
 
#navi a:hover {border:none;}
 
#navi a {
	background:url('images/menu_sprite.jpg');
	height:29px;
	display:block;
	float:right;
	text-indent:-9999px;
	}
 
#navi a.home {
	background-position:0 0;
	width:80px;
	}
 
#navi a:hover.home {
	background-position:0 -29px;
	}
 
#navi a.projects {
	background-position:-80px 0;
	width:126px;
	}
 
#navi a:hover.projects {
	background-position:-80px -29px;
	}
 
#navi a.resume {
	background-position:-206px 0;
	width:111px;
	}
 
#navi a:hover.resume {
	background-position:-206px -29px;	
	}
 
#navi a.gallery {
	background-position:-317px 0;
	width:117px;
	}
 
#navi a:hover.gallery {
	background-position:-317px -29px;
	}
 
#navi a.contact {
	background-position:-434px 0;
	width:101px;
	}
 
#navi a:hover.contact	{
	background-position:-434px -29px;
	}
 
#navi a.active {
	background-position:0 -29px;
	width:80px;
	}
 
#headerleft {
	margin-left:204px;
	margin-top:32px;
	width:340px;
	height:64px;
	text-align: right;
	}
#contentright {
	margin-left: 548px;
	margin-top: -88px;
	width:277px;
	height:406px;
	}
 
#contentleft {
	margin-left: 204px;
	margin-top: -313px;
	width:340px;
	height:314px;
	}
 
.bold {
	font-weight: bold;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
 
<body>
<div id="navi"><a class="contact" href="contact.html">Contact</a>
  <a class="gallery" href="gallery.html">Gallery</a>
  <a class="resume" href="resume.html">Resume</a>
  <a class="projects" href="projects.html">Projects</a>
<a class="active" href="home.html">Home</a></div>
<div id="headerleft"><img src="images/bio_hdr.jpg" width="235" height="64"></div>
<div id="contentright">
  <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="277" height="406">
    <param name="movie" value="home_slides.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="home_slides.swf" width="277" height="406">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="9.0.45.0" />
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
          </object>
    <!--<![endif]-->
  </object>
</div>
<div id="contentleft"><div style="overflow:auto; height:314px; width:310px; padding-right:12px; font-family:Arial, Helvetica, sans-serif; color:#666; text-align:justify">
  <p>text here</p>
</div></div>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>

I would be very appreciative of ANY input that may help solve this problem.
THANK YOU!