CMotion Image Gallery - script mechanics doesn't move pictures
1) Script Title: CMotion Image Gallery
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...iongallery.htm
3) Describe problem: Hi, this script is sth I was looking for, to use it on the website I'm working on. But after copying scripts and saving them on the server, it, literally, doesn't move.. It's probably some stupid mistake I should find myself and correct, but after many tries - cannot.
This is what I've pasted in the <head> of index.html and pro.html files:
Code:
<link rel="stylesheet" type="text/css" href="gallerystyle.css" />
<!-- Do not edit IE conditional style below -->
<!--[if gte IE 5.5]>
<style type="text/css">
#motioncontainer {
width:expression(Math.min(this.offsetWidth, maxwidth)+'px');
}
</style>
<![endif]-->
<!-- End Conditional Style -->
<script type="text/javascript" src="motiongallery.js">
/***********************************************
* 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
***********************************************/
</script>
This is what I've pasted where the gallery should appear:
Code:
<div id="motioncontainer" style="position:relative;overflow:hidden;">
<div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap;">
<nobr id="trueContainer">
<a href="javascript:enlargeimage('dynamicbook1.gif')"><img src="dynamicbook1.gif" border=1></a>
<a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img src="dynamicbook1.gif" border=1></a>
<a href="http://www.dynamicdrive.com"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a>
<a href="#"><img src="dynamicbook1.gif" border=1></a></nobr>
</div>
</div>
And that's the page: http://pracownia.fabianczyk.com.pl. Maybe the problem is that I used a DIV based web, where all pages
appear inside an index-build-div, with using so called "jah - just asynchronous html".
Please help me find out what's the problem... :)
Regards, Anton
Well... It started to work.. I was checking if there are any answers in this thread and I saw a slash "/" after a <LINK REL...> line of code:
HTML Code:
<link rel="stylesheet" type="text/css" href="gallerystyle.css" />
So i deleted it - it did nothing. So i retyped it back on its place, and... after refreshing page - the gallery was working perfectly!
Have no idea what's just happend. If you have any clues...
Regards, Anton
...and again, it got disabled. But - as I've mentiond before, when I delete - upload and retype - upload slash after that LINK REL line, the gallery works. Why?
Regards, Anton