[Dojo-interest] Using ContentPane and dojo.lfx.explode
Thomas Hoffman
hoffspot at gmail.com
Mon Jan 1 12:46:27 MST 2007
Hello Folks,
I'm sure this is a rookie mistake. I'm trying to use ContentPane and the
explode effect together. The ContentPane is declared as the following in my
html:
<div dojoType="ContentPane" widgetId="regPane"
class="registrationContent"></div>
Subsequently, I call this function from a link:
dojo.lfx.explode(start, dojo.widget.byId('regPane'), 250).play();
The result is a Javascript error stating:
_1e5.style has no properties
that's thrown from dojo.js (kitchensink) line 2037
Initial research showed that maybe I was calling the function before the ane
was initialized? I tried the preload property but no luck there. The CSS
for the ContentPane is as follows:
.registrationContent {
position : absolute;
left : 200px;
top : 100px;
background : #ddd;
width : 400px;
height : 300px;
text-align : center;
display:none;
z-index: 3;
}
Any help greatly appreciated.
Thank you!
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070101/0b30a2f4/attachment.html
More information about the Dojo-interest
mailing list