Code: Select all
if ($.browser.msie && $.browser.version == 6) {
$('.date, .datetime, .time').bgIframe();
}
Because I am converting the default theme to be based on the HTML5 Boilerplate, and it loads modernizr.js in the head, and all the other JS in the footer, I would rather test for the lack of a feature (using the html class="" that modernizr inserts) than use this removed jquery method of browser detection.
I think it is the only missing method left for me to remove before I go totally 1.9 compatible and remove the jquery-migrate.js shim that simulates these old functions.
So can anyone tell me what feature is missing in IE6 that causes us to need the .bgIframe() method?
I am guessing it might have something to do with the jquery-ui popup calendar type tool, but I have been at this theme conversion for a couple of days now and brain fade has set in <grin>.