[UPHPU] scroll bar on left
justin
justin at justinhileman.info
Wed Mar 4 18:34:57 MST 2009
On Wed, Mar 4, 2009 at 8:16 PM, justin <justin at justinhileman.info> wrote:
> On Wed, Mar 4, 2009 at 6:49 PM, Wade Preston Shearer
> <wadeshearer.lists at me.com> wrote:
>> Is there any way to have the scroll bar be on the left side of an
>> overflowing div? I'm open to hacks and javascript fanciness.
>>
>
> Yep. If I show you how will you tell me why on earth you would want
> such a monstrosity?
>
A quick proof of concept:
http://greybox.justinhileman.info/uphpu/scroller.html
Note that it has a magic number (height*1.1), because page elements
don't really report their height properly. There's a jQuery library
for getting 'real' dimensions... Using this would be a bit less hack.
Another library could be used to make scroll wheels work over the
"scrolling" content. And if the width of the content is changing,
you'll need to update the height of the scroller div. Lots of little
things, but there's the start.
Now... why?
--
justin
http://justinhileman.com
More information about the UPHPU
mailing list