PageSourceSearch

https://www.designhotel.com.tw/js/facilities.js

js designhotel.com.tw collected 2026-10-05 17:47:49 UTC 2,910 bytes, 79 lines download raw bytes

1/// <reference path="jquery.min.js" />
2/// <reference path="supersized.3.2.7.js" />
3/// <reference path="supersized.shutter.js" />
4/// <reference path="loading.js" />
5
6var isShow = true;
7$(document).ready( function() {		
8	//$("div.cubeinfo").animate({'left':'100px'}, 1000);
9	$("a.close1").delay(1500).animate({'left':'-40px'}, 1000, function(){
10			$('a.close1').click(showDiv);
11			isShow = true;
12		}
13	);
14
15});
16
17var showDiv = function(){
18	if(isShow == true) {
19		$("a.close1").animate({'left':'none'}, 1000, function(){
20			$("a.close1").css({'background':'url(../../images/ZH-TW/all/open1.png)'});
21			});
22		$(".cubeinfo01").animate({'right':'-440px'}, 1000, function(){
23			isShow = false;
24		});
25	}
26	else{
27    	$("a.close1").animate({'left':'none'}, 1000, function(){
28			$("a.close1").css({'background':'url(../../images/ZH-TW/all/close1.png)'});
29			});
30		$(".cubeinfo01").animate({'right':'50px'}, 1000, function(){
31			isShow = true;
32		});
33	}
34		$(window).resize(function() {
35		if ($(window).width() < 1060) {
36             $(".cubeinfo01").removeAttr("style");
37		}
38	});
39}
40
41var fullBGEvent = function () {
42    if ($(window).width() <= 1060) {
43        //背景輪播框架
44        if ($(".fullBG") != undefined) {
45            $(".fullBG").css('height', $(".fullBG ul#supersized li > a > img").height());
46            $(".fullBG ul#supersized").css('height', $(".fullBG ul#supersized li > a > img").height());
47            $(".fullBG ul#supersized li").css('height', $(".fullBG ul#supersized li > a > img").height());
48            if ($(".fullBG ul#supersized li > a > img").height() > $(window).height()) {
49                $("html").css({
50                    "overflow": "hidden"
51                });
52            }
53        }
54    } else {
55        //背景輪播框架
56        if ($(".fullBG") != undefined) {
57            $(".fullBG").removeAttr("style");
58            $(".fullBG ul#supersized").removeAttr("style");
59            $(".fullBG ul#supersized li").removeAttr("style");
60        }
61    }
62};
63
64$(function () {
65    //啟動背景輪播
66    if ($(".fullBG") != undefined) {
67        loading.start(LoadingList, function () {
68            $.supersized({
69                slide_interval: 3000,	//圖片輪播間隔
70                transition: 1, 			//圖片轉換效果 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
71                transition_speed: 700,	//圖片轉換效果速度        
72                slide_links: 'blank',	// 圖片底部顯示資訊 false-不顯示, num-數值, name-圖片名稱, blank-空白
73                slides: BackgroundImage//要輪播的圖片清單 image-圖片路徑, title-圖片名稱,thumb-縮圖, url-點擊連結                   
74            });
75            //fullBGEvent();
76            $(window).resize(fullBGEvent);
77        });
78    }
79});

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.