PDA

View Full Version : SSL and YAHOO.ext.EventManager.ieDeferSrc


paultyng
11-01-2006, 11:06 AM
In the following line of code:
document.write('<s'+'cript id="ie-deferred-loader" defer="defer" src="'+YAHOO.ext.EventManager.ieDeferSrc+'"></s'+'cript>');
I get the popup about secure and non-secure items when viewing a site in SSL. The src ends up being 'javascript:false' and IE seems to interpret this as a non-secure URL. When I removed that line the prompt didn't show again. So i'm not entirely sure what the proper solution is, just wanted to post this info.

jack.slocum
11-02-2006, 12:28 AM
That's why that variable exists. :) If you are using it over SSL you will need to set that to a blank file on the secure URL to avoid the SSL warning.

paultyng
11-02-2006, 07:59 AM
Ah, ok, thanks.