eads@18: /* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) eads@18: * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) eads@18: * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. eads@18: * eads@18: * $LastChangedDate: 2007-07-21 18:44:59 -0500 (Sat, 21 Jul 2007) $ eads@18: * $Rev: 2446 $ eads@18: * eads@18: * Version 2.1.1 eads@18: */ eads@18: eads@18: (function($){ eads@18: eads@18: /** eads@18: * The bgiframe is chainable and applies the iframe hack to get eads@18: * around zIndex issues in IE6. It will only apply itself in IE6 eads@18: * and adds a class to the iframe called 'bgiframe'. The iframe eads@18: * is appeneded as the first child of the matched element(s) eads@18: * with a tabIndex and zIndex of -1. eads@18: * eads@18: * By default the plugin will take borders, sized with pixel units, eads@18: * into account. If a different unit is used for the border's width, eads@18: * then you will need to use the top and left settings as explained below. eads@18: * eads@18: * NOTICE: This plugin has been reported to cause perfromance problems eads@18: * when used on elements that change properties (like width, height and eads@18: * opacity) a lot in IE6. Most of these problems have been caused by eads@18: * the expressions used to calculate the elements width, height and eads@18: * borders. Some have reported it is due to the opacity filter. All eads@18: * these settings can be changed if needed as explained below. eads@18: * eads@18: * @example $('div').bgiframe(); eads@18: * @before

Paragraph

eads@18: * @result