mcskiver
05-03-2006, 05:22 AM
Hi,
I have an unordered list placed vertically in a containing element (a div). This list will probably be over 100 elements long, so I want to fix the height of the div, then have a JS-based scrollbar that allows me to scroll through the list. Any ideas?
The problems i've already encountered are that, using standard scrollbars, there are issues with Firefox on the Mac, which are due to us creating new DOM elements which sometimes need to overlay the list (the scrollbars show through).
Also, i've tried using a script from www.dyn-web.com, but we actually have two lists in this case, and we're dragging and dropping elements between the lists, but this fails in IE. So with the Dyn-Web script, the whole things works fine in Firefox on both major platforms.
Any ideas on a simpler way to implement this scrollbar effect that might work across the board?
I have an unordered list placed vertically in a containing element (a div). This list will probably be over 100 elements long, so I want to fix the height of the div, then have a JS-based scrollbar that allows me to scroll through the list. Any ideas?
The problems i've already encountered are that, using standard scrollbars, there are issues with Firefox on the Mac, which are due to us creating new DOM elements which sometimes need to overlay the list (the scrollbars show through).
Also, i've tried using a script from www.dyn-web.com, but we actually have two lists in this case, and we're dragging and dropping elements between the lists, but this fails in IE. So with the Dyn-Web script, the whole things works fine in Firefox on both major platforms.
Any ideas on a simpler way to implement this scrollbar effect that might work across the board?