JoJo, On Oct 15, 3:17 am, Walter Lee Davis <wa...@wdstudio.com> wrote: > Element.hide.delay(2,'someElement')
On Oct 15, 8:30 am, Tobie Langel <tobie.lan...@gmail.com> wrote: > Or: > > var element = $('someElement'); > element.hide.bind(element).delay(2); And this is why: http://blog.niftysnippets.org/2008/03/mythical-methods.html http://blog.niftysnippets.org/2008/04/you-must-remember-this.html HTH, -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com On Oct 15, 8:30 am, Tobie Langel <tobie.lan...@gmail.com> wrote: > Or: > > var element = $('someElement'); > element.hide.bind(element).delay(2); > > Best, > > Tobie > > On Oct 15, 4:17 am, Walter Lee Davis <wa...@wdstudio.com> wrote: > > > > > Try this: > > > Element.hide.delay(2,'someElement') > > > Walter > > > On Oct 14, 2010, at 9:11 PM, JoJo wrote: > > > > $('someElement').hide.delay(2); > > > $('someElement').show.delay(3); > > > > These functions trigger this error: "'style' is null or not an object" > > > in IE7. The only way to solve it is to write long ugly code: > > > > var f = function() { > > > $('someElement').hide(); > > > }; > > > f.delay(2) > > > > -- > > > 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 > > > prototype-scriptaculous@googlegroups.com > > > . > > > To unsubscribe from this group, send email to > > > prototype-scriptaculous+unsubscr...@googlegroups.com > > > . > > > For more options, visit this group > > > athttp://groups.google.com/group/prototype-scriptaculous?hl=en > > > . -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.