PageSourceSearch

https://www.taipeibex.com.tw/js/page.js?_v=1791442652284

js taipeibex.com.tw collected 2026-10-08 06:58:00 UTC 3,428 bytes, 116 lines download raw bytes

1// 自行加入的JS請寫在這裡
2$(function() {
3	  
4	  $('.counter').each(function() {
5        var $this = $(this),
6            countTo = $this.attr('data-count');
7        $({ countNum: $this.text() }).animate({
8            countNum: countTo
9        }, {
10            duration: 5000,
11            easing: 'linear',
12            step: function() {
13                $this.text(Math.floor(this.countNum));
14            },
15            complete: function() {
16                $this.text(this.countNum);
17                //alert('finished');
18            }
19        });
20    });
21	  
22});
23
24//user自訂影音和podcast -JS-
25
26$('.PP_slider').slick({
27        lazyLoad: 'ondemand',
28        dots: false,
29        infinite: true,
30        speed: 500,
31        slidesToShow: 3,
32        slidesToScroll: 1,
33        autoplay: false,
34        autoplaySpeed: 1500,
35        pauseOnHover: true,
36        pauseOnFocus: true,
37        focusOnSelect: false,
38        accessibility: true,
39        responsive: [{
40            breakpoint: 768,
41            settings: {
42                slidesToShow: 2,
43                slidesToScroll: 2,
44                infinite: true,
45                dots: false
46            }
47        }, {
48            breakpoint: 545,
49            settings: {
50                arrows: true,
51                slidesToShow: 1,
52                slidesToScroll: 1,
53				dots: false
54            }
55        }, {
56            breakpoint: 480,
57            settings: {
58                arrows: true,
59                slidesToShow: 1,
60                slidesToScroll: 1,
61				dots: false
62            }
63        }]
64    });
65	
66	
67	$(function(){
68		//Examples of how to assign the Colorbox event to elements
69		$(".iframe").colorbox({rel:'iframe', iframe:true, slideshow:true, slideshowAuto:false, width:"80%", height:"80%"});
70		$(".callbacks").colorbox({
71			onOpen:function(){ alert('onOpen: colorbox is about to open'); },
72			onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
73			onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
74			onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
75			onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
76		});
77
78		//Example of preserving a JavaScript event for inline calls.
79		$("#click").click(function(){ 
80			$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
81			return false;
82		});
83		
84		$(".playHtml").css("display","block");
85		$(".stopHtml").css("display","none");
86		
87		$(".pClick").click(function(){
88			var x = document.getElementById("myau");
89			if($(this).find(".playHtml").css("display")!="none"){
90				$("#myau").show();
91				$("#myau").attr("src", $(this).attr("href"));
92				$("#myau").seeking=0;
93				x.play();
94				$(".playHtml").css("display","block");
95				$(".stopHtml").css("display","none");
96				$(this).find(".stopHtml").css("display","block");
97				$(this).find(".playHtml").css("display","none");
98			}else{
99				$(this).find(".stopHtml").css("display","none");
100				$(this).find(".playHtml").css("display","block");
101				x.pause();
102				$("#myau").hide();			
103			}
104			return false;
105		});
106		
107		$(".iframe").click(function(){
108			$(".playHtml").css("display","block");
109			$(".stopHtml").css("display","none");
110			var x = document.getElementById("myau");
111			x.pause();
112			$("#myau").hide();	
113		});
114		
115		
116	});

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.