[Dojo-interest] (no subject)

Karl Tiedt ktiedt at gmail.com
Sat Jan 18 22:34:23 EST 2014


Can't setup that test on my phone, but if memory serves me, you should not
be directly injecting into a dialogs domNode, it is a container widget
which uses contentNode I believe. (Or use .set("content", newcontent)

-- Karl Tiedt
On Jan 18, 2014 9:01 PM, "Jean-Rubin Leonard" <jrleonard at gmail.com> wrote:

> Here's a test html:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
> http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>dojox calendar test </title>
> <style type="text/css">
>         @import "js/dojo/dijit/themes/claro/claro.css";
>         @import "js/dojo/dojox/calendar/themes/claro/calendar.css";
>         .dialog{width:400px;height:200px;opacity:1;}
>
> </style>
>     <script type="text/javascript" src="js/dojo/dojo/dojo.js"
>  djConfig="parseOnLoad: true"></script>
>     <script type="text/javascript">
>        dojo.require("dojo.parser");
> dojo.require('dijit.Dialog');
> dojo.require('dijit.form.Button');
>     </script>
>
>
> <script type="text/javascript">
> dojo.addOnLoad(function(){
> buttonDialog = new dijit.form.Button({onClick:this.showDialog, label:'Show
> Dialog'})
>  dojo.place(buttonDialog.domNode, dojo.body());
> });
> function showDialog(){
>  dialog = new dijit.Dialog();
> dojo.addClass(dialog.domNode,"dialog");
> dialog.startup();
>  dialog.show();s
> }
> </script>
> </head>
>
>
> <body class="claro">
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla blandit
> eros ac nulla tempus malesuada. Nam varius ipsum eros. Vestibulum et
> volutpat magna. Curabitur consectetur augue in nisl consectetur, ut tempor
> enim venenatis. Vestibulum rhoncus, ante suscipit ullamcorper auctor,
> tortor velit convallis nisl, ut elementum enim elit ullamcorper odio. Nam
> posuere placerat libero, vel aliquet nisl ultrices quis. Suspendisse porta,
> purus eu adipiscing ultrices, nulla arcu suscipit leo, non aliquam ligula
> turpis eget erat. Interdum et malesuada fames ac ante ipsum primis in
> faucibus. Nam semper risus eget nibh suscipit auctor. Nunc vitae ligula a
> enim mattis tincidunt. Quisque pharetra quam a mi varius accumsan. In
> malesuada augue eu urna pulvinar dignissim. Proin ligula eros, lacinia sed
> adipiscing sed, tincidunt et tortor
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla blandit
> eros ac nulla tempus malesuada. Nam varius ipsum eros. Vestibulum et
> volutpat magna. Curabitur consectetur augue in nisl consectetur, ut tempor
> enim venenatis. Vestibulum rhoncus, ante suscipit ullamcorper auctor,
> tortor velit convallis nisl, ut elementum enim elit ullamcorper odio. Nam
> posuere placerat libero, vel aliquet nisl ultrices quis. Suspendisse porta,
> purus eu adipiscing ultrices, nulla arcu suscipit leo, non aliquam ligula
> turpis eget erat. Interdum et malesuada fames ac ante ipsum primis in
> faucibus. Nam semper risus eget nibh suscipit auctor. Nunc vitae ligula a
> enim mattis tincidunt. Quisque pharetra quam a mi varius accumsan. In
> malesuada augue eu urna pulvinar dignissim. Proin ligula eros, lacinia sed
> adipiscing sed, tincidunt et tortor
> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla blandit
> eros ac nulla tempus malesuada. Nam varius ipsum eros. Vestibulum et
> volutpat magna. Curabitur consectetur augue in nisl consectetur, ut tempor
> enim venenatis. Vestibulum rhoncus, ante suscipit ullamcorper auctor,
> tortor velit convallis nisl, ut elementum enim elit ullamcorper odio. Nam
> posuere placerat libero, vel aliquet nisl ultrices quis. Suspendisse porta,
> purus eu adipiscing ultrices, nulla arcu suscipit leo, non aliquam ligula
> turpis eget erat. Interdum et malesuada fames ac ante ipsum primis in
> faucibus. Nam semper risus eget nibh suscipit auctor. Nunc vitae ligula a
> enim mattis tincidunt. Quisque pharetra quam a mi varius accumsan. In
> malesuada augue eu urna pulvinar dignissim. Proin ligula eros, lacinia sed
> adipiscing sed, tincidunt et tortor
> </body>
> </html>
>
>
>
>
> On Wed, Jan 15, 2014 at 12:20 AM, Karl Tiedt <ktiedt at gmail.com> wrote:
>
>> Interesting, not what I was expecting, had seen this in ie long ago but
>> not the others.... Can you really reproduce this in a bare test case?
>>
>> -- Karl Tiedt
>> On Jan 14, 2014 9:34 PM, "Jean-Rubin Leonard" <jrleonard at gmail.com>
>> wrote:
>>
>>> I'm witnessing it in FF 26, Chrome 31 and Safari 7.0.
>>> JR
>>>
>>>
>>> On Tue, Jan 14, 2014 at 10:15 PM, Karl Tiedt <ktiedt at gmail.com> wrote:
>>>
>>>> Can you provide more details like browser versions that you are seeing
>>>> this in?
>>>>
>>>> -- Karl Tiedt
>>>> On Jan 14, 2014 9:03 PM, "Jean-Rubin Leonard" <jrleonard at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi guys, I have a dijit.dialog and I just noticed that it is
>>>>> transparent. Is there anyway I can remedy that? I also notice that I have
>>>>> other dialogs on my code that are NOT transparent but I suspect that's
>>>>> because they contain content panes. Is there a way to make a dijit.Dialog
>>>>> opaque without adding a contentPane specifically for that purpose?
>>>>>
>>>>> I checked the dijit.Dialog's styling and the opacity is set at 1 yet I
>>>>> still see the stuff thats below it. Anyone can help shed some light on this
>>>>> behavior?
>>>>>
>>>>> Thanks in advance,
>>>>> JR
>>>>>
>>>>> ________________________________________________________
>>>>> Dojo Toolkit: http://dojotoolkit.org/
>>>>> Tutorials: http://dojotoolkit.org/documentation/
>>>>> Reference Guide: http://dojotoolkit.org/reference-guide
>>>>> API Documentation: http://dojotoolkit.org/api
>>>>>
>>>>> Dojo-interest at mail.dojotoolkit.org
>>>>> To unsubscribe, visit:
>>>>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>>>>
>>>>>
>>>> ________________________________________________________
>>>> Dojo Toolkit: http://dojotoolkit.org/
>>>> Tutorials: http://dojotoolkit.org/documentation/
>>>> Reference Guide: http://dojotoolkit.org/reference-guide
>>>> API Documentation: http://dojotoolkit.org/api
>>>>
>>>> Dojo-interest at mail.dojotoolkit.org
>>>> To unsubscribe, visit:
>>>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>>>
>>>>
>>>
>>> ________________________________________________________
>>> Dojo Toolkit: http://dojotoolkit.org/
>>> Tutorials: http://dojotoolkit.org/documentation/
>>> Reference Guide: http://dojotoolkit.org/reference-guide
>>> API Documentation: http://dojotoolkit.org/api
>>>
>>> Dojo-interest at mail.dojotoolkit.org
>>> To unsubscribe, visit:
>>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>>
>>>
>> ________________________________________________________
>> Dojo Toolkit: http://dojotoolkit.org/
>> Tutorials: http://dojotoolkit.org/documentation/
>> Reference Guide: http://dojotoolkit.org/reference-guide
>> API Documentation: http://dojotoolkit.org/api
>>
>> Dojo-interest at mail.dojotoolkit.org
>> To unsubscribe, visit:
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>
> ________________________________________________________
> Dojo Toolkit: http://dojotoolkit.org/
> Tutorials: http://dojotoolkit.org/documentation/
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
>
> Dojo-interest at mail.dojotoolkit.org
> To unsubscribe, visit:
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20140118/bbb0afb8/attachment.htm 


More information about the Dojo-interest mailing list