Animated Drop Down with Scrollbar won't display

1 view
Skip to first unread message

Blue Hand Talking

unread,
Nov 17, 2009, 5:01:20 PM11/17/09
to Prototype & script.aculo.us
I am using a script for an animated drop down menu with a scrollbar.

It will not display normally. If I run the following script in
Firebug:

scrollbar.recalculateLayout();

It works just fine. My problem, not having in-depth javascript
knowledge,
is how I can have the above script called. I have tried 'onmouseover'
for the
div that contains everything, but nothing. Tried 'onload' in body, but
that
didn't work. Tried using the following for <div
id="scrollbar_content"> :

$('scrollbar_content').observe('onmouseover',function(event) {
scrollbar.recalculateLayout();
event.stop();
});

But that did not work either.

I am currently using a self.init method for the window to fix broken
png files in IE 6, so that is not available.

Any ideas appreciated.

Thanks,

Jet

Blue Hand Talking

unread,
Nov 17, 2009, 9:03:33 PM11/17/09
to Prototype & script.aculo.us
As a note, the script I am using is at:

http://livepipe.net/control/scrollbar

...and is by Ryan Johson.


And a side note to the admin:

Even though I had previously joined this
group, I was required to join again to make
this post. Something wrong here.

Cheers,

Jet

On Nov 17, 2:01 pm, Blue Hand Talking <jerrold.r.thomp...@gmail.com>
wrote:

Blue Hand Talking

unread,
Nov 19, 2009, 1:53:02 PM11/19/09
to Prototype & script.aculo.us
And here is the script for the drop down menu:

http://pastie.org/705995


jet
Reply all
Reply to author
Forward
0 new messages