Woha, it has been resurrected! Wasn't aware of that.
I stand corrected.

___

Oskar Krawczyk
http://nouincolor.com


On Thu, Oct 22, 2009 at 08:18, Daniel Lohse <[email protected]>wrote:

> Oh yes, there is:
> http://mootools.net/docs/core/Element/Element.Style#Element:setStyles
> Cheers, Daniel
>
> On 2009-10-22, at 22/October, 12:56 AM, Oskar Krawczyk wrote:
>
> No such thing as setStyles in Moo 1.2.
>
> On 21 Oct 2009, at 23:34, Steve Onnis wrote:
>
>  setStyle didnt work either...got the same error
>
>  ------------------------------
> *From:* Ryan Florence [mailto:[email protected]]
> *Sent:* Thursday, 22 October 2009 1:26 AM
> *To:* [email protected]
> *Subject:* [Moo] Re: Setting the dimensions of a flash movie
>
>  Give this a try:
>
> .setStyles({
>   'height': 385,
>   'width': 605
> });
>
>
>  Ryan Florence
> http://blog.flobro.com
> Recent Entry: Mootools Mixins
>
>  On Oct 21, 2009, at 7:10 AM, Steve Onnis wrote:
>
>  I am trying to set the width and height of an <object> tag that is being
> returned through a JSON request.
>
> this is what i am doing..
>
> $("video").set("html", response.html);
> $("video").getElement("object").setProperty("height", "385");
> $("video").getElement("object").setProperty("width", "605");
>
>
> Works fine in FireFox but am getting an "Object does not support this
> method or property" error in IE
>
> Any suggestions?
>
> Steve
>
>
>
>
>
>

Reply via email to