Image

Imagerecommendation wrote in Imagephp

Do x to items 1-7, then y to items 8 on?

Hi, I am tearing my hair out over this one feature I have on a site I'm building. I've got it working just about great, with one little hitch. I won't bore you with the details, but essentially:

I have a piece of PHP that produces a list of images.

These images are presented within a javascript/CSS scroller.

In order for the scroller to have the correct layout, from the 8th image on needs to also have a class tag of 'hide' (so you only see the 1st 7, unless you use the scroll button to scroll through them all).


So I am wondering if there is a way to change the code so that the first 7 or fewer images do NOT get the 'hide' tag, and all the rest do.


Any suggestions you can give me would be awesome. Thanks in advance!