Hi,
Yes it was a workaround. I think it solved something about mouseevents not
working on a transparent layer or something.
There have been several complaints about this security error, so I think
it's best if we just include a transparent gif in the DynAPI distribution,
and set the background-image's url to that.

richard,
www.richardinfo.com


----- Original Message -----
From: "Scott Severtson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 10:05 PM
Subject: [Dynapi-Dev] background-image:url(javascript:null)


> Does anyone know why in version 2.54 line 154 (line 155 in rc 2.55) of
> dynlayer.js? In context:
>
> DynLayer.prototype.getOuterHTML=function() {
>     var s='<div id="'+this.id+'" style="';
>     if (this.visible==false) s+=' visibility:hidden;';
>     if (this.x!=null) s+=' left:'+this.x+'px;';
>     if (this.y!=null) s+=' top:'+this.y+'px;';
>     if (this.w!=null) s+=' width:'+this.w+'px;';
>     if (this.h!=null) s+=' height:'+this.h+'px;';
>     if (this.clip) s+=' clip:rect('+this.clip[0]+'px '+this.clip[1]+'px
> '+this.clip[2]+'px '+this.clip[3]+'px);';
>     else if (this.w!=null && this.h!=null) s+=' clip:rect(0px '+this.w+'px
> '+this.h+'px 0px);';
>     if (this.z) s+=' z-index='+this.z+';';
>     if (this.bgImage!=null)    s+='
background-image:url('+this.bgImage+');'
>     if (this.bgColor!=null)    s+=' background-color:'+this.bgColor+';'
> --> if (is.ie55 && this.bgImage==null && this.html==null) s+='
> background-image:url(javascript:null);'
>     s+=' position:absolute;">';
>     if (this.html!=null) s+=this.html;
>     for (var i=0; i<this.children.length; i++)
> s+=this.children[i].getOuterHTML();
>     s+='</div>';
>     return s;
> };
>
>
>
> Obviously, it is a work around for a IE 5.5, but it introduces a new bug:
> When viewing a page over a secure connection, it triggers the message:
>     This page contains both secure and nonsecure items.
>
>     Do you wish to view the nonsecure items?
>
>         Yes    No
>
> IE 5.5 has some issues with Javascript URLs and secure pages. Is there
> another URL that would preserve the intended work-around w/o the security
> warning?
>
> If not, what is the workaround intended to fix, and how bad off would I be
> if I commented the line out (which I have done w/o any major visible
> consequences)?
>
> Thanks.
>
>
>
> Scott Severtson                          [EMAIL PROTECTED]
> Applications Developer                   716.242.8759 x1022
> Auragen Communications Inc.                   Rochester, NY
>
>
> Auragen builds Internet solutions for medium and large businesses.
> Browse examples of our work at http://www.auragen.com/clients/
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-dev
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to