Evidently the last solution on the ticket page works. However, it did not work in my situation. Thomas Fuchs has not incorporated the changes into Prototype as yet.
...and yes, trouble is with IE 6. Actually the behavior is somewhat erratic in Firefox also. I did find that for what I want to do, the Jquery library has a solution. I tried it in IE 6 and Firefox and it worked great. I may change over to Jquery, since I am not too heavy into Prototype. Does Hobo rely heavily on Prototype? Could a transition be a lot of trouble? In the future I am going to look at MooTools, evidently something of the best of both worlds --- Prototype and Jquery. jet On Nov 19, 1:16 pm, Bryan Larsen <[email protected]> wrote: > 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-... > > 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 --pastiehttp://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 > > athttp://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=.
