PDA

View Full Version : [DHTML&CSS] Scrollbars at both sides



akkucis
11-01-2006, 05:31 AM
1) CODE TITLE:
Scrollbars at both sides
there is an option to have only one scrollbar on the left.
Added simple browser check,but there may be more compatible browsers.
The script works fine with MSIE5...MSIE6, Opera9, Firefox and Flock(all latest geckos).
Some browsers with custom theme may hide left scrollbar, it depends on width [default=16..17px] of the scrollbar.

2) AUTHOR NAME/NOTES:
Author: K.K.Kukurs
sorry for my english :)

3) DESCRIPTION:
This script will create scrollbars at both sides of the window.

4) URL TO CODE:
http://www.oh.lv/dblacroll.html

tech_support
11-01-2006, 05:42 AM
1. Doesn't work
2. Shakes when scrolling

akkucis
11-01-2006, 05:44 AM
works fine with FF MSIE6 MSIE7 Opera 9.0 on Windows xp and Fedora 3

tech_support
11-01-2006, 05:48 AM
http://img254.imageshack.us/img254/218/screenshotvr0.jpg

codeexploiter
11-01-2006, 05:53 AM
works fine with FF

akkucis
11-01-2006, 05:56 AM
http://oh.lv/dblacroll.jpg

tech_support
11-01-2006, 06:34 AM
Strange...

blm126
11-01-2006, 12:08 PM
How about an option to just have scrollbars on the left?

akkucis
11-01-2006, 01:48 PM
only left side?
I added the option, but there is no need for scripting on MSIE:

<body dir=rtl>
<div dir=ltr>

scrollable content

</div>
</body>

blm126
11-01-2006, 10:07 PM
Cool.

akkucis
11-01-2006, 11:07 PM
Firefox with custom theme may hide left scrollbar, it depends on width [default=16..17px] of the scrollbar.

Added better compatibility check and fixed scrollbar height for MSIE.