I assume you're only having the trouble in Internet Explorer? If so, this is a bug in Prototype. Several workarounds are listed on the bug report.
https://prototype.lighthouseapp.com/projects/8887/tickets/33-problem-with-scrolling-on-div-tags Please report back how you fixed it -- I haven't actually fixed the Barquin app that has the problem yet. Bryan blueHandTalking wrote: > I am having trouble with displaying a dropdown menu > that has a scrolling div in it. Evidently the control > > var scrollbar = new Control.ScrollBar > ('scrollbar_content','scrollbar_track'); > > in the latest form is only in Prototype v.1.6.1. > > This dropdown ( ddmenu.js --pastie http://pastie.org/705995 ) > > and the scrolling div work perfectly! ---but only after I open > Firebug. > > There is a > > scrollbar.recalculateLayout(); > > method I entered in Firebug console. After this everything is perfect. > I can even close Firebug and it still works. > > This is driving me nutsy. I have no idea if it is something related > to mixing Prototype with Hobo, a newer version of Prototype, or > that both ddmenu.js and Control.Srollbar are using onmouseover. > > The scrollbar is created when the DOM is loaded: > > document.observe('dom:loaded',function(){ > var scrollbar = new Control.ScrollBar > ('scrollbar_content','scrollbar_track'); > }); > > I have tried calling > > scrollbar.recalculateLayout(); > > a variety of ways to update, but obviously not the right one. > > Any ideas appreciated, and especially if there is any possibility > of this being related to Hobo. Nice to narrow down wrong areas > of investigation. > > Cheers, > > Jet > > ... > > -- > > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=.
