« Return to Thread: dojo.lfx.rounded

dojo.lfx.rounded

by Evrim ULU :: Rate this Message:

Reply to Author | View in Thread

Hi,

I'm having little problem with magnificent dojo.lfx.rounded. In IE, i
get, invalid property value when dojo.lfx.rounded._fns.draw() is called
with third argument as "#NaNfbNan". I think somewhere in IE, the color
cannot be gathered and passed as NaN which is invalid.

Are there any fixes for this bug? I'm using daily svn.

thanks.
evrim.

Here is the CSS:
.header {  
    color:#FFFFFF;
    font-weight:bold;
    background-color:#031C3E;
    width: 100%;
    height: 60px;
    border:1px solid black;
}

Some HTML:
<div class="header" ../>

Backtrack:
        draw:function(x, y, color, opac, height, corner, image, radius, top, format){
                var px=document.createElement("div");
                px.style.height=height+"px"
                px.style.width="1px";
                px.style.position="absolute";
                px.style.fontSize="1px";
                px.style.overflow="hidden";
                if(image==-1 && format.bgImage!=""){
                        px.style.backgroundImage=format.bgImage;
                        px.style.backgroundPosition="-"+(format.width-(radius-x)+format.borderWidth) +"px-"+((format.height+top+y)-format.borderWidth)+"px";
                } else {
        px.style.backgroundColor=color;  <--- ***DEBUGGER enters here***
                }
                if(opac!=100){ dojo.html.setOpacity(px, (opac/100)); }
                px.style.top=y+"px";
                px.style.left=x+"px";
                corner.appendChild(px);
        },

_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest@...
http://dojotoolkit.org/mailman/listinfo/dojo-interest

 « Return to Thread: dojo.lfx.rounded