DHTML HTTPS IE Bug

  • Thread starter Thread starter slov1
  • Start date Start date
S

slov1

When IE is in HTTPS mode,
DHTML will make IE to alert the user to an unsecure image in page,
when it is not.
The BUG is when IE thinks the location of a table's background image
is not from a https secure path, but when it is secure (a relative
location path is given in the below code).


var div=document.createElement('div');
div.id = "MessageLayer";
div.name = "MessageLayer";
div.innerHTML="<table background=../images/message_ani.gif'
cellpadding=0 cellspacing=0 border=0 width=205 height=173><tr><td
valign=middle align=center><br><br>" strMsg "</td></tr><tr><td
align=right valign=bottom><a
href='javascript:closeMsg()'>close</a></td></tr></table>";
div.style.position = "absolute";
div.style.zIndex = 50;
div.style.top=iT
div.style.left=iW;
div.style.display = "";
document.body.appendChild(div);
 
Interesting... what happens if you move the images directory into the
current directory instead of up one level?
 
Back
Top