absolute genius really helped me with this one
another small issue this one not sure if you can help with or not?
I posted once again to forums no reply
what I am trying to acheive here is a scrolling gallery
works fine but there has to be 16 images set at 130px x 120px each
http://www.madeinshropshire.co.uk/demo/directory-details.php?mis_id=16
the problem is when the images uploaded are more than 130px width and there are more than or less than 16 images, what I am trying to ask is there a way to use the scroller so the scroller would know when it to the end of the images and instead of restarting just continue to bring in the content without jumping to the start?
here is the code in question below not sure if this is right place to ask this question future questions should I start new thread.
Also what is your hourly charge for freelance work and do you know much the spry framework from adobe? as I am using this on a few of my sites now
| Code: |
div#wn {
position:relative;
height:120px;
overflow:hidden;
}
div#cnt { position:absolute;
width: 2080px;
}
/* width of table = number of items * scroller width
Setting width on table and width and height on table cell needed
for this example because images vary in size and don't fill scroller space
*/
<div id="cnt">
<div align="left">
<?php do { ?>
<a href="images/makers/16/<?php echo $row_gallery['gallery_image']; ?>" rel="lightbox[roadtrip]" title="Caption Here ..."><img src="images/makers/16/tn/<?php echo $row_gallery['gallery_image']; ?>" width="130" height="120" hspace="0" vspace="1" border="0" onMouseOver="this.style.filter='progid:«»DXImageTransform.Microsoft.BasicImage(grayscale=1)'" onMouseout="this.style.filter=''"></a>
<?php } while ($row_gallery = mysql_fetch_assoc($gallery)); ?></div>
</div>
|