Hallo,
ich habe das Problem, dass ich nicht lösen kann. Ich habe mir von www.dynamicdrive.com das script "Conveyor Belt slideshow script" heruntergeladen (siehe http://www.dynamicdrive.com/dynamicindex14/leftrightslide_dev.htm). Wenn ich dieses in eine "nackte" html seite packe funktioniert es ohne probleme. Wenn ich es in einem div in meiner seite starte sehe ich immer nur ein und das gleiche bild "sliden" und nicht die ganzen anderen. meine frage ist nun wie löse ich das problem, dass alle bilder in meinem div tag nacheinander sliden... meine seite sieht so aus:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Hair Salon</title>
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
</head>
<body>
<div id="wrapper">
<h1><span class="hone">Enzo<em>&</em><br>Piedro</span> <span class="htwo">HAIR SALON</span> <span class="hthree">CREATE YOUR STYLE WITH US</span></h1>
<div id="head-1"></div>
<div id="head-2"></div>
<div id="nav">
<ul>
<li><a href="http://www.free-css.com/">HOME</a></li>
<li><a href="http://www.free-css.com/">ABOUT SALON</a></li>
<li><a href="http://www.free-css.com/">SERVICES</a></li>
<li><a href="http://www.free-css.com/">OUR MASTERS</a></li>
<li class="last"><a href="http://www.free-css.com/">CONTACT US</a></li>
</ul>
</div>
<div id="body-left">
<h2><em>G</em>allery</h2>
<div id="gallery">
<div class="gal" id="gzero">
<script type="text/javascript" src="test.js"></script>
</div>
<div class="gal" id="gone"><a href="http://www.free-css.com/"><img src="images/pic_2.jpg" width="57" height="41" alt="Pic 2" /></a></div>
<div class="gal" id="gtwo"><a href="http://www.free-css.com/"><img src="images/pic_3.jpg" width="57" height="41" alt="Pic 3" /></a></div>
<div class="gal" id="gthree"><a href="http://www.free-css.com/"><img src="images/pic_4.jpg" width="57" height="41" alt="Pic 4" /></a></div>
<div class="clear"></div>
</div>
</div>
<div id="body-right">
<h2><em>W</em>elcome</h2>
<p>Don't forget to check <a href="http://www.free-css.com/">free website templates</a> every day, because we add a new free website template almost daily.</p>
<p>You can remove any link to our websites from this template you're free to use the template without linking back to us.</p>
<p>This is just a place holder so you can see how the site would look like.</p>
<p>This is a template designed by free website templates for you for free you can replace all the text by your own text.</p>
<p>Even more websites all about website templates on <a href="http://www.justwebtemplates.com">Just Web Templates</a>.</p>
<p>If you're looking for beautiful and professionally made templates you can find them at <a href="http://www.templatebeauty.com">Template Beauty</a>.</p>
<p>If you're having problems editing the template please don't hesitate to ask for help on <a href="http://www.free-css.com/">the forum</a>.</p>
</div>
<div class="clear spacer"></div>
<div id="footer"> © 2007 Hair salon | designed by <a href="http://www.freewebsitetemplates.com">free website templates</a></div>
</div>
</body>
</html>
danke für eure hilfe!
Gruss
Meik