Reputation: 1422
As you can see, the little box that comes first works fine and the jQuery works. However, I want the second scroll bar to look like the other one. You'll notice that both scrollable areas go under the same DIV id, but the second one isn't working.
I'm trying to implement it here: http://ewsprojects.com/~lyons/new.php (click on a thumbnail and then a tag)
How do I fix this? Thanks in advance.
Upvotes: 0
Views: 73
Reputation: 3212
Try to use a class in stead of an id, double ids are not a good practice and in this case that's what goes wrong (document.findElementById() only finds the first one).
Improved jsfiddle: http://jsfiddle.net/7ypyL/9/
Upvotes: 1