Hi, is there a way with css or js to show the scrollbar of an element on the left instead of on the right? i don't need a crossbrowser way i need it only on Firefox.
+2
A:
Possible dupe: http://stackoverflow.com/questions/1455708/div-vertical-scroll-bar-on-left
But that has a very nice jQuery solution you should check out.
Kyle Sevenoaks
2010-05-05 10:35:18
+2
A:
If you want the direction to be left-to-right, but still want to violate every expectation a user has to scrollbars, then you can hack it using javascript.
Simply create a 1px wide div on the left side of your content. Have it be the same height as the content which you want to scroll. Then hook up an onscroll
event to that div and whenever the user scrolls that div, you can scroll the content area manually.
Some further tips: main content area needs to have overflow:hidden
and you can use negative values for margin-top
to fake the scrolling.
peirix
2010-05-05 10:35:47
Great idea, i like it
mck89
2010-05-05 12:30:43