http://wiki.github.com/madrobby/scriptaculous/effect-appear
On Sep 4, 1:52 pm, JoJo <[email protected]> wrote: > I never knew about the shortcut. Could you point me to the page that > talks about this? Thanks! > > On Sep 4, 6:30 am, mau <[email protected]> wrote: > > > JoJo, thanks for your response, > > > There’s also a shortcut method offered which you can call on the > > element itself. Note, that this will only work on Prototype-extended > > elements (elements you extended at least once via calling $(element)). > > As I use Prototype, I use this shortcut mehtod. By the way, I've tried > > it, but I get the same result. > > > best regards! > > > On Sep 4, 3:19 am, JoJo <[email protected]> wrote: > > > > Shouldn't it be: > > > > new Effect.Appear('menu'); > > > > On Aug 31, 7:56 am, mau <[email protected]> wrote: > > > > > Hi, I've an issue with scriptaculous appear effect and IE 7, when I > > > > nest a div inside another div with display none to make it appear, it > > > > doesn't appear slow, it appears at once. > > > > > I call a js function when div menu is clicked: $('menu').appear(); > > > > > I copy the code and the styles, is very simple, for testing purpose. > > > > > Any help is welcome. > > > > > Thanks in advance > > > > > <div id=menu style="display:none;"> > > > > <div id=content > > > > > Nam ut primum ex pueris excessit Archias, atque ab eis artibus > > > > quibus > > > > aetas puerilis ad humanitatem informari solet se ad scribendi studium > > > > contulit, primum Antiochiae --- nam ibi natus est loco nobili --- > > > > celebri quondam urbe et copiosa, atque eruditissimis hominibus > > > > liberalissimisque studiis adfluenti, celeriter antecellere omnibus > > > > ingeni gloria contigit. > > > > </div> > > > > </div> > > > > > The styles for this two divs are: > > > > > #content{ > > > > position:relative; > > > > width:600px; > > > > border:1px dotted red; > > > > padding:10px; > > > > background-color:#000000; > > > > color:#FFFFFF; > > > > } > > > > > #menu{ > > > > width:602px; > > > > height:500px; > > > > > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
