PageSourceSearch

https://databook.cz/weby/databook/js/script.js

js databook.cz collected 2026-10-02 11:42:52 UTC 3,236 bytes, 146 lines download raw bytes

1//home page slider
2var showEffect;
3jQuery.each(jQuery.browser, function(i) {
4  if ($.browser.msie) {
5    showEffect = 'false';
6  }
7});
8
9
10
11
12
13
14
15
16
17
18
19
20
21$(document).ready(function() {
22  var slider_area;
23  var slider_buttons;
24  /*
25  	// Which slider
26  	if ($('#slider_area').length>0){
27  		
28  		// Home Page Slider
29  		slider_area="#slider_area";	
30  		slider_buttons="#numbers";	
31  	
32  		$(slider_area).cycle({ 
33  			fx:     'scrollLeft', 
34  			timeout:  0, //7000
35  			easing: 'backout', 
36  			prev: '.prev', 
37  			next: '.next',
38  			cleartype:  1,
39  			pause:           true,     // true to enable "pause on hover"
40  			pauseOnPagerHover: true,   // true to pause when hovering over pager link				
41  			before:  onBefore, 
42  			after:   onAfter ,				
43  			pagerAnchorBuilder: function(idx) { 
44  				return '<a href="#" title=""><img src="css/images/pixel.gif" width="14" heigth="14"></a>'; 
45  			}
46  		});
47                 
48           
49  		
50  	} 
51
52  	if ($('.sub_slider').length>0){
53  		
54  		// Sub Page Slider
55  		sub_slider_area=".sub_slider";	
56
57  		$(sub_slider_area).cycle({ 
58  			fx:     'fade', 
59  			timeout:  4000,
60  			pager:'.sub_slider_pager',
61  			cleartype:  1
62  		});
63  		
64  	}
65          
66  	
67       // jQuery('.prev, .next').css({opacity:0});
68      
69      jQuery('#slider').hover(function()
70        {
71                jQuery('.prev, .next').stop().animate({opacity:1},400);
72        },
73        function()
74        {
75                jQuery('.prev, .next').stop().animate({opacity:0}
75,400);
76        });
77
78
79  	function onBefore() {
80  		if (showEffect!="false"){
81  			jQuery('.desc').stop().animate({opacity:0},0);
82  		}else{
83  				
84  		}
85  	} 
86  	function onAfter() {
87  		if (showEffect!="false"){
88  			jQuery('.desc').stop().animate({opacity:1},400);
89  		}else{
90  				
91  		}			
92  	}
93  */
94});
95
96
97var i = 0; //initialize
98var cint = 0; //Internet Explorer Fix
99$(window).bind("load", function() { //The load event will only fire if the entire page or document is fully loaded
100  var cint = setInterval("PreImage(i)", 70); //500 is the fade in speed in milliseconds
101});
102
103function PreImage() {
104  var images = $('.preload').length; //count the number of images on the page
105  if (i >= images) { // Loop the images
106    clearInterval(cint); //When it reaches the last image the loop ends
107  }
108  //$('.preload:hidden').eq(i).fadeIn(500);//fades in the hidden images one by one
109  $('.animated_icon').eq(0).animate({ opacity: 1 }, { "duration": 500 });
110  $('.animated').eq(0).animate({ opacity: 1 }, { "duration": 500 });
111  $('.animated').eq(0).removeClass("animated");
112  $('.animated_icon').eq(0).removeClass("animated_icon");
113  i++; //add 1 to the count
114}
115
116//image effects 
117$(document).ready(function() {
118
119  var image_e = $(".image.portf, .image.product_image");
120  image_e.mouseover(function() {
121    $(this).stop().animate({
122      opacity: 0.7
123    }, 400);
124  }).mouseout(function() {
125    image_e.stop().animate({
126      opacity: 1
127    }, 400);
128  });
129});
130
131
132//Coda slider on product detail page
133$(document).ready(function() {
134  if ($('#product-slider').length > 0) {
135    $('#product-slider').codaSlider({
136      dynamicArrows: false,
137      dynamicTabsAlign: "left",
138      dynamicTabsPosition: "top"
139    });
140  }
141});
142
143
144//alert('kuk');
145
146//alert('kuk');

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.