Hopefully you have already fixed this issue, but if you haven''t here
is a solution (that seems to work with Firefox at the very least!).
Basically you need to add in "height:auto;" or a fixed height into the
style of the container div, plus you have to have an inner container
of some variety (like a div or a table). I have no idea why you need
these two things, but adding them works.
For example:
----
<a
href="javascript:Effect.SlideDown(''divToOpen'')">Open
me</a>
<div style="display:none; height:auto;"
id="divToOpen">
<div>
Text to open
</div>
</div>
-----
Hope this helps.
Cheers.
On Sep 9, 11:30 pm, kedare
<kedar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello ,
> i have a little problem , i use
> Prorotype: 1.5.1
> Scriptaculous: 1.7.1_b3
>
> my problem is: on many effect , i don''t know why , but i get this
> error :
> element.***() has no properties
> the *** depend of the effect
>
> this is an exemple of full error :
>
> element.down() has no
propertieshttp://kedare.alwaysdata.net/static/js/scriptaculous/effects.js
> Line 729: var oldInnerBottom =
element.down().getStyle(''bottom'');
>
> (on this code : <button onclick="new
>
Effect.toggle(''main_logo'',''slide'')">Toggle
Logo</button> )
>
> what the problems ?
> thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---