PDA

View Full Version : Between each image



Fleuretta
06-20-2007, 07:21 PM
1) Script Title: CMotion Image Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

3) Describe problem: First, excuse my english.
I like this script but I will like have less space between each image but I don't know where I can change it. You can to tell me please?

J'aime bien ce script mais j'aimerais qu'il y ai moins d'espace entre chaque image mais je ne sais pas oł faire la modification. Vous pouvez me dire s.v.p.?



I have a other problem. When I put this in my page



<!-- 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');
}




body,td,th {
text-align:center;
overflow:auto;}

</style>
<![endif]-->
<!-- End Conditional Style -->
<script type="text/javascript" src="image/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 part is all grey (coloration syntaxique) Why?



<!-- 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');
}




body,td,th {
text-align:center;
overflow:auto;}

</style>
<![endif]-->
<!-- End Conditional Style -->



Thank you - Merci

jscheuer1
06-20-2007, 07:40 PM
The spaces between the images in the gallery are the spaces in the markup:


. . . ook1.gif" border=1></a> <a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img . . .

Make them all like so:


. . . ook1.gif" border=1></a><a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img . . .

and there will be no spaces.

This part:


<!-- 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 -->

Is syntax highlighted as a comment because it is a conditional comment. It includes style used only by IE browser. I see you have added to it. You shouldn't, unless what you add is only for IE.

Fleuretta
06-20-2007, 10:06 PM
Thank you very much for your answer rapidly.

Merci beaucoup pour tes r&#233;ponses rapides.