PageSourceSearch

https://tourist-informator.info/tdmit/booking/js/jquery.wresize.js

js tourist-informator.info collected 2026-10-02 12:31:36 UTC 1,539 bytes, 74 lines download raw bytes

1/*  
2===============================================================================
3WResize is the jQuery plugin for fixing the IE window resize bug
4...............................................................................
5                                               Copyright 2007 / Andrea Ercolino
6-------------------------------------------------------------------------------
7LICENSE: http://www.opensource.org/licenses/mit-license.php
8WEBSITE: http://noteslog.com/
9===============================================================================
10*/
11
12( function( $ ) 
13{
14	$.fn.wresize = function( f ) 
15	{
16		version = '1.1';
17		wresize = {fired: false, width: 0};
18
19		function resizeOnce() 
20		{
21			if ( $.browser.msie )
22			{
23				if ( ! wresize.fired )
24				{
25					wresize.fired = true;
26				}
27				else 
28				{
29					var version = parseInt( $.browser.version, 10 );
30					wresize.fired = false;
31					if ( version < 7 )
32					{
33						return false;
34					}
35					else if ( version == 7 )
36					{
37						//a vertical resize is fired once, an horizontal resize twice
38						var width = $( window ).width();
39						if ( width != wresize.width )
40						{
41							wresize.width = width;
42							return false;
43						}
44					}
45				}
46			}
47
48			return true;
49		}
50
51		function handleWResize( e ) 
52		{
53			if ( resizeOnce() )
54			{
55				return f.apply(this, [e]);
56			}
57		}
58
59		this.each( function() 
60		{
61			if ( this == window )
62			{
63				$( this ).resize( handleWResize );
64			}
65			else
66			{
67				$( this ).resize( f );
68			}
69		} );
70
71		return this;
72	};
73
74} ) ( 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.