PageSourceSearch

https://go2income.com/js/script.js

js go2income.com collected 2026-10-08 22:40:38 UTC 8,183 bytes, 138 lines download raw bytes

1if($.browser.mozilla||$.browser.opera){document.removeEventListener("DOMContentLoaded",$.ready,false);document.addEventListener("DOMContentLoaded",function(){$.ready()},false)}$.event.remove(window,"load",$.ready);$.event.add( window,"load",function(){$.ready()});$.extend({includeStates:{},include:function(url,callback,dependency){if(typeof callback!='function'&&!dependency){dependency=callback;callback=null}url=url.replace('\n','');$.includeStates[url]=false;var script=document.createElement('script');script.type='text/javascript';script.onload=function(){$.includeStates[url]=true;if(callback)callback.call(script)};script.onreadystatechange=function(){if(this.readyState!="complete"&&this.readyState!="loaded")return;$.includeStates[url]=true;if(callback)callback.call(script)};script.src=url;if(dependency){if(dependency.constructor!=Array)dependency=[dependency];setTimeout(function(){var valid=true;$.each(dependency,function(k,v){if(!v()){valid=false;return false}});if(valid)document.getElementsByTagName('head')[0].appendChild(script);else setTimeout(arguments.callee,10)},10)}else document.getElementsByTagName('head')[0].appendChild(script);return function(){return $.includeStates[url]}},readyOld:$.ready,ready:function(){if($.isReady) return;imReady=true;$.each($.includeStates,function(url,state){if(!state)return imReady=false});if(imReady){$.readyOld.apply($,arguments)}else{setTimeout(arguments.callee,10)}}});
2$.include('js/superfish.js')
3$.include('js/jquery.hoverIntent.minified.js')
4$.include('js/tms-0.4.1.js')
5$.include('js/uCarousel.js')
6$.include('js/jquery.easing.1.3.js')
7$.include('js/jquery.tools.min.js')
8$.include('js/jquery.jqtransform.js')
9$.include('js/jquery.quicksand.js')
10$.include('js/jquery.snippet.min.js')
11$.include('js/jquery-ui-1.8.17.custom.min.js')
12$.include('js/jquery.cycle.all.min.js')
13$.include('js/jquery.cookie.js')
14$(function(){
15	if($('.pro_tweet').length || $('.tweet').length)$.include('js/jquery.tweet.js');
16	if($('.lightbox-image').length)$.include('js/jquery.prettyPhoto.js');
17	if($('#pro_contact-form').length || $('#contact-form').length)$.include('js/forms.js');
18	if($('.pro_kwicks').length)$.include('js/kwicks-1.5.1.pack.js');
19	if($('#pro_counter').length)$.include('js/jquery.countdown.min.js');
20	if($('.fixedtip').length||$('.clicktip').length||$('.normaltip').length)$.include('js/jquery.atooltip.pack.js')
21// Code
22	$("pre.pro_htmlCode2").snippet("html",{style:"print",showNum:false,menu:false});
23	$("pre.pro_jsCode2").snippet("javascript",{style:"print",showNum:false,menu:false});
24// SlideDown
25	$(".pro_description-box dd").show()
26	$("pre.pro_htmlCode").snippet("html",{style:"print"});			
27	$("pre.pro_cssCode").snippet("css",{style:"print"});			
28	$("pre.pro_jsCode").snippet("javascript",{style:"print"});
29	$(".pro_description-box dd").hide()	
30	$(".pro_description-box dt").click(function(){
31		$(this).toggleClass("active").parent(".pro_description-box").find("dd").slideToggle(400);					
32	});
33	$(".pro_slide-down-box dt").click(function(){$(this).toggleClass("active").parent(".pro_slide-down-box").find("dd").slideToggle(200);});
34	$(".pro_slide-down-box2 dt").click(function(){$(this).toggleClass("active").parent(".pro_slide-down-box2").find("dd").slideToggle(200);});	
35// Tabs
36//	$(".pro_tabs1 ul").tabs(".pro_tabs1 .pro_tab-content");
37//	$(".pro_tabs2 ul").tabs(".pro_tabs2 .pro_tab-content");
38//	$(".pro_tabs3 ul").tabs(".pro_tabs3 .pro_tab-content");
39//	$(".pro_tabs4 ul").tabs(".pro_tabs4 .pro_tab-content");
40//	$(".pro_tabs5 ul").tabs(".pro_tabs5 .pro_tab-content");
41//	$(".pro_tabs-horz-top ul.pro_tabs-nav").tabs(".pro_tabs-horz-top .pro_tab-content");
42//	$(".pro_tabs-horz-bottom ul.pro_tabs-nav").tabs(".pro_tabs-horz-bottom .pro_tab-content");
43//	$(".pro_tabs-horz-top2 ul.pro_tabs-nav").tabs(".pro_tabs-horz-top2 .pro_tab-content");
44//	$(".pro_tabs-horz-bottom2 ul.pro_tabs-nav").tabs(".pro_tabs-horz-bottom2 .pro_tab-content");
45//	$(".pro_tabs-vert-left ul.pro_tabs-nav").tabs(".pro_tabs-vert-left .pro_tab-content");
46//	$(".pro_tabs-vert-right ul.pro_tabs-nav").tabs(".pro_tabs-vert-right .pro_tab-content");	
47// Forms
48	$('#pro_form2').jqTransform({imgPath:'images/'});
49// Carausel
50	$('.pro_list-car').uCarousel({show:4,buttonClass:'pro_car-button', pageStep:1, shift:false})
51	$('.pro_carousel').uCarousel({show:4,buttonClass:'pro_car-button'})
52	$('.carousel').uCarousel({show:4,buttonClass:'car-button'})
53// Slider
54	$('.pro_slider')._TMS({
55		show:0,
56		pauseOnHover:false,
57		prevBu:'.pro_prev',
58		nextBu:'.pro_next',
59		playBu:'.pro_play',
60		items:'.pro_items>li',
61		duration:1000,
62		preset:'simpleFade',
63		bannerCl:'pro_banner',
64		numStatusCl:'pro_numStatus',
65		pauseCl:'pro_paused',
66		pagination:true,
67		paginationCl:'pro_pagination',
68		pagNums:false,
69		slideshow:7000,
70		numStatus:true,
71		banners:'fade',// fromLeft, fromRight, fromTop, fromBottom
72		waitBannerAnimation:false,
73		progressBar:'<div class="pro_progbar"></div>'})	
74// Simple Gallery
75	$('.pro_simple_gallery')._TMS({
76			show:0,
77			pauseOnHover:true,
78			prevBu:false,
79			nextBu:false,
80			playBu:false,
81			pagNums:false,
82			numStatus:false,
83			duration:1000,
84			preset:'simpleFade',
85			items:'.pro_items>li',
86			bannerCl:'pro_banner',
87			pagination:$('.pro_img-pags').uCarousel({show:10,shift:0,buttonClass:'pro_btn'}),
88			paginationCl:'pro_gal-pags',
89			slideshow:5000,
90			banners:'fade',// fromLeft, fromRight, fromTop, fromBottom
91			waitBannerAnimation:false,
92			progressBar:'<div class="pro_progbar"></div>'})		
93// Ranges	
94$("#pro_font-size-slider").change(function(e) {$(".pro_icons.pro_basic li a").css("font-size", $(this).val() + "px");});
95$(".pro_color-slider").change(function(e) {$(".pro_icons.pro_basic li a").css("color", "hsla(" + $("#pro_color-slider-1").val() + ", " + $("#pro_color-slider-2").val() + "%, " + $("#pro_color-slider-3").val() + "%, 1)");	});
96$(".pro_shadow-slider").change(function(e) {	$(".pro_icons.pro_basic li a").css("text-shadow", $("#pro_shadow-slider-1").val() + "px " + $("#pro_shadow-slider-2").val() + "px " + $("#pro_shadow-slider-3").val() + "px black");	 });
97// Testimonials
98	$('#pro_testimonials').cycle({fx:'fade', height:'auto',timeout:0,next:'#pro_next_testim',prev:'#pro_prev_testim', after: onAfter });
99// Buttons
100	$(".pro_notClicked").click(function(event) {event.preventDefault();});
101})
102// Panel
103$(function(){
104
105	$(window).scroll(function(){if ($(this).scrollTop() > 0) {$("#advanced").css({position:'fixed'});} else {$("#advanced").css({position:'relative'});}});
106	$.cookie("panel");	
107	$.cookie("panel2");	
108	var strCookies = $.cookie("panel");
109	var strCookies2 = $.cookie("panel2");
110	if(strCookies=='boo')
111	{
112		if(strCookies2=='opened'){$("#advanced").css({marginTop:'0px'}).removeClass('closed')}else{$("#advanced").css({marginTop:'-40px'}).addClass('closed')}
113		$("#advanced .trigger").toggle(function(){
114			$(this).find('strong').animate({opacity:0}
114).parent().parent('#advanced').removeClass('closed').animate({marginTop:'0px'},"fast");
115			strCookies2=$.cookie("panel2",'opened');
116			strCookies=$.cookie("panel",null);},
117		function(){
118			$(this).find('strong').animate({opacity:1}).parent().parent('#advanced').addClass('closed').animate({marginTop:'-40px'},"fast")
119			strCookies2=$.cookie("panel2",null);
120			strCookies=$.cookie("panel",'boo');});
121		if ($(window).scrollTop() > 0) {$("#advanced").css({position:'fixed'});}else {$("#advanced").css({position:'relative'});}
122	}
123	else
124	{
125		$("#advanced").css({marginTop:'0px'}).removeClass('closed');
126		$("#advanced .trigger").toggle(function(){
127			$(this).find('strong').animate({opacity:1}).parent().parent('#advanced').addClass('closed').animate({marginTop:'-40px'},"fast");
128			strCookies2=$.cookie("panel2",null);
129			strCookies=$.cookie("panel",'boo');},
130		function(){
131			$(this).find('strong').animate({opacity:0}).parent().parent('#advanced').removeClass('closed').animate({marginTop:'0px'},"fast")
132			strCookies2=$.cookie("panel2",'opened');
133			strCookies=$.cookie("panel",null);});
134		if ($(window).scrollTop() > 0) {$("#advanced").css({position:'fixed'});} else {$("#advanced").css({position:'relative'});}
135	}
136
137});
138function onAfter(curr, next, opts, fwd){var $ht=$(this).height();$(this).parent().animate({height:$ht})}

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.