Scrolling Div in Dropdown menu Only Displays in Firebug v.1.4.5

21 views
Skip to first unread message

BlueHandTalking

unread,
Nov 19, 2009, 1:33:19 PM11/19/09
to Firebug
I am using a script for an animated drop down menu, ddmenu.js
Here is a pastie for that script:

http://pastie.org/705995

With this I am using

document.observe('dom:loaded',function(){
var scrollbar = new Control.ScrollBar
('scrollbar_content','scrollbar_track');
});

from Prototype.

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

scrollbar.recalculateLayout();

It works just fine, even after closing Firebug. My problem, not
having in-depth javascript knowledge,is how I can have the above
script called.

Should I be using 'Ajax.PeriodicallyUpdate', since both scripts are
trying
to connect to event onmouseover? Or, ??

Any ideas appreciated.

Thanks,

Jet
Reply all
Reply to author
Forward
0 new messages