On Wed, Mar 4, 2009 at 8:16 PM, justin <[email protected]> wrote: > On Wed, Mar 4, 2009 at 6:49 PM, Wade Preston Shearer > <[email protected]> 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 _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
