13 posts
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
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?

236 posts
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • United Kingdom
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
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
jonnyf says

Thanks! A Big Help!

by
by
by
by
by
by