13 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
jonnyf says

Hiya,

Anyone help me with this? Probably something stupid….

http://demo.hostinri.com/bguthrie/brianalim/portfolio.html

Click “Martha’s Vineyard”, then notice the way the down/up arrow work and how the scroll bar moves. I put the scroll there to test.

I would like the buttons to scroll normally up and down.

I can post the java if needed, any thoughts?

240 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
phpdude says

The problem is that the scroll buttons calculate how far it needs to scroll by the thumbnail size (86 as set in the JS file) but also from the height of the container, in this case the UL

What’s happened is that because you’ve floated the contents within the UL it thinks the UL is only a few pixels tall. What I suggest is that you set a CSS height to each LI and clear any floats after each row.

Then it will be able to calculate the full height of the UL

Hope this helps

13 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
jonnyf says

Thanks! A Big Help!

by
by
by
by
by
by