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