Hi! I've scoured the intarweb for customizable iframe scrollers, and divscroll is by far the finest implementation i've seen. It scrolls beautifully, and simply provides the most graceful interface experience. Much to my dismay, I have not been able to use it anywhere because in every instance in which it could be useful, I've also needed lightbox or something similar, which uses prototype, and as we all know, prototype doesn't play nice with divscroll. So I've had to resort to uglier iframe solutions.
I've recently found a lightbox-like pop-up window that plays nicer with divscroll: greybox ... http://orangoo.com/labs/GreyBox/ ... which works everywhere EXCEPT in IE6+7. In IE7 the layout is messed up + the greybox wont load at all. See example here: http://angganegara.com/wildcard/greybox/index.html
Is there ANYONE out there who has had success combining divscroll and a nice lightbox-esque popup box? Or perhaps anyone willing to examine my linked example and see what's troubling IE7 with greybox?
Thanks for any ideas (and thanks Angus for this forum!)
niko@neokio.com
2) neokioGroup: Members Posts: 5Joined: 23 Sep 2006Location: indonesiaIP: 202.169.--.--
Posted:
(Oops, wasn't logged in.. this is me logged in)
3) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 202.137.--.--
Posted:
The latest DivScroll *should* work fine with anything like Prototype that extends Array.prototype. Scripts that extend Object.prototype will probably break it though.
GreyBox seems like a nice script. It's not a very accessible implementation but this works:
The scroller script also traps click events and checks the TARGET of links so it'll be picking up on some of those clicks. Technically a target of '_self' should cause the scroller script to ignore it, but that snippet above works OK for me as-is.
These days however I don't recommend using this scroller script. It's not being actively developed anymore as it's just not accessible enough. Instead, if you want an IFRAME replacement, I recommend using my HTMLHttpRequest script together with browser-native scrollbars which are more user-friendly.