Sha256: 9f9ac3ddb94c910a66a6d6d1183fa4c82a140da2f6a410d4226432bf6d17aa5f

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

(function(b){function c(a){return a&&a.constructor===Number?a+"px":a}b.fn.bgiframe=b.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(a){var a=b.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},a),d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+a.src+'"style="display:block;position:absolute;z-index:-1;'+(a.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+(a.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
c(a.top))+";left:"+(a.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":c(a.left))+";width:"+(a.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":c(a.width))+";height:"+(a.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":c(a.height))+';"/>';return this.each(function(){b(this).children("iframe.bgiframe").length===0&&this.insertBefore(document.createElement(d),this.firstChild)})}:function(){return this};b.fn.bgIframe=b.fn.bgiframe})(jQuery);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compass-jquery-plugin-0.3.3.1 templates/jquery/jquery.bgiframe.min.js
compass-jquery-plugin-0.3.3.0 templates/jquery/jquery.bgiframe.min.js
compass-jquery-plugin-0.3.2.8 templates/jquery/jquery.bgiframe.min.js