[Dojo-interest] How to set a shape's style?
Eugene Lazutkin
eugene.lazutkin at gmail.com
Sat Aug 6 00:06:07 EDT 2011
There is no universal way to set styles to shapes --- they are not
necessary necessary based on DOM nodes, and even if they are, there are
not required to support styles.
Cheers,
Eugene Lazutkin
Dojo Toolkit, Committer
http://lazutkin.com/
On 08/05/2011 10:47 PM, zhang wrote:
>
> var imgMyself = surface.createImage({ ... });
> imgMyself.connect("onmouseover",
> function () {
> this.getNode().style.cursor = "hand";
> this.style.cursor = "hand";
> //both lines doesn't work
> });
>
> Thanks.
>
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-set-a-shape-s-style-tp3230411p3230411.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> ________________________________________________________
> Dojotoolkit: http://dojotoolkit.org
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Tutorials: http://dojotoolkit.org/documentation
>
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
More information about the Dojo-interest
mailing list