h@nnes
2008-Jul-04 15:21 UTC
Scriptacoulous:ScaleTo ignored by Firefox/2.0.0.15 and Safari3.0.4 ?
Hi; I do not get proper results by Effect.BlindDown, using the scaleTo argument. I was assuming this causes the function to scale down as far as scaleTo and stop scaling there. This is pretty much the code as I found it on the wiki: <html> <head> <title>NotScalingTo30Percent</title> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js" type="text/javascript"></script> </head> <body> <div id="blindup_demo" style="width:300px; height:300px; background:#ccc; display: none""> <div> Shortly stops but proceeds! </div> </div> <ul> <li><a href="#" onclick="Effect.BlindDown(''blindup_demo'',{duration: 1.0, scaleTo:30.0})">Click here for scaling to 33 percent (of 300px)</ a></li> <li><a href="#" onclick="$(''blindup_demo'').hide(); return false;">Reset</a></li> </ul> </body> </html> I did some research on the topic all day, but could only find online samples, that result in the same odd behaviour to me. I''m a bit worried that I misinterpret what scaleTo is supposed to do! So if you could clarify that and/or give me directions how to achieve that, I would sooooo much appreciate that. Thanks a lot, Hannes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---