<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/jqueryshim/patches/" rel="alternate"/><link href="https://sourceforge.net/p/jqueryshim/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/jqueryshim/patches/</id><updated>2010-08-12T13:35:56Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Support for Chrome 5.0and FF 3.6</title><link href="https://sourceforge.net/p/jqueryshim/patches/1/" rel="alternate"/><published>2010-08-12T13:35:56Z</published><updated>2010-08-12T13:35:56Z</updated><author><name>Hansson</name><uri>https://sourceforge.net/u/hanssonj/</uri></author><id>https://sourceforge.nete7882c1d3f7b82cf72b32a9f9616fdad86ec7ce4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is quite few changes:&lt;/p&gt;
&lt;p&gt;/*&lt;br /&gt;
*  Shim jQuery Plug-in jqRevision: 3 jq&lt;br /&gt;
*  &amp;lt;https://sourceforge.net/projects/jqueryshim&amp;gt;&lt;br /&gt;
*&lt;br /&gt;
*  Copyright (c) 2010 Dave Willkomm&lt;br /&gt;
*  Licensed under the MIT License&lt;br /&gt;
*  &amp;lt;http://www.opensource.org/licenses/mit-license.php&amp;gt;&lt;br /&gt;
*&lt;br /&gt;
* Patched to work in Chrome 5.0 and FF 3.6.8 by Jesper Hansson, Grontmij | Carl Bro&lt;br /&gt;
*/&lt;br /&gt;
(function(jq) {&lt;/p&gt;
&lt;p&gt;jq.fn.shim = function()&lt;br /&gt;
{&lt;br /&gt;
this.each(function()&lt;br /&gt;
{&lt;br /&gt;
var bgc = (jq.browser.mozilla) ? 'white' : 'none';&lt;br /&gt;
var element = jq(this),&lt;br /&gt;
offset = element.offset(),&lt;br /&gt;
html = '&amp;lt;iframe class="shim" frameborder="0" style="' +&lt;br /&gt;
'display: block;'+&lt;br /&gt;
'background-color: ' + bgc + ';' +&lt;br /&gt;
'position: absolute;' + &lt;br /&gt;
'top:' + offset.top + 'px;' +&lt;br /&gt;
'left:' + offset.left + 'px;' +&lt;br /&gt;
'width:' + element.outerWidth() + 'px;' +&lt;br /&gt;
'height:' + element.outerHeight() + 'px;' +&lt;br /&gt;
'z-index:' + (Number(element.css('z-index')) - 1) + ';' +&lt;br /&gt;
'"/&amp;gt;';&lt;br /&gt;
element.before(html);&lt;br /&gt;
});&lt;/p&gt;
&lt;p&gt;return this;&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;jq.fn.unshim = function()&lt;br /&gt;
{&lt;br /&gt;
this.each(function()&lt;br /&gt;
{&lt;br /&gt;
jq(this).prev("iframe.shim").remove();&lt;br /&gt;
});&lt;/p&gt;
&lt;p&gt;return this;&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;})(jQuery);&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>