var elem = $$("div.left a.link3"); /Per
On Fri, Jan 30, 2009 at 1:57 PM, Boštjan Jerko <ml...@japina.eu> wrote: > > > On 30.1.2009, at 11:15, Per Cederberg wrote: > >> >> Ok, this isn't really MochiKit-related, but define your CSS class as >> follows: >> >> .left { >> overflow-y: auto; >> height: 100%; /* or some fixed pixel value */ >> } >> >> Try it with a static page first. >> >> Cheers, >> >> /Per > > I already have that for a manual scroll. I want to do it > "automaticaly". > As stated before - the scroll works perfectly on the whole page, but > I'd like to do it only in the div part of the page. > > MochiKit documentation says to use addLoadEvent, but I don't know how > to connect it with <div class="left">. > > B. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to mochikit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---