15 posts
  • 6 Years of Membership
  • Collector Level 3
  • United States
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
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 1
  • Top Monthly Author
+4 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

15 posts
  • 6 Years of Membership
  • Collector Level 3
  • United States
jonnyf
says

Thanks! A Big Help!

by
by
by
by
by
by