DHTML HTTPS IE Bug

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);
 
T

tydbowl

Interesting... what happens if you move the images directory into the
current directory instead of up one level?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top