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?
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