Rounded uses innerHTML to pop contents out of your original markup and into the rounded markup. Probably the best thing to do would be to reverse the order of calls.
trt
Diego Chagastelles wrote:
>
> this.novoItem = dojo.byId("novoMuralItemBtn");
> dojo.event.connect(this.novoItem,"onclick",this,"novoItemForm");
>
>
> dojo.lfx.rounded({antiAlias: false,
>
> tl:{radius:3},tr:{radius:3},br:{radius:6},bl:{radius:6}},["panel"]);
>
> }
>
The element connected with 'dojo.event.connect' is inside 'panel' (which is
the rounded element). When I do this, the event appears to be disconnected
after the round function. Why is that happening? To make it work, I have to
round first and then connect events, but some times I just can“t do that.
_______________________________________________
Dojo FAQ:
http://dojo.jot.com/FAQDojo Book:
http://manual.dojotoolkit.org/DojoDotBookDojo-interest@dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest