1var jQuery = jQuery.noConflict(); 2jQuery(document).ready(function () { 3 4 //Display Table Nav Style Script 5 //jQuery('nav').horizontalNav(); 6 7 //Mobile Navigation Script 8 jQuery(".flexnav").flexNav(); 9 10 11 var jQueryslider = jQuery('.slider_outer ul').bxSlider({ 12 maxSlides:4, 13 minSlides:1, 14 moveSlides:1, 15 prevText : '', 16 nextText : '', 17 auto : true, 18 easing : 'easeInOutQuint', 19 pause : 4000, 20 pager :false 21 22 }); 23 24 //Cufon Font 25 //Cufon.replace('.header_title01',{fontFamily: 'Trajan Pro', fontWeight: 700}); 26 27}); 28 29jQuery(window).load(function() { // makes sure the whole site is loaded 30 jQuery("#status").fadeOut(); // will first fade out the loading animation 31 jQuery("#preloader").delay(1000).fadeOut("slow"); // will fade out the white DIV that covers the website. 32}); 33 34 35//Placehoder Script 36(function(jQuery) { 37 jQuery.extend(jQuery,{ placeholder: { 38 browser_supported: function() { 39 return this._supported !== undefined ? 40 this._supported : 41 ( this._supported = !!('placeholder' in jQuery('<input type="text">')[0]) ); 42 }, 43 shim: function(opts) { 44 var config = { 45 color: '#888', 46 cls: 'placeholder', 47 selector: 'input[placeholder], textarea[placeholder]' 48 }; 49 jQuery.extend(config,opts); 50 return !this.browser_supported() && jQuery(config.selector)._placeholder_shim(config); 51 } 52 }}); 53 54 jQuery.extend(jQuery.fn,{ 55 _placeholder_shim: function(config) { 56 function calcPositionCss(target) 57 { 58 var op = jQuery(target).offsetParent().offset(); 59 var ot = jQuery(target).offset(); 60 61 return { 62 top: ot.top - op.top, 63 left: ot.left - op.left, 64 width: jQuery(target).width() 65 }; 66 } 67 function adjustToResizing(label) { 68 var jQuerytarget = label.data('target'); 69 if(typeof jQuerytarget !== "undefined") { 70 label.css(calcPositionCss(jQuerytarget)); 71 jQuery(window).one("resize", function () { adjustToResizing(label); }); 72 } 73 } 74 return this.each(function() { 75 var jQuerythis = jQuery(this); 76 77 if( jQuerythis.is(':visible') ) { 78 79 if( jQuerythis.data('placeholder') ) { 80 var jQueryol = jQuerythis.data('placeholder'); 81 jQueryol.css(calcPositionCss(jQuerythis)); 82 return true; 83 } 84 85 var possible_line_height = {}; 86 if( !jQuerythis.is('textarea') && jQuerythis.css('height') != 'auto') { 87 possible_line_height = { lineHeight: jQuerythis.css('height'), whiteSpace: 'nowrap' }; 88 } 89 90 var ol = jQuery('<label />') 91 .text(jQuerythis.attr('placeholder')) 92 .addClass(config.cls) 93 .css(jQuery.extend({ 94 position:'absolute', 95 display: 'inline', 96 float:'none', 97 overflow:'hidden', 98 textAlign: 'left', 99 color: config.color, 100 cursor: 'text', 101 paddingTop: jQuerythis.css('padding-top'), 102 paddingRight: jQuerythis.css('padding-right'), 103 paddingBottom: jQuerythis.css('padding-bottom'), 104 paddingLeft: jQuerythis.css('padding-left'), 105 fontSize: jQuerythis.css('font-size'), 106 fontFamily: jQuerythis.css('font-family'), 107 fontStyle: jQuerythis.css('font-style'), 108 fontWeight: jQuerythis.css('font-weight'), 109 textTransform: jQuerythis.css('text-transform'), 110 backgroundColor: 'transparent', 111 zIndex: 99 112 }, possible_line_height)) 113 .css(calcPositionCss(this)) 114 .attr('for', this.id) 115 .data('target',jQuerythis) 116 .click(function(){ 117 jQuery(this).data('target').focus(); 118 }) 119 .insertBefore(this); 120 jQuerythis 121 .data('placeholder',ol) 122 .focus(function(){ 123 ol.hide(); 124 }).blur(function() { 125 ol[jQuerythis.val().length ? 'hide' : 'show'](); 126 }).triggerHandler('blur'); 127 jQuery(window).one("resize", function () { adjustToResizing(ol); }); 128 } 129 }); 130 } 131 }); 132})(jQuery); 133 134jQuery(document).add(window).bind('ready load', function() { 135 if (jQuery.placeholder) { 136 jQuery.placeholder.shim(); 137 } 138});
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.