View Full Version : IE 6 Secure and non secure pages DHTML Window Widget

06-03-2008, 10:04 PM
1) Script Title: DHTML Window Widget

2) Script URL (on DD):

3) Describe problem:
I use the above script in a CodeCharge Studio 3.x project that pops the window open from a link in a grid - which is just HTML <a> </a> type link.

The site is access via SSL and when I attempt to use it in IE6 it complains that some elements are not secure. I can use it in Firefox without issue.

I tried changing the image references to relative and absolute with https: to see if that would fix it - however, i don't know where in the rest of the .js file i might need to change things.

any help appreciated, hate having end users required to answer 'yes' each time they visit the page


06-04-2008, 12:38 AM
Hmm all the files used by the DHTML window widget are contained in the zip file you downloaded. As long as all these files are behind the SSL, you should not get that prompt even in IE. This is assuming the page you're loading inside the DHTML window is also behind the SSL.

Please post a link to the page on your site that contains the problematic script so we can check it out.

06-04-2008, 01:06 AM
ok, give me a little while to rig up a test site tonight - thanks in advance

06-04-2008, 02:24 AM

here's the content of the application from my web server that is generated by CodeCharge Studios 3.x


the live site is:


the iframe mode is the first link in the column, the ajax mode is the 2nd link. the form called works best in the iframe where i want it to update and be redisplayed to the user, but it produces the error.

the ajax method calls the form page properly without errors, but when i submit i want to return to the updated form or to the original grid list instead the submitted form returns to itself (it's page) and takes up the whole browse window


06-04-2008, 07:56 AM
I see the prompt occurs in IE6, but not IE7. Anyhow, the icon images used by the window interface (ie: "min" and "close") are broken. This may be what's throwing the SSL warning in IE6. Make sure the paths to them inside the .js file is valid:

imagefiles:['../myfunctions/windowfiles/min.gif', 'windowfiles/close.gif', 'windowfiles/restore.gif', 'windowfiles/resize.gif'],

06-04-2008, 10:31 AM
i have changed the code back to the original paths (i had changed it to try to get the function/script to run from one place ) and put the required GIFs in a folder 'windowfiles' in the folder where the other pages reside. I did not update the ZIP file with this info.

you can now see the gifs on the window properly, but it still throws the error.

IE 7 is an option, but so many folks still use IE 6

the error doesn't happen with the ajax link nor in firefox, i think it's IE 6 and the IFrame ??

thanks in advance for any advice

06-04-2008, 11:02 AM
I guess my other option would be to use javascript window.open command - just have to get users to allow popups from my site...yes ??

06-04-2008, 07:07 PM
Hmm you may want to do a search Google, it seem you're not the only one with this problem (http://www.google.com/search?q=%22this+page+contains+both+secure+and+nonsecure+items%22+ie6+iframe+bug&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enCA244CA244).