PageSourceSearch

https://www.directbooking.ro/scripts/jquery.bgiframe.min.js

js directbooking.ro collected 2026-09-25 00:27:15 UTC 1,909 bytes, 40 lines download raw bytes

1/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
2* Licensed under the MIT License (LICENSE.txt).
3*
4* Version 2.1.3-pre
5*/
6
7(function ($) {
8
9    jQuery.browser = {};
10    $.fn.bgiframe = (jQuery.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function (s) {
11        s = $.extend({
12            top: 'auto', // auto == .currentStyle.borderTopWidth
13            left: 'auto', // auto == .currentStyle.borderLeftWidth
14            width: 'auto', // auto == offsetWidth
15            height: 'auto', // auto == offsetHeight
16            opacity: true,
17            src: 'javascript:false;'
18        }, s);
19        var html = '<iframe class="bgiframe"frameborder="0"tabindex="-1"src="' + s.src + '"' +
20                   'style="display:block;position:absolute;z-index:-1;' +
21                       (s.opacity !== false ? 'filter:Alpha(Opacity=\'0\');' : '') +
22                       'top:' + (s.top == 'auto' ? 'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')' : prop(s.top)) + ';' +
23                       'left:' + (s.left == 'auto' ? 'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')' : prop(s.left)) + ';' +
24                       'width:' + (s.width == 'auto' ? 'expression(this.parentNode.offsetWidth+\'px\')' : prop(s.width)) + ';' +
25                       'height:' + (s.height == 'auto' ? 'expression(this.parentNode.offsetHeight+\'px\')' : prop(s.height)) + ';' +
26                '"/>';
27        return this.each(function () {
28            if ($(this).children('iframe.bgiframe').length === 0)
29                this.insertBefore(document.createElement(html), this.firstChild);
30        });
31    } : function () { return this; });
32
33    // old alias
34    $.fn.bgIframe = $.fn.bgiframe;
35
36    function prop(n) {
37        return n && n.constructor === Number ? n + 'px' : n;
38    }
39
40})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.