1) Script Title: Cmotion Image Gallery
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ongallery.htm#
3) Describe problem: I am trying to use the script in my website but it will not work under IE, the image will not scroll or open in Iframe. But it work perfectly on FireFox. Can someone have a look at my script and see what is wrong with it? Thank you.
<!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>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#motioncontainer {
width:expression(Math.min(this.offsetWidth, maxwidth)+'px');
}
</style>
<script language="javascript" type="text/javascript" src="motiongallery.js">
function loadTwo(iframe1URL)
{
parent.FRAME1.location.href=iframe1URL
}
</script>
<!-- Do not edit IE conditional style below -->
<!--[if gte IE 5.5]-->
<!--[endif]-->
<!-- End Conditional Style -->
<!--
/***********************************************
* CMotion Image Gallery- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
* Modified by Jscheuer1 for autowidth and optional starting positions
***********************************************/
-->
</head>
<body id="page_3" >
<div class="main_0">
<div class="main">
<!--header -->
<div id="header">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24" width="766" height="355">
<param name="movie" value="flash/slim.swf?button=4" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
<object data="flash/slim.swf?button=4" width="766" height="355" type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</div>
<!--header end-->
<!--content -->
<div id="wrapper">
<div class="layer_1">
<div class="layer_0">
<div class="column">
<div class="h">
<div class="bg_h">
<img src="images/4_h_1.gif" alt="" /><br />
</div>
</div>
<div class="indent">
<iframe name="FRAME1" src="images/Gallery/IMGP0225.jpg" width="600" height="400" frameborder="1" scrolling="no"></iframe>
<p> </p>
<p> </p>
<p> </p>
<div id="motioncontainer" style="position:relative;overflow:hidden;">
<div id="motiongallery" style="position:absolute; left:0; top:0; white-space: nowrap; width: 1720px; height: 114px;">
<nobr id="trueContainer"><a href="javascript:enlargeimage('images/kart_front.png')"><img src="images/image_9small.jpg" border=1 /></a>
<a href="javascript:enlargeimage('images/kart_front.png', 300, 300)"><img src="images/image_9small.jpg" border=1 /></a>
<a href="http://www.dynamicdrive.com"><img src="images/image_9small.jpg" border=1 /></a>
<a href="#"><img src="images/image_9small.jpg" border=1 /></a>
<a href="#"><img src="images/image_9small.jpg" border=1 /></a>
<a href="#"><img src="images/image_9small.jpg" border=1 /></a>
<a href="#"><img src="images/image_9small.jpg" border=1 /></a> <a href="#"><img src="images/image_9small.jpg" border=1 /></a>
<a href="#"><img src="images/image_9small.jpg" border=1 /></a>
</nobr> </div>
</div>
<p> </p>
<p> </p>
<p> </p>
</div>
</div>
<div class="column_1"><img src="images/spacer.gif" alt="" width="1" height="1" /><br /></div>
<div class="clear"></div>
</div>
</div>
</div>
<!--content end-->
<!--footer -->
<div id="footer">
<div class="indent">
<div class="column">
11 Some Street Second Floor, New York WA 02020<br />
<img src="images/spacer.gif" alt="" width="1" height="3" /><br />
<span>Auto.Fan © 2007 | <a href="index-5.html">Privacy policy</a></span>
</div>
<div class="column_1">
<div class="indent">
E-mail: <a href="mailto:#">mail@companynanme.com</a>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<!--footer end-->
</div>
</div>
</body>
</html>



27CDB6E-AE6D-11cf-96B8-444553540000"
Reply With Quote
zip is good if you can.

Bookmarks