Joseph Vargas | 1 Aug 2007 01:03
Favicon

0.9 Beta Dialog

Hi All,


I just recently moved from a post 0.9M2 nightly build (rev 8123) to 0.9 beta.  I have been keeping up with most of the changes in the dijit classes, but I’ve now come across an issue with the Dialog widget that I can’t seem to figure out.

 

The Dialog I am creating is very simple, I am using the minimal set of attributes like so:

 

<div id="myDialog" dojoType="dijit.Dialog" title="myTitle" style="display: none;"> … </div>

 

There are 3 other dialogs on this page, but only one is shown at a time.  When the dialog is shown, the partially transparent underlay shows on top of the dialog.  I’ve checked the z-index values by using FireBug and they seem correct (dialog: 999, underlay: 998).

 

Any ideas what might be going on here?  I am trying to isolate the problem right now (this particular html file is filed with dijits), but if anybody has seen this sort of thing happen, let me know if you found a solution.

 

Thanks!

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
Siah Sookhteh | 1 Aug 2007 05:04
Picon

Where is dojo.dom in 0.9?

Is there any update on where 0.9 stands in terms of its packages. I
can't find dojo.dom, nor can I find the shadow package, when upgrading
my application.

Thanks,
Sia
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Peter Ansell | 1 Aug 2007 05:25
Picon
Gravatar

Re: Where is dojo.dom in 0.9?

See

http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/style-html-utility-function-changes

for some explanation.

Cheers,

Peter

On 01/08/07, Siah Sookhteh <siasookhteh <at> gmail.com> wrote:
> Is there any update on where 0.9 stands in terms of its packages. I
> can't find dojo.dom, nor can I find the shadow package, when upgrading
> my application.
>
> Thanks,
> Sia
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Michael Meder | 1 Aug 2007 19:35
Picon

dojo.fadeOut() in IE

Hello,

I have a problem with dojo.fadeOut() (dojo 0.9) in IE and hope anybody
can give me a hint. If I want to fade out a div-element with
dojo.fadeOut(node: div_node, ...) wich contains some widgets (like
dijit.form.FilteringSelect), in IE only the widgets does *not* fade out,
but for all other elements inside the div-element it works. With Firefox
everthings works fine only in the IE I have this problem.
Curiously dojo.fadeOut(node: MyWidget.domNode,...) works in IE.

Does anybody has/had the same problem?

Thanks,
Micha
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Michael Meder | 1 Aug 2007 21:54
Picon

dojo.fadeOut() in IE

Hello,

> [...]
> (*like* dijit.form.FilteringSelect), in IE only the widgets does *not*
fade out
> [...]

I tried some other widgets and now i would say especially
dijit.form.FilteringSelect and dijit.form.Slider, not like.

Regards,
Micha
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Siah Sookhteh | 1 Aug 2007 22:31
Picon

Re: Where is dojo.dom in 0.9?

Thanks Peters.
Sia

On 8/1/07, Peter Ansell <ansell.peter <at> gmail.com> wrote:
> See
>
> http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/style-html-utility-function-changes
>
> for some explanation.
>
> Cheers,
>
> Peter
>
> On 01/08/07, Siah Sookhteh <siasookhteh <at> gmail.com> wrote:
> > Is there any update on where 0.9 stands in terms of its packages. I
> > can't find dojo.dom, nor can I find the shadow package, when upgrading
> > my application.
> >
> > Thanks,
> > Sia
> > _______________________________________________
> > FAQ: http://dojotoolkit.org/support/faq
> > Book: http://dojotoolkit.org/docs/book
> > Forums: http://dojotoolkit.org/forum
> > Dojo-interest <at> dojotoolkit.org
> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> >
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Siah Sookhteh | 1 Aug 2007 22:35
Picon

No Shadow on 0.9

Will we have shadow back for 0.9?
Thanks,
Sia
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Siah Sookhteh | 2 Aug 2007 01:23
Picon

What's a mixin for Animation?

Hi,

I am trying to get 0.9's dojo.fx.slideTo to work and in the dojo's
code there is this comment:

	// addition mixin args needed:
	// coords: { top: Decimal?, left: Decimal? }

But, I'm not sure where this has to go. I read
http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/effects-dojo-lfx-changes
and its not too clear what a mixin is. So, I've unsuccessfully tried
all the following:

dojo.fx.slideTo({node:'DIV_ID', duration: 1000, 'coords':{ top: 1000,
left: 400}}).play();

and here it always animates my DIV to 0 and 0

I also tried placing 'coords' key within another 'properties'
dictionary, and interestingly enough, it stops animation all together.

Thanks,
Sia
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

peter e higgins | 1 Aug 2007 07:46

Re: What's a mixin for Animation?


This was a documentation bug that was fixed in SVN yesterday actually. 

dojo.fx.slideTo({ node: 'divId', duration: 1000, top: 1000, left: 
400 }).play();

gives you the animation you are looking for.  

the idea of 'mixin' is such that dojo.fx.slideTo 'mixes' your object 
{node:etc, etc} into a dojo.animateProperty _Animation, which uses a similar 
object:

dojo.animateProperty({ node: 'nodeId', duration: 1000,
	properties: {
		top: { end: 1000, unit: "px" },
		left: { end: 400, unit:"px" }
		/* opacity: { }, backgroundColor: { }, etc, etc */
	}
}).play();

dojo.animateProperty is very useful.

On Wednesday 01 August 2007 19:23, Siah Sookhteh wrote:
> Hi,
>
> I am trying to get 0.9's dojo.fx.slideTo to work and in the dojo's
> code there is this comment:
>
> 	// addition mixin args needed:
> 	// coords: { top: Decimal?, left: Decimal? }
>
> But, I'm not sure where this has to go. I read
> http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/effects-dojo-lfx-c
>hanges and its not too clear what a mixin is. So, I've unsuccessfully tried
> all the following:
>
> dojo.fx.slideTo({node:'DIV_ID', duration: 1000, 'coords':{ top: 1000,
> left: 400}}).play();
>
> and here it always animates my DIV to 0 and 0
>
> I also tried placing 'coords' key within another 'properties'
> dictionary, and interestingly enough, it stops animation all together.
>
> Thanks,
> Sia
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Frank W. Zammetti | 2 Aug 2007 01:38

Re: What's a mixin for Animation?

I can never read about Dojo and "mixins" without wanting to run out to 
Coldstone Creamery for some ice cream.

Mmmmmm..... ice cream.... gahghaghaghaghahahahahg

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti <at> hotmail.com
Author of "Practical Ajax Projects With Java Technology"
  (2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
  (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
  Supplying the wheel, so you don't have to reinvent it!

peter e higgins wrote:
> This was a documentation bug that was fixed in SVN yesterday actually. 
> 
> dojo.fx.slideTo({ node: 'divId', duration: 1000, top: 1000, left: 
> 400 }).play();
> 
> gives you the animation you are looking for.  
> 
> the idea of 'mixin' is such that dojo.fx.slideTo 'mixes' your object 
> {node:etc, etc} into a dojo.animateProperty _Animation, which uses a similar 
> object:
> 
> dojo.animateProperty({ node: 'nodeId', duration: 1000,
> 	properties: {
> 		top: { end: 1000, unit: "px" },
> 		left: { end: 400, unit:"px" }
> 		/* opacity: { }, backgroundColor: { }, etc, etc */
> 	}
> }).play();
> 
> dojo.animateProperty is very useful.
> 
> On Wednesday 01 August 2007 19:23, Siah Sookhteh wrote:
>> Hi,
>>
>> I am trying to get 0.9's dojo.fx.slideTo to work and in the dojo's
>> code there is this comment:
>>
>> 	// addition mixin args needed:
>> 	// coords: { top: Decimal?, left: Decimal? }
>>
>> But, I'm not sure where this has to go. I read
>> http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/effects-dojo-lfx-c
>> hanges and its not too clear what a mixin is. So, I've unsuccessfully tried
>> all the following:
>>
>> dojo.fx.slideTo({node:'DIV_ID', duration: 1000, 'coords':{ top: 1000,
>> left: 400}}).play();
>>
>> and here it always animates my DIV to 0 and 0
>>
>> I also tried placing 'coords' key within another 'properties'
>> dictionary, and interestingly enough, it stops animation all together.
>>
>> Thanks,
>> Sia
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://dojotoolkit.org/docs/book
>> Forums: http://dojotoolkit.org/forum
>> Dojo-interest <at> dojotoolkit.org
>> http://dojotoolkit.org/mailman/listinfo/dojo-interest
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
> 
> 
> 
> 

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane