<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/jqueryshim/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/jqueryshim/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 12 Aug 2010 13:35:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jqueryshim/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Support for Chrome 5.0and FF 3.6</title><link>https://sourceforge.net/p/jqueryshim/patches/1/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hansson</dc:creator><pubDate>Thu, 12 Aug 2010 13:35:56 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete7882c1d3f7b82cf72b32a9f9616fdad86ec7ce4</guid></item></channel></rss>