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
-~----------~----~----~----~------~----~------~--~---