Hey Dave,
> So, this confusing piece
> of code:
>
> $("#links a").css(color: "blue");
>
> Becomes this wonderful thing:
>
> var jObject = new jQuery();
> jObject.element.getById("links", document);
> jObject.element.findByTagName("a");
> jObject.element.cascadingStyleSheet.setProperty("color",
> jQuery.color.getValueFromColorName("blue");
>
> As you can see, the new API is much more self documenting. ;-)
>
>
You forgot to close one of the parenthesis in the example [right after
"getValueFromColorName("blue")"]:
jObject.element.cascadingStyleSheet.setProperty("color",
jQuery.color.getValueFromColorName("blue"));
Or is this part of the new api as well: ignorance of syntactical mistakes...
i'd like that!
;-) Marc
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/