pigfox666-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-19 19:26 UTC
Element has no properties
Hello I am a newbie to this, I just installed the libraries: <script src="../js/prototype.js" type="text/javascript"></script> <script src="../js/scriptaculous.js" type="text/javascript"></script> The file effects.js lives in the same location as the scripts above. I call it from here: <body onload="new Effect.Appear"> from: (element.getStyle(''display'') == ''none'' ? 0.0 : element.getOpacity() || 0... effects.js (line 545) Has anyone seen this problem before and how is it fixed? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
<body onload="new Effect.Appear"> You need to specify the ID of a DIV, and that DIV needs to be rendered on the page before you can amnipulate it. On Dec 19, 2:26 pm, "pigfox...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <pigfox...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello I am a newbie to this, I just installed the libraries: > <script src="../js/prototype.js" type="text/javascript"></script> > <script src="../js/scriptaculous.js" type="text/javascript"></script> > > The file effects.js lives in the same location as the scripts above. > I call it from here: > <body onload="new Effect.Appear"> > > from: (element.getStyle(''display'') == ''none'' ? 0.0 : > element.getOpacity() || 0... > effects.js (line 545) > > Has anyone seen this problem before and how is it fixed?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---