Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Empty iframe src causes security warning popup in IE6


Project:History
Version:1.0.0-beta-1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

In the code for the init method on History, an iframe is created if the browser is msie. Line 35 has the following:

$("body").prepend('<iframe id="jQuery_history" style="display: none;"></iframe>');

This causes problems in IE6 when the site is served over HTTPS, as you get the "This page contains both secure and nonsecure items." (see http://gemal.dk/blog/2005/01/27/iframe_without_src_attribute_on_https_in...)

To resolve this problem, I have modified the above line of code to the following:

$("body").prepend('<iframe id="jQuery_history" style="display: none;" src="javascript:false;"></iframe>');

jeff bonevich
sr application developer
compendia bioscience, inc.
ann arbor, mi