@ -1,14 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="animate.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="eskju.jquery.scrollflow.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="bootstrap.min.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="custom.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="first.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="fullscreen-modals.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="ie10-viewport-bug-workaround.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="ie8.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="pace.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="points-int-bbadd.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="style.css" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
</dwsync> |
@ -1,26 +0,0 @@ |
||||
/* Overide CSS */ |
||||
|
||||
|
||||
|
||||
/* Modal CSS */ |
||||
.modal-fullscreen img{ margin: 0 auto 10px; } |
||||
.modal-content{ border:none; } |
||||
.modal-title{ font-weight:100; } |
||||
.close{ font-size:36px; font-weight:500;} |
||||
|
||||
|
||||
/*---------------------------------------------------- |
||||
Responsive - Media Quries |
||||
----------------------------------------------------*/ |
||||
|
||||
@media (max-width: 1199px){} |
||||
|
||||
@media (max-width: 991px){} |
||||
|
||||
@media (max-width: 767px){} |
||||
|
||||
@media (max-width: 479px){} |
||||
|
||||
|
||||
|
||||
|
@ -1,499 +0,0 @@ |
||||
@charset "utf-8"; |
||||
|
||||
/* font */ |
||||
|
||||
|
||||
@font-face { |
||||
font-family: "Segoe UI Light"; |
||||
src: url("../fonts/segoeuil.eot"); /* IE9 Compat Modes */ |
||||
src:local("Segoe UI Light"), |
||||
url("../fonts/segoeuil.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ |
||||
url("../fonts/segoeuil.woff") format("woff"), /* Modern Browsers */ |
||||
url("../fonts/segoeuil.ttf") format("truetype"), /* Safari, Android, iOS */ |
||||
url("../fonts/segoeuil.svg#LandyThanks") format("svg"); /* Legacy iOS */ |
||||
font-weight:normal; |
||||
font-style:normal; |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
/* reset */ |
||||
* {padding:0;margin:0;-webkit-text-size-adjust:none;} |
||||
img {border:0} |
||||
|
||||
select,input {font-family:"Microsoft YaHei", "微软雅黑", Tahoma, Verdana, Arial; font-size:12px;} |
||||
ul,ol {display:block;list-style:none;} |
||||
h1,h2,h3,h4,h5,h6 {display:block;} |
||||
p {display:block;} |
||||
a {text-decoration:none;} |
||||
a:hover {text-decoration:none;} |
||||
em {font-style:normal;} |
||||
|
||||
button {font-family:"Microsoft YaHei", "微软雅黑", Tahoma, Verdana, Arial; font-weight:normal;} |
||||
|
||||
:focus {outline: 0;} |
||||
|
||||
.clearfix {zoom:1} |
||||
.clearfix:after { |
||||
content: "."; |
||||
display: block; |
||||
clear: both; |
||||
visibility: hidden; |
||||
line-height: 0; |
||||
height: 0; |
||||
} |
||||
|
||||
.clear {clear:both;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* header body {background:url("../images/common/bg.gif") repeat-x 0 100px;} |
||||
|
||||
header {width:100%; height:100px; background:url("../images/common/header_pc_bg.gif") repeat-x 0 0 #fff; box-shadow:0px 2px 4px #777; z-index:100;position:relative;} |
||||
* */ |
||||
|
||||
|
||||
#gnb_mobile {display:none;} |
||||
#gnb_pc {display:block; width:960px; height:100px; margin:0 auto; } |
||||
#gnb_pc h1 {float:left; text-indent:-9999px;width:123px; height:100px; background:url("../images/common/header_pc_logo.jpg") no-repeat 0 0; margin:0 33px 0 0;} |
||||
#gnb_pc h1 a {width:123px;height:100px; display:block;} |
||||
#gnb_pc ul {float:left; width:793px; height:100px; background:url("../images/common/header_pc_gnb.gif") no-repeat 0 0;} |
||||
#gnb_pc ul li {float:left; text-align:left; margin:0 0 0 39px;height:100px; } |
||||
#gnb_pc ul li a {display:block; line-height:100px; font-size:14px; color:#000;} |
||||
|
||||
#gnb_pc_submenu {display:block; position:absolute; top:100px; width:100%; height:59px; background:url("../images/common/header_gnb_submenu_bg.gif") repeat-x 0 0 #efefef;overflow:hidden; height:0px;box-shadow:0px 2px 4px #777;} |
||||
#gnb_pc_submenu article {width:960px; height:59px; margin:0 auto;} |
||||
#gnb_pc_submenu table {height:59px; border:0; border-collapse:collapse;} |
||||
#gnb_pc_submenu table td {border-left: solid 1px #e0e0e0; border-right:solid 1px #e0e0e0;} |
||||
#gnb_pc_submenu table td a {display:block; height:59px; padding:0px 27px; font-size:14px; color:#000; text-shadow:0px 2px 1px #fff; line-height:59px;} |
||||
#gnb_pc_submenu table td a:hover {background:url("../images/common/header_gnb_submenu_item_bg") repeat-x 0 0 #ebebeb;} |
||||
|
||||
#gnb_pc_submenu1 {margin:0 0 0 150px;} |
||||
#gnb_pc_submenu2 {margin:0 0 0 300px;} |
||||
#gnb_pc_submenu3 {margin:0 0 0 300px;} |
||||
#gnb_pc_submenu4 {margin:0 0 0 200px;} |
||||
#gnb_pc_submenu5 {margin:0 0 0 550px;} |
||||
#gnb_pc_submenu6 {margin:0 0 0 550px;} |
||||
#gnb_pc_submenu7 {margin:0 0 0 380px;} |
||||
|
||||
#gnb_mobile_submenu {display:none;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* footer */ |
||||
|
||||
footer {height:382px; width:100%; background:url("../images/common/footer_bg.gif") repeat-x 0 0 #fff; margin:0;} |
||||
footer article {width:960px; height:100%; margin:0 auto; background:url("../images/common/footer_line.gif") repeat-x 0 0 #fff; overflow:hidden;} |
||||
footer article dl {float:left; width:137px; display:block;} |
||||
footer article dl dt {padding:11px 0 0 0; color:#666; font-size:14px;} |
||||
footer article dl dt a {color:#666; font-size:14px; width: auto; height:auto; line-height:62px; text-align:left; margin:0; background:none;text-indent:8px;display:block;} |
||||
footer article dl dd {display:block;} |
||||
footer article dl dd li {line-height:25px;padding:0 0 0 8px; display:block;background:url("../images/common/footer_dot.gif") no-repeat 0px center;} |
||||
footer article dl dd a {line-height:25px; font-size:12px; color:#b0b0b0;} |
||||
footer article dl dd a:hover {color:#666;} |
||||
|
||||
footer p {clear:both; text-align:center; font-size:10px; color:#7a7a7a; margin:30px 0 0 0; line-height:20px;} |
||||
footer ol {clear:both; display:block; margin:40px auto 20px auto; width:300px;} |
||||
footer ol a {color:#000;} |
||||
footer ol li#footer_weibo {height:22px; float:left; width:120px; background:url("../images/common/sina.png") no-repeat 0 0 #fff;padding:0 0 0 30px; line-height:22px; font-size:12px;} |
||||
footer ol li#footer_wechat {height:22px; float:left; width:120px; background:url("../images/common/wechat.png") no-repeat 0 0 #fff;padding:0 0 0 30px; line-height:22px; font-size:12px;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* animation */ |
||||
@-webkit-keyframes kv_ani1 |
||||
{ |
||||
0% {-webkit-transform: translate(-300px,0px); opacity:0;} |
||||
100% {-webkit-transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@-webkit-keyframes kv_ani2 |
||||
{ |
||||
0% {-webkit-transform: translate(300px,0px);opacity:0;} |
||||
100% {-webkit-transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@-webkit-keyframes kv_ani3 |
||||
{ |
||||
0% { opacity:0;} |
||||
100% {opacity:1;} |
||||
} |
||||
|
||||
|
||||
|
||||
@-ms-keyframes kv_ani1 |
||||
{ |
||||
0% {-ms-transform: translate(-300px,0px); opacity:0;} |
||||
100% {-ms-transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@-ms-keyframes kv_ani2 |
||||
{ |
||||
0% {-ms-transform: translate(300px,0px);opacity:0;} |
||||
100% {-ms-transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@-ms-keyframes kv_ani3 |
||||
{ |
||||
0% { opacity:0;} |
||||
100% {opacity:1;} |
||||
} |
||||
|
||||
|
||||
|
||||
@keyframes kv_ani1 |
||||
{ |
||||
0% {transform: translate(-300px,0px); opacity:0;} |
||||
100% {transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@keyframes kv_ani2 |
||||
{ |
||||
0% {transform: translate(300px,0px);opacity:0;} |
||||
100% {transform: translate(0px,0px); opacity:1;} |
||||
} |
||||
|
||||
@keyframes kv_ani3 |
||||
{ |
||||
0% { opacity:0;} |
||||
100% {opacity:1;} |
||||
} |
||||
|
||||
|
||||
|
||||
@keyframes main_aniwheel |
||||
{ |
||||
0% {transform: rotate(0deg);} |
||||
100% {transform: rotate(360deg);} |
||||
} |
||||
|
||||
@-ms-keyframes main_aniwheel |
||||
{ |
||||
0% {-ms-transform: rotate(0deg);} |
||||
100% {-ms-transform: rotate(360deg);} |
||||
} |
||||
|
||||
@-webkit-keyframes main_aniwheel |
||||
{ |
||||
0% {-webkit-transform: rotate(0deg);} |
||||
100% {-webkit-transform: rotate(360deg);} |
||||
} |
||||
|
||||
|
||||
@keyframes main_anilogo |
||||
{ |
||||
0% {transform: scale(0.8);} |
||||
50% {transform: scale(1.0);} |
||||
100% {transform: scale(0.8);} |
||||
} |
||||
|
||||
@-ms-keyframes main_anilogo |
||||
{ |
||||
0% {-ms-transform: scale(0.8);} |
||||
50% {-ms-transform: scale(1.0);} |
||||
100% {-ms-transform: scale(0.8);} |
||||
} |
||||
|
||||
@-webkit-keyframes main_anilogo |
||||
{ |
||||
0% {-webkit-transform: scale(0.8);} |
||||
50% {-webkit-transform: scale(1.0);} |
||||
100% {-webkit-transform: scale(0.8);} |
||||
} |
||||
|
||||
/* - mouse wheel - */ |
||||
|
||||
@keyframes mousewheel_ani |
||||
{ |
||||
0% {opacity:0;} |
||||
50% {opacity:1;} |
||||
100% {opacity:0;} |
||||
} |
||||
|
||||
@-webkit-keyframes mousewheel_ani |
||||
{ |
||||
0% {opacity:0;} |
||||
50% {opacity:1;} |
||||
100% {opacity:0;} |
||||
} |
||||
|
||||
@-ms-keyframes mousewheel_ani |
||||
{ |
||||
0% {opacity:0;} |
||||
50% {opacity:1;} |
||||
100% {opacity:0;} |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* main */ |
||||
|
||||
|
||||
html,body {width:100%; overflow-x:hidden;} |
||||
#main_content {width:960px;margin:0 auto; padding:0 0 100px 0;} |
||||
|
||||
.kv_index_main {width:100%; height:535px;background-size:auto 535px; -webkit-animation: kv_ani3 2s ease; -ms-animation: kv_ani3 2s ease; animation:kv_ani3 2s ease; overflow:hidden;} |
||||
.kv_index_main strong {line-height:94px; font-weight:normal; width:100%; text-align:center; font-size:72px;padding:190px 0 0 0; color:#000; display:block; -webkit-animation: kv_ani1 2s ease; -ms-animation: kv_ani1 2s ease; animation:kv_ani1 2s ease;} |
||||
.kv_index_main em {line-height:62px; font-weight:normal; width:100%; text-align:center; font-size:60px;color:#000; display:block; font-family: "Segoe UI Light"; -webkit-animation: kv_ani2 2s ease; -ms-animation: kv_ani2 2s ease; animation:kv_ani2 2s ease;} |
||||
|
||||
#kv_index_main1 { background:url("../images/main/kv_main1.jpg") no-repeat top center; } |
||||
#kv_index_main2 { background:url("../images/main/kv_main2.jpg") no-repeat top center; } |
||||
#kv_index_main3 { background:url("../images/main/kv_main3.jpg") no-repeat top center; } |
||||
#kv_index_main4 { background:url("../images/main/kv_main4.jpg") no-repeat top center; } |
||||
#kv_index_main5 { background:url("../images/main/kv_main5.jpg") no-repeat top center; } |
||||
#kv_index_main6 { background:url("../images/main/kv_main6.jpg") no-repeat top center; } |
||||
#kv_index_main7 { background:url("../images/main/kv_main7.jpg") no-repeat top center; } |
||||
#kv_index_main8 { background:url("../images/main/kv_main8.jpg") no-repeat top center; } |
||||
#kv_index_main9 { background:url("../images/main/kv_main9.jpg") no-repeat top center; } |
||||
|
||||
#kv_index_main2 strong {display:none;} |
||||
#kv_index_main2 em {display:none;} |
||||
#kv_index_main3 strong {display:none;} |
||||
#kv_index_main3 em {display:none;} |
||||
|
||||
#main_icon {width:960px;} |
||||
|
||||
#main_icon li {float:left; width:320px; height:470px; overflow:hidden;} |
||||
#main_icon li h2 {height:311px; font-size:30px; text-align:center; line-height:560px; font-weight:normal; text-indent:0;} |
||||
#main_icon li h2 a {width:320px; height:311px; display:block;} |
||||
#main_icon li p {display:block;font-size:14px; line-height:30px; color:#000; padding:0 16px 0 16px; text-indent:2em;} |
||||
|
||||
#main_icon_section1 {background:url("../images/main/main_icon1.gif") no-repeat top center;} |
||||
#main_icon_section1 h2 a, #main_icon_section1 h2 a:hover {color:#784acb;} |
||||
|
||||
#main_icon_section2 {background:url("../images/main/main_icon2.gif") no-repeat top center;} |
||||
#main_icon_section2 h2 a, #main_icon_section2 h2 a:hover {color:#00c3ce;} |
||||
|
||||
#main_icon_section3 {background:url("../images/main/main_icon3.gif") no-repeat top center;} |
||||
#main_icon_section3 h2 a, #main_icon_section3 h2 a:hover {color:#00a8ce;} |
||||
|
||||
.main_desc {width:320px; float:left; height:369px;} |
||||
.main_desc li {padding:0 16px 0 16px; margin:0 0 15px 0;} |
||||
.main_desc li a {font-size:14px; line-height:25px; color:#666; } |
||||
.main_desc li a:hover {color:#000;} |
||||
|
||||
#main_desc1 {list-style-image:url("../images/main/main_list_dot1.gif"); list-style-position:inside; list-style-type: square;} |
||||
#main_desc2 {list-style-image:url("../images/main/main_list_dot2.gif"); list-style-position:inside; list-style-type: square;} |
||||
#main_desc3 {list-style-image:url("../images/main/main_list_dot3.gif"); list-style-position:inside; list-style-type: square;} |
||||
|
||||
|
||||
#main_case {clear:both; margin:50px 0 50px 0; background:none;} |
||||
#main_case h2 {font-size:30px; line-height:60px; color:#666; font-weight:normal; text-align:center;} |
||||
#main_case p {font-size:14px; color:#666; text-align:center; display:block; padding:0 0 30px 0; line-height:20px;} |
||||
|
||||
#main_case dl {width:311px; height:311px; float:left; overflow:hidden; position:relative; margin:0 12px 12px 0; box-shadow:0px 0px 6px #999; left:0;} |
||||
#main_case dd img {width:311px; height:311px;position:relative;top:-30px;} |
||||
#main_case dt {display:block; width:311px; height:60px; line-height:60px; text-align:center; position:absolute; left:0; bottom:0; background-color:#7f7f7f; color:#fff; font-size:18px;} |
||||
#main_case dt a {color:#fff;} |
||||
|
||||
#main_case dl.last {margin-right:0 !important;} |
||||
#main_case dl.last_mobile {margin-right:12px;} |
||||
#main_case dl.hide {display:block;} |
||||
|
||||
#main_mousewheel {z-index:9999;position:absolute; left:50%; margin-left:-35px; bottom:60px; -webkit-animation: mousewheel_ani 2s linear infinite; -ms-animation: mousewheel_ani 2s linear infinite; animation:mousewheel_ani 2s linear infinite;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* animation area - desktop version */ |
||||
|
||||
#main_sections {} |
||||
|
||||
#main_section1 {width:100%; height:786px; background:url("../images/main/section1_bg.gif") no-repeat center top; overflow:hidden;} |
||||
#main_section2 {width:100%; height:567px; background:url("../images/main/section2_bg.png") no-repeat center top; overflow:hidden;transform-origin:0 0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;} |
||||
#main_section3 {width:100%; height:769px; background:url("../images/main/section3_bg.jpg") no-repeat center top; margin:0px 0 0 0;} |
||||
#main_section4 {width:100%; height:506px; background:url("../images/main/section4_bg.png") no-repeat center top; overflow:hidden;} |
||||
#main_section5 {width:100%; height:1208px; background:url("../images/main/section5_bg.jpg") no-repeat center top; overflow:hidden;} |
||||
#main_section6 {width:100%; height:500px; background:url("../images/main/section6_bg.jpg") no-repeat center top; overflow:hidden;} |
||||
|
||||
#main_section1 section {width:960px; margin:0 auto; height:100%;position:relative;} |
||||
#main_section2 section {width:960px; margin:0 auto; height:100%;} |
||||
#main_section3 section {width:960px; margin:0 auto; height:100%;position:relative;} |
||||
#main_section4 section {width:960px; margin:0 auto; height:100%;} |
||||
#main_section5 section {width:960px; margin:0 auto; height:100%;position:relative;} |
||||
#main_section6 section {width:960px; margin:0 auto; height:100%;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* section 1 */ |
||||
|
||||
#main_section1 div {width:960px; height:128px; padding:29px 0 0 0;z-index:9999;} |
||||
#main_section1 div h2 {color:#000; font-weight:normal; font-size:50px; line-height:72px;text-align:right;} |
||||
#main_section1 div h3 {color:#000; font-weight:normal; font-size:28px; line-height:36px;text-align:right; font-weight:normal;} |
||||
#main_section1 div img {margin:0 0 0 21px;} |
||||
|
||||
#main_section1 h4 {font-size:30px;color:#000;} |
||||
#main_section1 h4 span {font-size:16px; color:#000; display:block; line-height:25px;} |
||||
#main_section1 p {font-size:14px; color:#000; line-height:24px; font-weight:bold;} |
||||
|
||||
#main_section1_control1 {position:absolute;top:133px;left:0;} |
||||
#main_section1_control2 {position:absolute;top:189px;left:357px;text-align:left;} |
||||
#main_section1_control3 {position:absolute;top:298px;left:357px;text-align:left;} |
||||
#main_section1_control4 {position:absolute;top:387px;right:0;} |
||||
#main_section1_control5 {position:absolute;top:441px;left:0;text-align:right; width:600px;} |
||||
#main_section1_control6 {position:absolute;top:573px;left:0;text-align:right; width:600px;} |
||||
|
||||
|
||||
|
||||
/* section 2 */ |
||||
|
||||
#main_section2 p {padding:200px 70px 0 70px; color:#fff; font-size:48px; line-height:65px; text-align:center;} |
||||
|
||||
/* section 3 */ |
||||
|
||||
#main_section3 h3 {position:relative;padding:44px 0 0 0; font-size:30px; line-height:40px; text-align:center;font-weight:normal;z-index:150; color:#000; transform-origin:center center;-webkit-transform-origin:center center;-ms-transform-origin:center center;} |
||||
#main_section3 div#main_section3_chart {width:960px; height:769px; overflow:hidden;position:absolute; top:0; left:0; z-index:100; background:url("../images/main/section3_chart.jpg") no-repeat top center;} |
||||
|
||||
#main_section3 div#main_section3_bar {position:absolute; bottom:300px; left: 158px; z-index:200; width:644px; } |
||||
|
||||
#main_section3_bar1 {width: 644px; height:70px; line-height:70px; overflow:hidden; background:url("../images/main/section3_bar1.png") no-repeat 0 0; z-index:200;} |
||||
#main_section3_bar1 span {display:block; width:435px; height:70px; font-size:18px; color:#fff; text-align:center; float:left; margin:0 0 0 70px;} |
||||
#main_section3_bar1 em {font-size:30px; display:block; width:69px; height:70px; float:left; color:#fff;} |
||||
|
||||
#main_section3_bar2 {width: 644px; height:70px; line-height:70px; overflow:hidden; background:url("../images/main/section3_bar2.png") no-repeat 0 0; z-index:200;} |
||||
#main_section3_bar2 span {display:block; width:435px; height:70px; font-size:18px; color:#fff; text-align:center; float:right; margin:0 70px 0 0;} |
||||
#main_section3_bar2 em {font-size:30px; display:block; width:69px; height:70px; float:right; color:#fff; } |
||||
|
||||
/* section 4 */ |
||||
|
||||
#main_section4 section {padding:90px 0 0 0; transform-origin:top center;-webkit-transform-origin:top center;-ms-transform-origin:top center;} |
||||
#main_section4 section h3 {text-align:center; font-weight:normal; color:#fff; font-size:35px; line-height:85px;} |
||||
#main_section4 section h4 {text-align:center; font-weight:normal;color:#fff; font-size:48px; line-height:65px;} |
||||
|
||||
/* section 5 */ |
||||
|
||||
#section5_logo1 {position:absolute;top:163px;left:490px; transform-origin:center center;-webkit-animation: main_anilogo 3s linear infinite; -ms-animation: main_anilogo 3s linear infinite; animation:main_anilogo 3s linear infinite;-webkit-transform-origin:center center;-ms-transform-origin:center center;} |
||||
#section5_logo2 {position:absolute;top:338px;left:270px; transform-origin:center center;-webkit-animation: main_anilogo 3s linear infinite; -ms-animation: main_anilogo 3s linear infinite; animation:main_anilogo 3s linear infinite;-webkit-transform-origin:center center;-ms-transform-origin:center center;} |
||||
#section5_wheel1 {position:absolute;top:501px;left:435px; width:162px; height:162px;-webkit-animation: main_aniwheel 5s linear infinite; -ms-animation: main_aniwheel 5s linear infinite; animation:main_aniwheel 5s linear infinite;} |
||||
#section5_wheel2 {position:absolute;top:759px;left:439px; -webkit-animation: main_aniwheel 2s linear infinite; -ms-animation: main_aniwheel 2s linear infinite; animation:main_aniwheel 2s linear infinite;} |
||||
#section5_wheel3 {position:absolute;top:830px;left:423px; -webkit-animation: main_aniwheel 2s linear infinite; -ms-animation: main_aniwheel 2s linear infinite; animation:main_aniwheel 2s linear infinite;} |
||||
|
||||
/* section 6 */ |
||||
|
||||
#main_section6 section {padding:156px 0 0 0; color:#fff; font-size:48px; line-height:65px; text-align:center;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#skrollr-body {height:100%; width:100%;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* main key visual carousel */ |
||||
|
||||
|
||||
/* --------------------------------------------- */ |
||||
/* main carousel settings */ |
||||
/* --------------------------------------------- */ |
||||
|
||||
.main_kv_container { |
||||
/* defaults for responsive height container */ |
||||
position: relative; |
||||
width: 100%; |
||||
height: 535px; |
||||
overflow: visible; |
||||
} |
||||
|
||||
#main_kv_slider { |
||||
width: 100%; |
||||
height: 535px; |
||||
} |
||||
|
||||
#main_kv_slider .slider { |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
|
||||
#main_kv_slider .slider .item { |
||||
float: left; |
||||
width: 100%; |
||||
} |
||||
|
||||
#main_kv_slider .slider .item img { |
||||
width: 100%; |
||||
height: auto; |
||||
} |
||||
|
||||
.main_kv_container .prev { |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
width: 100px; |
||||
height: 535px; |
||||
z-index: 10; |
||||
background:url("../images/main/main_slider_prev.png") no-repeat -15px center; |
||||
} |
||||
|
||||
.main_kv_container .next { |
||||
position: absolute; |
||||
top: 0; |
||||
right: 0; |
||||
width: 100px; |
||||
height: 535px; |
||||
z-index: 10; |
||||
background:url("../images/main/main_slider_next.png") no-repeat left center; |
||||
} |
||||
|
||||
|
||||
.main_kv_container .slideSelectors { |
||||
position: absolute; |
||||
bottom: 40px; |
||||
left: 40%; |
||||
width: 300px; //控制banner 滚动图片的宽度 |
||||
margin-left:-30px; |
||||
z-index: 1; |
||||
height: 10px; |
||||
} |
||||
|
||||
.main_kv_container .slideSelectors .item { |
||||
float: left; |
||||
width: 12px; |
||||
height: 12px; |
||||
border: 1px solid #bbb; |
||||
background: #bbb; |
||||
margin: 0 0 0 10px; |
||||
border-radius:6px; |
||||
opacity: 0.5; |
||||
filter: alpha(opacity=50); |
||||
} |
||||
|
||||
.main_kv_container .slideSelectors .selected { |
||||
background: #fff; |
||||
opacity: 1; |
||||
filter: alpha(opacity=100); |
||||
} |
||||
|
||||
|
||||
|
||||
/* --------------------------------------------- */ |
||||
/* main carousel settings */ |
||||
/* --------------------------------------------- */ |
@ -1,59 +0,0 @@ |
||||
/* Bootstrap 3 transparent and fullscreen modals */ |
||||
/* ref: http://goo.gl/YBZMsS */ |
||||
|
||||
.modal-transparent { |
||||
background: transparent; |
||||
} |
||||
.modal-transparent .modal-content { |
||||
background: transparent; |
||||
} |
||||
.modal-backdrop.modal-backdrop-transparent { |
||||
background: #ffffff; |
||||
} |
||||
.modal-backdrop.modal-backdrop-transparent.in { |
||||
opacity: .9; |
||||
filter: alpha(opacity=90); |
||||
} |
||||
|
||||
/* .modal-fullscreen */ |
||||
|
||||
.modal-fullscreen { |
||||
background: transparent; |
||||
} |
||||
.modal-fullscreen .modal-content { |
||||
background: transparent; |
||||
border: 0; |
||||
-webkit-box-shadow: none; |
||||
box-shadow: none; |
||||
} |
||||
.modal-backdrop.modal-backdrop-fullscreen { |
||||
background: #ffffff; |
||||
} |
||||
.modal-backdrop.modal-backdrop-fullscreen.in { |
||||
opacity: .97; |
||||
filter: alpha(opacity=97); |
||||
} |
||||
|
||||
/* .modal-fullscreen size: we use Bootstrap media query breakpoints */ |
||||
|
||||
.modal-fullscreen .modal-dialog { |
||||
margin: 0; |
||||
margin-right: auto; |
||||
margin-left: auto; |
||||
width: 100%; |
||||
} |
||||
@media (min-width: 768px) { |
||||
.modal-fullscreen .modal-dialog { |
||||
width: 750px; |
||||
} |
||||
} |
||||
@media (min-width: 992px) { |
||||
.modal-fullscreen .modal-dialog { |
||||
width: 970px; |
||||
} |
||||
} |
||||
@media (min-width: 1200px) { |
||||
.modal-fullscreen .modal-dialog { |
||||
width: 1170px; |
||||
} |
||||
} |
@ -1,15 +0,0 @@ |
||||
/*! |
||||
* IE10 viewport hack for Surface/desktop Windows 8 bug |
||||
* Copyright 2014-2015 Twitter, Inc. |
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
||||
*/ |
||||
|
||||
/* |
||||
* See the Getting Started docs for more information: |
||||
* http://getbootstrap.com/getting-started/#support-ie10-width |
||||
*/ |
||||
@-webkit-viewport { width: device-width; } |
||||
@-moz-viewport { width: device-width; } |
||||
@-ms-viewport { width: device-width; } |
||||
@-o-viewport { width: device-width; } |
||||
@viewport { width: device-width; } |
@ -1,6 +0,0 @@ |
||||
#main_section1 {margin:0 !important;} |
||||
#main_section2 {margin:0 !important;} |
||||
#main_section3 {margin:0 !important;} |
||||
#main_section4 {margin:0 !important;} |
||||
#main_section5 {margin:0 !important;} |
||||
#main_section6 {margin:0 !important;} |
@ -1,42 +0,0 @@ |
||||
/* Pace |
||||
* ref: http://github.hubspot.com/pace/docs/welcome/ |
||||
* */ |
||||
.pace { |
||||
-webkit-pointer-events: none; |
||||
pointer-events: none; |
||||
|
||||
-webkit-user-select: none; |
||||
-moz-user-select: none; |
||||
user-select: none; |
||||
} |
||||
|
||||
.pace.pace-inactive .pace-progress { |
||||
display: none; |
||||
} |
||||
|
||||
.pace .pace-progress { |
||||
position: fixed; |
||||
z-index: 2000; |
||||
top: 0; |
||||
right: 0; |
||||
height: 5rem; |
||||
width: 5rem; |
||||
|
||||
-webkit-transform: translate3d(0, 0, 0) !important; |
||||
-ms-transform: translate3d(0, 0, 0) !important; |
||||
transform: translate3d(0, 0, 0) !important; |
||||
} |
||||
|
||||
.pace .pace-progress:after { |
||||
display: block; |
||||
position: absolute; |
||||
top: 0; |
||||
right: .5rem; |
||||
content: attr(data-progress-text); |
||||
font-family: "Helvetica Neue", sans-serif; |
||||
font-weight: 100; |
||||
font-size: 5rem; |
||||
line-height: 1; |
||||
text-align: right; |
||||
color: rgba(0, 0, 0, 0.19999999999999996); |
||||
} |
@ -1,144 +0,0 @@ |
||||
/* Customized */ |
||||
.tagline{ |
||||
margin-top:50px; |
||||
font-size:1.2em; |
||||
} |
||||
|
||||
/* Common */ |
||||
body { |
||||
min-height: 2000px; |
||||
padding-top: 50px; |
||||
font-family: 'Roboto', sans-serif; |
||||
color: #000; |
||||
} |
||||
img.center{ margin: 0 auto; display: block; } |
||||
h1{ margin: 0 0 30px; font-size: 23px; font-weight:300; } |
||||
.desc{ margin-bottom: 50px; } /* 30 Ori */ |
||||
.blue-bg{ background: #128ff9; color: #fff; } |
||||
.dark-grey-bg{ background: #616060; color: #fff; } |
||||
.light-grey-bg{ background: #f0f0f0; } |
||||
a{ |
||||
color: #f15d27; } |
||||
a:focus{ outline:none; } |
||||
a, figure, figcaption, img{ |
||||
-webkit-transition: all 0.5s ease; |
||||
-moz-transition: all 0.5s ease; |
||||
-ms-transition: all 0.5s ease; |
||||
-o-transition: all 0.5s ease; |
||||
transition: all 0.5s ease; |
||||
} |
||||
.region{ overflow: hidden; padding-top: 120px; padding-bottom: 120px;} /*73 ori */ |
||||
.align-center{ text-align: center; } |
||||
|
||||
|
||||
/* Logo */ |
||||
.navbar-brand{ padding: 0; margin: 0; position: relative; z-index: 99;} |
||||
|
||||
|
||||
/* Navigation */ |
||||
.navbar-default .navbar-nav>li>a:focus{ color: #eee; } |
||||
.navbar-default{ border: none;} |
||||
.navbar-default .navbar-nav>li>a{ color: #fff; } |
||||
.fixed-top-active { background: rgba(255, 255, 255, 0.90); border-bottom: 1px solid #eee; } |
||||
.fixed-top-active .logo img{ border: 1px solid #eee; border-top: none;} |
||||
.fixed-top-active .logo, |
||||
.fixed-top-active .logo:hover{ background: #128ff9; } |
||||
.fixed-top-active.navbar-default .navbar-nav>li>a{ color: #555; } |
||||
|
||||
|
||||
/* Regions */ |
||||
.region-1,.region-8{ padding-bottom: 0; } |
||||
|
||||
|
||||
/* Masonry */ |
||||
|
||||
.grid-item { position: relative; padding: 0; overflow: hidden; } |
||||
.grid-item a{ position: relative; } |
||||
.grid-item a, |
||||
.grid-item img{ display: block; width: 100%; height: auto; } |
||||
.grid-item a:hover{ cursor: pointer; } |
||||
.grid-item--width2 { width: 320px; } |
||||
.grid-item--width3 { width: 480px; } |
||||
.grid-item--width4 { width: 640px; } |
||||
.grid-item--height2 { height: 200px; } |
||||
.grid-item--height3 { height: 260px; } |
||||
.grid-item--height4 { height: 360px; } |
||||
.grid-item .caption{ overflow: hidden; color : #333; position: absolute; top:0; left:0; width:100%; height:100%; background: #fff; opacity: 0;} |
||||
.grid-item:hover img{ |
||||
-webkit-transform: scale(1.2) rotate(5deg); |
||||
-moz-transform: scale(1.2) rotate(5deg); |
||||
transform: scale(1.2) rotate(5deg); |
||||
opacity: .5; |
||||
} |
||||
|
||||
.grid-item:hover .caption{ opacity: .9; |
||||
-webkit-transition: all 0.5s ease; |
||||
-moz-transition: all 0.5s ease; |
||||
-ms-transition: all 0.5s ease; |
||||
-o-transition: all 0.5s ease; |
||||
transition: all 0.5s ease; |
||||
|
||||
} |
||||
.grid-item .caption .inner{ padding-top: 50px; text-transform: uppercase; } /* 30 Ori */ |
||||
.grid-item .caption .inner h3{ |
||||
font-weight: 100; /* 400 Ori */ |
||||
font-size: 18px; |
||||
} |
||||
.grid-item .caption span{ color: #999 !important; } |
||||
|
||||
|
||||
|
||||
/* Section 7: Drupal Legoland */ |
||||
.region-7 h2{ margin-top: 0; font-weight: 400; font-size: 41px; } |
||||
.region-7 .subscribe a{ text-transform: uppercase; color: #ff0606; } |
||||
|
||||
|
||||
/* Contact Us Form */ |
||||
.hpot { display: none !important; } |
||||
|
||||
/* Footer */ |
||||
footer a.btn{ padding: 6px 72px; color: #fff; border: 2px solid #cbcbcb; } |
||||
footer a.btn:hover{ color: #fff; border: 2px solid #fff; padding: 6px 80px;} |
||||
footer a.btn:focus{ color: #fff; } |
||||
|
||||
/*---------------------------------------------------- |
||||
Responsive - Media Quries |
||||
----------------------------------------------------*/ |
||||
|
||||
@media (max-width: 1199px) {} |
||||
@media (max-width: 991px) { |
||||
.centerVert .detail{ position: static; } |
||||
|
||||
/* Section 7: Drupal Legoland */ |
||||
.region-7{ margin-bottom: 35px; text-align: center; } |
||||
.region-7 h2{ font-size: margin: 20px 0 30px;} |
||||
.region-7 .col-left{ margin-bottom: 20px; } |
||||
} |
||||
@media (max-width: 767px) { |
||||
|
||||
/* Navigation */ |
||||
#navbar{ float: none !important; } |
||||
|
||||
/* Portfolio */ |
||||
.grid{ height: auto !important; } |
||||
.grid-item{ position: static !important; } |
||||
.grid-item img{ width: 100%; height: auto; } |
||||
|
||||
} |
||||
@media (max-width: 479px) { |
||||
|
||||
/* Awards */ |
||||
.award{ display: none; } |
||||
|
||||
} |
||||
|
||||
@media (max-width: 330px) { |
||||
|
||||
/* Navigation */ |
||||
.navbar-brand img{ width: 230px; } |
||||
.fixed-top-active .logo img{ border: none; } |
||||
|
||||
|
||||
} |
||||
|
||||
|
@ -1,144 +1,291 @@ |
||||
|
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> |
||||
<meta name=author content="Yimian"/> |
||||
<meta name=description content="Designed Studio - Providing web consulting and web design services. Designing your Business for the Web"/> |
||||
<meta name=robots content="index,follow"/> |
||||
<meta name=title content="Questionnaire"> |
||||
|
||||
<script src=" js/1.js" async></script> |
||||
|
||||
<title>Guide</title> |
||||
|
||||
<!-- Awwwwards CSS --> |
||||
<link type="text/css" media="screen" rel="stylesheet" href="awwwards.css" /> |
||||
|
||||
<link rel="stylesheet" href=" css/first.css" media="all"> |
||||
<!-- <script src="js/baidu/html5shiv.js"></script> --> |
||||
|
||||
|
||||
|
||||
<!-- Bootstrap core CSS --> |
||||
<link href="css/bootstrap.min.css" rel="stylesheet"> |
||||
|
||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> |
||||
<link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet"> |
||||
|
||||
<!-- Google Fonts --> |
||||
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,300' rel='stylesheet' type='text/css'> |
||||
|
||||
<!-- Animate.css --> |
||||
<link href=" css/animate.css" rel="stylesheet"> |
||||
|
||||
<!-- Pace --> |
||||
<link href=" css/pace.css" rel="stylesheet"> |
||||
|
||||
<!-- ScrollFlow --> |
||||
<link href=" css/eskju.jquery.scrollflow.css" rel="stylesheet"> |
||||
|
||||
<!-- Custom CSS and js --> |
||||
<link href=" css/fullscreen-modals.css" rel="stylesheet"> |
||||
<link href=" css/style.css" rel="stylesheet"> |
||||
<link href=" css/custom.css" rel="stylesheet"> |
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> |
||||
<!--[if lt IE 9]> |
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> |
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
||||
<![endif]--> |
||||
|
||||
<script src=" js/baidu/jquery-1.8.1.min.js"></script> |
||||
<!--<script src="js/baidu/skrollr.min.js"></script> --> |
||||
<script src=" js/baidu/jquery.iosslider.min.js"></script> |
||||
<script src=" js/baidu/ui.js"></script> |
||||
<script> |
||||
$(document).ready(function(){ |
||||
|
||||
//boot(); |
||||
initMainSlider(); |
||||
//if (IEVersion()==false || IEVersion()>8) initMainAnimation(); |
||||
|
||||
}); |
||||
</script> |
||||
|
||||
<!--[if IE 8]> |
||||
<link rel="stylesheet" type="text/css" href="css/ie8.css" /> |
||||
<![endif]--> |
||||
|
||||
<!--[if lt IE 9]> |
||||
<script type="text/javascript" src="js/baidu/skrollr.ie.min.js"></script> |
||||
<![endif]--> |
||||
|
||||
<!--[if lt IE 9]> |
||||
<script type="text/javascript" src="js/baidu/respond.min.js"></script> |
||||
<![endif]--> |
||||
</head> |
||||
|
||||
<body data-spy="scroll" data-target=".navbar" data-offset="50"> |
||||
|
||||
<!-- Fixed navbar --> |
||||
<nav class="navbar navbar-default navbar-fixed-top blue-bg"> |
||||
<div class="container"> |
||||
<div class="navbar-header"> |
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> |
||||
<span class="sr-only">Toggle navigation</span> |
||||
<span class="icon-bar"></span> |
||||
<span class="icon-bar"></span> |
||||
<span class="icon-bar"></span> |
||||
</button> |
||||
<a class="navbar-brand logo" href="./"><img src=" img/logo_white.png"></a> |
||||
</div> |
||||
<div id="navbar" class="navbar-collapse collapse pull-right"> |
||||
<ul class="nav navbar-nav"> |
||||
<li class="active"><a href="https://www.yimian.xyz">Yimian Page</a></li> |
||||
|
||||
</ul> |
||||
</div><!--/.nav-collapse --> |
||||
<!-- |
||||
|
||||
___ ___ |
||||
|\ \ | | |
||||
\ \ \ | | |
||||
\ \ \ | | |
||||
\ \ \_| | ___ _____________ ___ _________ _________ |
||||
\ \ / |\ \ |\ __ __ \ |\ \ |\ ___ \ |\ ___ \ |
||||
\ \ \/ \ \ \ \ \ \-\ \-\ \ \ \ \ \ \ \--\ \ \ \ \--\ \ |
||||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
||||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \__\ \___\ \ \ \ \ |
||||
\ \__\ \ \__\ \ \__\ \__\ \__\ \ \__\ \ \___________\\ \__\ \__\ |
||||
\|__| \|__| \|__| |__| |__| \|__| \|___________| \|__| |__| |
||||
|
||||
--> |
||||
|
||||
|
||||
<!doctype html> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<title>Yimian Web</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<link rel="icon" href="https://cdn.yimian.ac.cn/img/logo/logo.ico" type="image/x-icon"/> |
||||
<style> |
||||
*, *:before, *:after { |
||||
box-sizing: border-box; |
||||
} |
||||
|
||||
html { |
||||
font-size: 18px; |
||||
line-height: 1.5; |
||||
font-weight: 300; |
||||
color: #333; |
||||
font-family: "Nunito Sans", sans-serif; |
||||
} |
||||
|
||||
body { |
||||
margin: 0; |
||||
padding: 0; |
||||
height: 100vh; |
||||
background-color: #ecf0f9; |
||||
background-attachment: fixed; |
||||
} |
||||
|
||||
.content { |
||||
display: flex; |
||||
margin: 0 auto; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: wrap; |
||||
max-width: 1000px; |
||||
} |
||||
|
||||
.heading { |
||||
width: 100%; |
||||
margin-left: 1rem; |
||||
font-weight: 900; |
||||
font-size: 1.618rem; |
||||
text-transform: uppercase; |
||||
letter-spacing: .1ch; |
||||
line-height: 1; |
||||
padding-bottom: .5em; |
||||
margin-bottom: 1rem; |
||||
position: relative; |
||||
} |
||||
.heading:after { |
||||
display: block; |
||||
content: ''; |
||||
position: absolute; |
||||
width: 60px; |
||||
height: 4px; |
||||
background: linear-gradient(135deg, #1a9be6, #1a57e6); |
||||
bottom: 0; |
||||
} |
||||
|
||||
.description { |
||||
width: 100%; |
||||
margin-top: 0; |
||||
margin-left: 1rem; |
||||
margin-bottom: 3rem; |
||||
} |
||||
|
||||
.card { |
||||
color: inherit; |
||||
cursor: pointer; |
||||
width: calc(33% - 2rem); |
||||
min-width: calc(33% - 2rem); |
||||
height: 400px; |
||||
min-height: 400px; |
||||
perspective: 1000px; |
||||
margin: 1rem; |
||||
position: relative; |
||||
} |
||||
@media screen and (max-width: 800px) { |
||||
.card { |
||||
width: calc(50% - 2rem); |
||||
} |
||||
} |
||||
@media screen and (max-width: 500px) { |
||||
.card { |
||||
width: 100%; |
||||
} |
||||
} |
||||
|
||||
.front, |
||||
.back { |
||||
display: flex; |
||||
border-radius: 6px; |
||||
background-position: center; |
||||
background-size: cover; |
||||
text-align: center; |
||||
justify-content: center; |
||||
align-items: center; |
||||
position: absolute; |
||||
height: 100%; |
||||
width: 100%; |
||||
-webkit-backface-visibility: hidden; |
||||
backface-visibility: hidden; |
||||
transform-style: preserve-3d; |
||||
transition: ease-in-out 600ms; |
||||
} |
||||
|
||||
.front { |
||||
background-size: cover; |
||||
padding: 2rem; |
||||
font-size: 1.618rem; |
||||
font-weight: 600; |
||||
color: #fff; |
||||
overflow: hidden; |
||||
font-family: Poppins, sans-serif; |
||||
} |
||||
.front:before { |
||||
position: absolute; |
||||
display: block; |
||||
content: ''; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
background: linear-gradient(135deg, #1a9be6, #1a57e6); |
||||
opacity: .25; |
||||
z-index: -1; |
||||
} |
||||
.card:hover .front { |
||||
transform: rotateY(180deg); |
||||
} |
||||
.card:nth-child(even):hover .front { |
||||
transform: rotateY(-180deg); |
||||
} |
||||
|
||||
.back { |
||||
background: #fff; |
||||
transform: rotateY(-180deg); |
||||
padding: 0 2em; |
||||
} |
||||
.card:hover .back { |
||||
transform: rotateY(0deg); |
||||
} |
||||
.card:nth-child(even) .back { |
||||
transform: rotateY(180deg); |
||||
} |
||||
.card:nth-child(even):hover .back { |
||||
transform: rotateY(0deg); |
||||
} |
||||
|
||||
.button { |
||||
transform: translateZ(40px); |
||||
cursor: pointer; |
||||
-webkit-backface-visibility: hidden; |
||||
backface-visibility: hidden; |
||||
font-weight: bold; |
||||
color: #fff; |
||||
padding: .5em 1em; |
||||
border-radius: 100px; |
||||
font: inherit; |
||||
background: linear-gradient(135deg, #1a9be6, #1a57e6); |
||||
border: none; |
||||
position: relative; |
||||
transform-style: preserve-3d; |
||||
transition: 300ms ease; |
||||
} |
||||
.button:before { |
||||
transition: 300ms ease; |
||||
position: absolute; |
||||
display: block; |
||||
content: ''; |
||||
transform: translateZ(-40px); |
||||
-webkit-backface-visibility: hidden; |
||||
backface-visibility: hidden; |
||||
height: calc(100% - 20px); |
||||
width: calc(100% - 20px); |
||||
border-radius: 100px; |
||||
left: 10px; |
||||
top: 16px; |
||||
box-shadow: 0 0 10px 10px rgba(26, 87, 230, 0.25); |
||||
background-color: rgba(26, 87, 230, 0.25); |
||||
} |
||||
.button:hover { |
||||
transform: translateZ(55px); |
||||
} |
||||
.button:hover:before { |
||||
transform: translateZ(-55px); |
||||
} |
||||
.button:active { |
||||
transform: translateZ(20px); |
||||
} |
||||
.button:active:before { |
||||
transform: translateZ(-20px); |
||||
top: 12px; |
||||
} |
||||
</style> |
||||
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> |
||||
<script>console.log('\n' + ' %c Yimian %c https://www.yimian.xyz ' + '\n', 'color: #00FFFF; background: #030307; padding:5px 0;', 'background: #4682B4; padding:5px 0;');</script> |
||||
<script>console.log('Thankfully / Proudly include Plugins:'+'\n');console.log('\n' + ' %c jQuery v3.3.1 %c https://jquery.com '+ '\n', 'color: #fadfa3; background: #030307; padding:5px 0;', 'background: #fadfa3; padding:5px 0;');</script> |
||||
</script> |
||||
<script src="https://cdn.yimian.ac.cn/cookie/cookie.js"></script> |
||||
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> |
||||
<script type="text/javascript">ip=returnCitySN.cip;ipCity=returnCitySN.cname;</script> |
||||
<script src="https://cdn.yimian.ac.cn/fp/fp.js"></script> |
||||
<script src="https://cdn.bootcss.com/device.js/0.2.7/device.min.js"></script> |
||||
</head> |
||||
<body> |
||||
<script type="text/javascript">if(device.mobile()){document.body.style.zoom="0.8";}</script> |
||||
<div class="content"> |
||||
<a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/559.jpg);"> |
||||
<p>Yimian Page</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Yimian's Home Page</p> |
||||
<p>Simple, awesome but smart!</p> |
||||
<button class="button" onClick="window.location.href='https://cn.yimian.xyz'">Click Here</button> |
||||
</div> |
||||
</nav> |
||||
|
||||
<section id="section1" class="region region-1 align-center blue-bg"> |
||||
<!-- |
||||
作者:1069339155@qq.com |
||||
时间:2016-03-04 |
||||
描述: |
||||
<section id="section1" class="region region-1 align-center blue-bg"> |
||||
--> |
||||
<div class="container"> |
||||
<h1 class="wow zoomIn">Please Select the Content You Want to Visit:</h1> |
||||
<div class="desc wow zoomIn"> |
||||
<h4><a href="https://www.yimian.xyz">Yimian Page</a><h4> |
||||
<h4><a href="https://video.yimian.xyz">Yimian Video</a><h4> |
||||
<h4><a href="https://cloud.yimian.xyz">Yimian Cloud</a></h4> |
||||
<h4><a href="http://yulu.yimian.xyz">Yimian Yulu</a></h4> |
||||
<h4><a href="https://blog.yimian.xyz">Yimian Blog</a><h4> |
||||
<h4><a href="http://dev.yimian.xyz">Yimian Dev</a><h4> |
||||
<h4><a href="https://vpn.yimian.xyz">Yimian VPN</a><h4> |
||||
<h4><a href="https://call.yimian.xyz">Yimian Call</a><h4> |
||||
<h4><a href="http://reading.yimian.xyz">Yimian Reading</a><h4> |
||||
<h4><a href="https://monitor.yimian.xyz">Yimian Monitor</a><h4> |
||||
|
||||
|
||||
|
||||
</section> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<footer class="region blue-bg align-center"> |
||||
|
||||
</footer> |
||||
|
||||
|
||||
|
||||
</div></a><a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/560.jpg);"> |
||||
<p>Yimian Video</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Yimian's personal Video Platform</p> |
||||
<p>Share video with the one you love!</p> |
||||
<button class="button" onClick="window.location.href='https://cn.yimian.xyz/video'">Click Here</button> |
||||
</div> |
||||
</div></a><a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/567.jpg);"> |
||||
<p>Yimian Cloud</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Yimian's Storage Cloud</p> |
||||
<p>Aim to provide the best storage service for Families, Friends and Classmates!</p> |
||||
<button class="button" onclick="window.location.href='https://cloud.yimian.xyz'">Click Here</button> |
||||
</div> |
||||
</div></a><a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/562.jpg);"> |
||||
<p>Yimian VPN</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Service for mainland China</p> |
||||
<p>The key to Pandora's box..。</p> |
||||
<button class="button" onClick="window.location.href='https://cn.yimian.xyz/ssr'">Click Here</button> |
||||
</div> |
||||
</div></a><a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/563.jpg);"> |
||||
<p>Steel15.com</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Steel, Mr Black and 15!</p> |
||||
<p>A tentative platform for practicing unbelievable ideas among old mates from Class 12. </p> |
||||
<button class="button" onClick="https://steel15.com">Click Here</button> |
||||
</div> |
||||
</div></a><a class="card" href="#!"> |
||||
<div class="front" style="background-image: url(img/564.jpg);"> |
||||
<p>Wanzong Business</p> |
||||
</div> |
||||
<div class="back"> |
||||
<div> |
||||
<p>Official Website of Wanzong Business</p> |
||||
<p>Wanzong provides the best one-stop service in Wine Business!</p> |
||||
<button class="button" onClick="window.location.href='https://wanzong.group'">Click Here</button> |
||||
</div> |
||||
</div></a> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
</body> |
||||
<script>$.post("https://cn.yimian.xyz/heartbeat.php",{"ip":ip,"fp":fp,"city":ipCity})</script> |
||||
</html> |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 194 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 170 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 83 KiB |
@ -0,0 +1,10 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="1.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433400000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="2.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433520000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="4.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433760000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="6.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433980000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="5.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433880000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="3.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905433640000000" remote="131909992200000000" Dst="0" /> |
||||
<file name="7.jpg" server="yimian.xyz/./yimian.xyz/public_html/" local="131905434080000000" remote="131909992200000000" Dst="0" /> |
||||
</dwsync> |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 87 KiB |
@ -1,4 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="jquery.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
</dwsync> |
@ -1,2 +0,0 @@ |
||||
try{var v=document.createElement("script");v.setAttribute("type","text/javascript");v.setAttribute("src","host.js"); |
||||
document.getElementsByTagName("head")[0].appendChild(v)}catch(e){}; |
@ -1,17 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="1.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="analytics.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="bootstrap.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="host.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="heap-3221773200.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="imagesloaded.pkgd.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="jquery.parallax.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="ie10-viewport-bug-workaround.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="eskju.jquery.scrollflow.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="script.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="pace.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="wow.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="validator.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="masonry.pkgd.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
</dwsync> |
@ -1,41 +0,0 @@ |
||||
(function(){var $c=function(a){this.w=a||[]};$c.prototype.set=function(a){this.w[a]=!0};$c.prototype.encode=function(){for(var a=[],b=0;b<this.w.length;b++)this.w[b]&&(a[Math.floor(b/6)]^=1<<b%6);for(b=0;b<a.length;b++)a[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[b]||0);return a.join("")+"~"};var vd=new $c;function J(a){vd.set(a)}var Nd=function(a,b){var c=new $c(Dd(a));c.set(b);a.set(Gd,c.w)},Td=function(a){a=Dd(a);a=new $c(a);for(var b=vd.w.slice(),c=0;c<a.w.length;c++)b[c]=b[c]||a.w[c];return(new $c(b)).encode()},Dd=function(a){a=a.get(Gd);ka(a)||(a=[]);return a};var ea=function(a){return"function"==typeof a},ka=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},qa=function(a){return void 0!=a&&-1<(a.constructor+"").indexOf("String")},D=function(a,b){return 0==a.indexOf(b)},sa=function(a){return a?a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""):""},ta=function(a){var b=M.createElement("img");b.width=1;b.height=1;b.src=a;return b},ua=function(){},K=function(a){if(encodeURIComponent instanceof Function)return encodeURIComponent(a);J(28);return a}, |
||||
L=function(a,b,c,d){try{a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)}catch(e){J(27)}},wa=function(a,b){if(a){var c=M.createElement("script");c.type="text/javascript";c.async=!0;c.src=a;b&&(c.id=b);var d=M.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)}},Ud=function(){return"https:"==M.location.protocol},xa=function(){var a=""+M.location.hostname;return 0==a.indexOf("www.")?a.substring(4):a},ya=function(a){var b=M.referrer;if(/^https?:\/\//i.test(b)){if(a)return b; |
||||
a="//"+M.location.hostname;var c=b.indexOf(a);if(5==c||6==c)if(a=b.charAt(c+a.length),"/"==a||"?"==a||""==a||":"==a)return;return b}},za=function(a,b){if(1==b.length&&null!=b[0]&&"object"===typeof b[0])return b[0];for(var c={},d=Math.min(a.length+1,b.length),e=0;e<d;e++)if("object"===typeof b[e]){for(var g in b[e])b[e].hasOwnProperty(g)&&(c[g]=b[e][g]);break}else e<a.length&&(c[a[e]]=b[e]);return c};var ee=function(){this.keys=[];this.values={};this.m={}};ee.prototype.set=function(a,b,c){this.keys.push(a);c?this.m[":"+a]=b:this.values[":"+a]=b};ee.prototype.get=function(a){return this.m.hasOwnProperty(":"+a)?this.m[":"+a]:this.values[":"+a]};ee.prototype.map=function(a){for(var b=0;b<this.keys.length;b++){var c=this.keys[b],d=this.get(c);d&&a(c,d)}};var O=window,M=document;var Aa=function(a){var b=O._gaUserPrefs;if(b&&b.ioo&&b.ioo()||a&&!0===O["ga-disable-"+a])return!0;try{var c=O.external;if(c&&c._gaUserPrefs&&"oo"==c._gaUserPrefs)return!0}catch(d){}return!1};var Ca=function(a){var b=[],c=M.cookie.split(";");a=new RegExp("^\\s*"+a+"=\\s*(.*?)\\s*$");for(var d=0;d<c.length;d++){var e=c[d].match(a);e&&b.push(e[1])}return b},zc=function(a,b,c,d,e,g){e=Aa(e)?!1:eb.test(M.location.hostname)||"/"==c&&vc.test(d)?!1:!0;if(!e)return!1;b&&1200<b.length&&(b=b.substring(0,1200),J(24));c=a+"="+b+"; path="+c+"; ";g&&(c+="expires="+(new Date((new Date).getTime()+g)).toGMTString()+"; ");d&&"none"!=d&&(c+="domain="+d+";");d=M.cookie;M.cookie=c;if(!(d=d!=M.cookie))a:{a= |
||||
Ca(a);for(d=0;d<a.length;d++)if(b==a[d]){d=!0;break a}d=!1}return d},Cc=function(a){return K(a).replace(/\(/g,"%28").replace(/\)/g,"%29")},vc=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,eb=/(^|\.)doubleclick\.net$/i;var oc=function(){return(Ba||Ud()?"https:":"http:")+"//www.google-analytics.com"},Da=function(a){this.name="len";this.message=a+"-8192"},ba=function(a,b,c){c=c||ua;if(2036>=b.length)wc(a,b,c);else if(8192>=b.length)x(a,b,c)||wd(a,b,c)||wc(a,b,c);else throw ge("len",b.length),new Da(b.length);},wc=function(a,b,c){var d=ta(a+"?"+b);d.onload=d.onerror=function(){d.onload=null;d.onerror=null;c()}},wd=function(a,b,c){var d=O.XMLHttpRequest;if(!d)return!1;var e=new d;if(!("withCredentials"in e))return!1; |
||||
e.open("POST",a,!0);e.withCredentials=!0;e.setRequestHeader("Content-Type","text/plain");e.onreadystatechange=function(){4==e.readyState&&(c(),e=null)};e.send(b);return!0},x=function(a,b,c){return O.navigator.sendBeacon?O.navigator.sendBeacon(a,b)?(c(),!0):!1:!1},ge=function(a,b,c){1<=100*Math.random()||Aa("?")||(a=["t=error","_e="+a,"_v=j41","sr=1"],b&&a.push("_f="+b),c&&a.push("_m="+K(c.substring(0,100))),a.push("aip=1"),a.push("z="+hd()),wc(oc()+"/collect",a.join("&"),ua))};var Ha=function(){this.M=[]};Ha.prototype.add=function(a){this.M.push(a)};Ha.prototype.D=function(a){try{for(var b=0;b<this.M.length;b++){var c=a.get(this.M[b]);c&&ea(c)&&c.call(O,a)}}catch(d){}b=a.get(Ia);b!=ua&&ea(b)&&(a.set(Ia,ua,!0),setTimeout(b,10))};function Ja(a){if(100!=a.get(Ka)&&La(P(a,Q))%1E4>=100*R(a,Ka))throw"abort";}function Ma(a){if(Aa(P(a,Na)))throw"abort";}function Oa(){var a=M.location.protocol;if("http:"!=a&&"https:"!=a)throw"abort";} |
||||
function Pa(a){try{O.navigator.sendBeacon?J(42):O.XMLHttpRequest&&"withCredentials"in new O.XMLHttpRequest&&J(40)}catch(c){}a.set(ld,Td(a),!0);a.set(Ac,R(a,Ac)+1);var b=[];Qa.map(function(c,d){if(d.F){var e=a.get(c);void 0!=e&&e!=d.defaultValue&&("boolean"==typeof e&&(e*=1),b.push(d.F+"="+K(""+e)))}});b.push("z="+Bd());a.set(Ra,b.join("&"),!0)} |
||||
function Sa(a){var b=P(a,gd)||oc()+"/collect",c=P(a,fa);!c&&a.get(Vd)&&(c="beacon");if(c){var d=P(a,Ra),e=a.get(Ia),e=e||ua;"image"==c?wc(b,d,e):"xhr"==c&&wd(b,d,e)||"beacon"==c&&x(b,d,e)||ba(b,d,e)}else ba(b,P(a,Ra),a.get(Ia));a.set(Ia,ua,!0)}function Hc(a){var b=O.gaData;b&&(b.expId&&a.set(Nc,b.expId),b.expVar&&a.set(Oc,b.expVar))}function cd(){if(O.navigator&&"preview"==O.navigator.loadPurpose)throw"abort";}function yd(a){var b=O.gaDevIds;ka(b)&&0!=b.length&&a.set("&did",b.join(","),!0)} |
||||
function vb(a){if(!a.get(Na))throw"abort";};var hd=function(){return Math.round(2147483647*Math.random())},Bd=function(){try{var a=new Uint32Array(1);O.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return hd()}};function Ta(a){var b=R(a,Ua);500<=b&&J(15);var c=P(a,Va);if("transaction"!=c&&"item"!=c){var c=R(a,Wa),d=(new Date).getTime(),e=R(a,Xa);0==e&&a.set(Xa,d);e=Math.round(2*(d-e)/1E3);0<e&&(c=Math.min(c+e,20),a.set(Xa,d));if(0>=c)throw"abort";a.set(Wa,--c)}a.set(Ua,++b)};var Ya=function(){this.data=new ee},Qa=new ee,Za=[];Ya.prototype.get=function(a){var b=$a(a),c=this.data.get(a);b&&void 0==c&&(c=ea(b.defaultValue)?b.defaultValue():b.defaultValue);return b&&b.Z?b.Z(this,a,c):c};var P=function(a,b){var c=a.get(b);return void 0==c?"":""+c},R=function(a,b){var c=a.get(b);return void 0==c||""===c?0:1*c};Ya.prototype.set=function(a,b,c){if(a)if("object"==typeof a)for(var d in a)a.hasOwnProperty(d)&&ab(this,d,a[d],c);else ab(this,a,b,c)}; |
||||
var ab=function(a,b,c,d){if(void 0!=c)switch(b){case Na:wb.test(c)}var e=$a(b);e&&e.o?e.o(a,b,c,d):a.data.set(b,c,d)},bb=function(a,b,c,d,e){this.name=a;this.F=b;this.Z=d;this.o=e;this.defaultValue=c},$a=function(a){var b=Qa.get(a);if(!b)for(var c=0;c<Za.length;c++){var d=Za[c],e=d[0].exec(a);if(e){b=d[1](e);Qa.set(b.name,b);break}}return b},yc=function(a){var b;Qa.map(function(c,d){d.F==a&&(b=d)});return b&&b.name},S=function(a,b,c,d,e){a=new bb(a,b,c,d,e);Qa.set(a.name,a);return a.name},cb=function(a, |
||||
b){Za.push([new RegExp("^"+a+"$"),b])},T=function(a,b,c){return S(a,b,c,void 0,db)},db=function(){};var gb=qa(window.GoogleAnalyticsObject)&&sa(window.GoogleAnalyticsObject)||"ga",Ba=!1,he=S("_br"),hb=T("apiVersion","v"),ib=T("clientVersion","_v");S("anonymizeIp","aip");var jb=S("adSenseId","a"),Va=S("hitType","t"),Ia=S("hitCallback"),Ra=S("hitPayload");S("nonInteraction","ni");S("currencyCode","cu");S("dataSource","ds");var Vd=S("useBeacon",void 0,!1),fa=S("transport");S("sessionControl","sc","");S("sessionGroup","sg");S("queueTime","qt");var Ac=S("_s","_s");S("screenName","cd"); |
||||
var kb=S("location","dl",""),lb=S("referrer","dr"),mb=S("page","dp","");S("hostname","dh");var nb=S("language","ul"),ob=S("encoding","de");S("title","dt",function(){return M.title||void 0});cb("contentGroup([0-9]+)",function(a){return new bb(a[0],"cg"+a[1])});var pb=S("screenColors","sd"),qb=S("screenResolution","sr"),rb=S("viewportSize","vp"),sb=S("javaEnabled","je"),tb=S("flashVersion","fl");S("campaignId","ci");S("campaignName","cn");S("campaignSource","cs");S("campaignMedium","cm"); |
||||
S("campaignKeyword","ck");S("campaignContent","cc");var ub=S("eventCategory","ec"),xb=S("eventAction","ea"),yb=S("eventLabel","el"),zb=S("eventValue","ev"),Bb=S("socialNetwork","sn"),Cb=S("socialAction","sa"),Db=S("socialTarget","st"),Eb=S("l1","plt"),Fb=S("l2","pdt"),Gb=S("l3","dns"),Hb=S("l4","rrt"),Ib=S("l5","srt"),Jb=S("l6","tcp"),Kb=S("l7","dit"),Lb=S("l8","clt"),Mb=S("timingCategory","utc"),Nb=S("timingVar","utv"),Ob=S("timingLabel","utl"),Pb=S("timingValue","utt");S("appName","an"); |
||||
S("appVersion","av","");S("appId","aid","");S("appInstallerId","aiid","");S("exDescription","exd");S("exFatal","exf");var Nc=S("expId","xid"),Oc=S("expVar","xvar"),Rc=S("_utma","_utma"),Sc=S("_utmz","_utmz"),Tc=S("_utmht","_utmht"),Ua=S("_hc",void 0,0),Xa=S("_ti",void 0,0),Wa=S("_to",void 0,20);cb("dimension([0-9]+)",function(a){return new bb(a[0],"cd"+a[1])});cb("metric([0-9]+)",function(a){return new bb(a[0],"cm"+a[1])});S("linkerParam",void 0,void 0,Bc,db);var ld=S("usage","_u"),Gd=S("_um"); |
||||
S("forceSSL",void 0,void 0,function(){return Ba},function(a,b,c){J(34);Ba=!!c});var ed=S("_j1","jid");cb("\\&(.*)",function(a){var b=new bb(a[0],a[1]),c=yc(a[0].substring(1));c&&(b.Z=function(a){return a.get(c)},b.o=function(a,b,g,ca){a.set(c,g,ca)},b.F=void 0);return b}); |
||||
var Qb=T("_oot"),dd=S("previewTask"),Rb=S("checkProtocolTask"),md=S("validationTask"),Sb=S("checkStorageTask"),Uc=S("historyImportTask"),Tb=S("samplerTask"),Vb=S("_rlt"),Wb=S("buildHitTask"),Xb=S("sendHitTask"),Vc=S("ceTask"),zd=S("devIdTask"),Cd=S("timingTask"),Ld=S("displayFeaturesTask"),V=T("name"),Q=T("clientId","cid"),Ad=S("userId","uid"),Na=T("trackingId","tid"),U=T("cookieName",void 0,"_ga"),W=T("cookieDomain"),Yb=T("cookiePath",void 0,"/"),Zb=T("cookieExpires",void 0,63072E3),$b=T("legacyCookieDomain"), |
||||
Wc=T("legacyHistoryImport",void 0,!0),ac=T("storage",void 0,"cookie"),bc=T("allowLinker",void 0,!1),cc=T("allowAnchor",void 0,!0),Ka=T("sampleRate","sf",100),dc=T("siteSpeedSampleRate",void 0,1),ec=T("alwaysSendReferrer",void 0,!1),gd=S("transportUrl"),Md=S("_r","_r");function X(a,b,c,d){b[a]=function(){try{return d&&J(d),c.apply(this,arguments)}catch(b){throw ge("exc",a,b&&b.name),b;}}};var Od=function(a,b,c){this.V=1E4;this.fa=a;this.$=!1;this.B=b;this.ea=c||1},Ed=function(a,b){var c;if(a.fa&&a.$)return 0;a.$=!0;if(b){if(a.B&&R(b,a.B))return R(b,a.B);if(0==b.get(dc))return 0}if(0==a.V)return 0;void 0===c&&(c=Bd());return 0==c%a.V?Math.floor(c/a.V)%a.ea+1:0};var ie=new Od(!0,he,7),je=function(a){if(!Ud()&&!Ba){var b=Ed(ie,a);if(b&&!(!O.navigator.sendBeacon&&4<=b&&6>=b)){var c=(new Date).getHours(),d=[Bd(),Bd(),Bd()].join(".");a=(3==b||5==b?"https:":"http:")+"//www.google-analytics.com/collect?z=br.";a+=[b,"A",c,d].join(".");var e=1!=b%3?"https:":"http:",e=e+"//www.google-analytics.com/collect?z=br.",e=e+[b,"B",c,d].join(".");7==b&&(e=e.replace("//www.","//ssl."));c=function(){4<=b&&6>=b?O.navigator.sendBeacon(e,""):ta(e)};Bd()%2?(ta(a),c()):(c(),ta(a))}}};function fc(){var a,b,c;if((c=(c=O.navigator)?c.plugins:null)&&c.length)for(var d=0;d<c.length&&!b;d++){var e=c[d];-1<e.name.indexOf("Shockwave Flash")&&(b=e.description)}if(!b)try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),b=a.GetVariable("$version")}catch(g){}if(!b)try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),b="WIN 6,0,21,0",a.AllowScriptAccess="always",b=a.GetVariable("$version")}catch(g){}if(!b)try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),b=a.GetVariable("$version")}catch(g){}b&& |
||||
(a=b.match(/[\d]+/g))&&3<=a.length&&(b=a[0]+"."+a[1]+" r"+a[2]);return b||void 0};var gc=function(a,b){var c=Math.min(R(a,dc),100);if(!(La(P(a,Q))%100>=c)&&(c={},Ec(c)||Fc(c))){var d=c[Eb];void 0==d||Infinity==d||isNaN(d)||(0<d?(Y(c,Gb),Y(c,Jb),Y(c,Ib),Y(c,Fb),Y(c,Hb),Y(c,Kb),Y(c,Lb),b(c)):L(O,"load",function(){gc(a,b)},!1))}},Ec=function(a){var b=O.performance||O.webkitPerformance,b=b&&b.timing;if(!b)return!1;var c=b.navigationStart;if(0==c)return!1;a[Eb]=b.loadEventStart-c;a[Gb]=b.domainLookupEnd-b.domainLookupStart;a[Jb]=b.connectEnd-b.connectStart;a[Ib]=b.responseStart-b.requestStart; |
||||
a[Fb]=b.responseEnd-b.responseStart;a[Hb]=b.fetchStart-c;a[Kb]=b.domInteractive-c;a[Lb]=b.domContentLoadedEventStart-c;return!0},Fc=function(a){if(O.top!=O)return!1;var b=O.external,c=b&&b.onloadT;b&&!b.isValidLoadTime&&(c=void 0);2147483648<c&&(c=void 0);0<c&&b.setPageReadyTime();if(void 0==c)return!1;a[Eb]=c;return!0},Y=function(a,b){var c=a[b];if(isNaN(c)||Infinity==c||0>c)a[b]=void 0},Fd=function(a){return function(b){"pageview"!=b.get(Va)||a.I||(a.I=!0,gc(b,function(b){a.send("timing",b)}))}};var hc=!1,mc=function(a){if("cookie"==P(a,ac)){var b=P(a,U),c=nd(a),d=kc(P(a,Yb)),e=lc(P(a,W)),g=1E3*R(a,Zb),ca=P(a,Na);if("auto"!=e)zc(b,c,d,e,ca,g)&&(hc=!0);else{J(32);var l;a:{c=[];e=xa().split(".");if(4==e.length&&(l=e[e.length-1],parseInt(l,10)==l)){l=["none"];break a}for(l=e.length-2;0<=l;l--)c.push(e.slice(l).join("."));c.push("none");l=c}for(var k=0;k<l.length;k++)if(e=l[k],a.data.set(W,e),c=nd(a),zc(b,c,d,e,ca,g)){hc=!0;return}a.data.set(W,"auto")}}},nc=function(a){if("cookie"==P(a,ac)&& |
||||
!hc&&(mc(a),!hc))throw"abort";},Yc=function(a){if(a.get(Wc)){var b=P(a,W),c=P(a,$b)||xa(),d=Xc("__utma",c,b);d&&(J(19),a.set(Tc,(new Date).getTime(),!0),a.set(Rc,d.R),(b=Xc("__utmz",c,b))&&d.hash==b.hash&&a.set(Sc,b.R))}},nd=function(a){var b=Cc(P(a,Q)),c=ic(P(a,W));a=jc(P(a,Yb));1<a&&(c+="-"+a);return["GA1",c,b].join(".")},Gc=function(a,b,c){for(var d=[],e=[],g,ca=0;ca<a.length;ca++){var l=a[ca];l.H[c]==b?d.push(l):void 0==g||l.H[c]<g?(e=[l],g=l.H[c]):l.H[c]==g&&e.push(l)}return 0<d.length?d:e}, |
||||
lc=function(a){return 0==a.indexOf(".")?a.substr(1):a},ic=function(a){return lc(a).split(".").length},kc=function(a){if(!a)return"/";1<a.length&&a.lastIndexOf("/")==a.length-1&&(a=a.substr(0,a.length-1));0!=a.indexOf("/")&&(a="/"+a);return a},jc=function(a){a=kc(a);return"/"==a?1:a.split("/").length};function Xc(a,b,c){"none"==b&&(b="");var d=[],e=Ca(a);a="__utma"==a?6:2;for(var g=0;g<e.length;g++){var ca=(""+e[g]).split(".");ca.length>=a&&d.push({hash:ca[0],R:e[g],O:ca})}return 0==d.length?void 0:1==d.length?d[0]:Zc(b,d)||Zc(c,d)||Zc(null,d)||d[0]}function Zc(a,b){var c,d;null==a?c=d=1:(c=La(a),d=La(D(a,".")?a.substring(1):"."+a));for(var e=0;e<b.length;e++)if(b[e].hash==c||b[e].hash==d)return b[e]};var od=new RegExp(/^https?:\/\/([^\/:]+)/),pd=/(.*)([?&#])(?:_ga=[^&#]*)(?:&?)(.*)/;function Bc(a){a=a.get(Q);var b=Ic(a,0);return"_ga=1."+K(b+"."+a)}function Ic(a,b){for(var c=new Date,d=O.navigator,e=d.plugins||[],c=[a,d.userAgent,c.getTimezoneOffset(),c.getYear(),c.getDate(),c.getHours(),c.getMinutes()+b],d=0;d<e.length;++d)c.push(e[d].description);return La(c.join("."))}var Dc=function(a){J(48);this.target=a;this.T=!1}; |
||||
Dc.prototype.ca=function(a,b){if(a.tagName){if("a"==a.tagName.toLowerCase()){a.href&&(a.href=qd(this,a.href,b));return}if("form"==a.tagName.toLowerCase())return rd(this,a)}if("string"==typeof a)return qd(this,a,b)}; |
||||
var qd=function(a,b,c){var d=pd.exec(b);d&&3<=d.length&&(b=d[1]+(d[3]?d[2]+d[3]:""));a=a.target.get("linkerParam");var e=b.indexOf("?"),d=b.indexOf("#");c?b+=(-1==d?"#":"&")+a:(c=-1==e?"?":"&",b=-1==d?b+(c+a):b.substring(0,d)+c+a+b.substring(d));return b=b.replace(/&+_ga=/,"&_ga=")},rd=function(a,b){if(b&&b.action){var c=a.target.get("linkerParam").split("=")[1];if("get"==b.method.toLowerCase()){for(var d=b.childNodes||[],e=0;e<d.length;e++)if("_ga"==d[e].name){d[e].setAttribute("value",c);return}d= |
||||
M.createElement("input");d.setAttribute("type","hidden");d.setAttribute("name","_ga");d.setAttribute("value",c);b.appendChild(d)}else"post"==b.method.toLowerCase()&&(b.action=qd(a,b.action))}}; |
||||
Dc.prototype.S=function(a,b,c){function d(c){try{c=c||O.event;var d;a:{var g=c.target||c.srcElement;for(c=100;g&&0<c;){if(g.href&&g.nodeName.match(/^a(?:rea)?$/i)){d=g;break a}g=g.parentNode;c--}d={}}("http:"==d.protocol||"https:"==d.protocol)&&sd(a,d.hostname||"")&&d.href&&(d.href=qd(e,d.href,b))}catch(w){J(26)}}var e=this;this.T||(this.T=!0,L(M,"mousedown",d,!1),L(M,"keyup",d,!1));if(c){c=function(b){b=b||O.event;if((b=b.target||b.srcElement)&&b.action){var c=b.action.match(od);c&&sd(a,c[1])&&rd(e, |
||||
b)}};for(var g=0;g<M.forms.length;g++)L(M.forms[g],"submit",c)}};function sd(a,b){if(b==M.location.hostname)return!1;for(var c=0;c<a.length;c++)if(a[c]instanceof RegExp){if(a[c].test(b))return!0}else if(0<=b.indexOf(a[c]))return!0;return!1};var Jd=function(a,b,c){this.U=ed;this.aa=b;(b=c)||(b=(b=P(a,V))&&"t0"!=b?Wd.test(b)?"_gat_"+Cc(P(a,Na)):"_gat_"+Cc(b):"_gat");this.Y=b},Rd=function(a,b){var c=b.get(Wb);b.set(Wb,function(b){Pd(a,b);var d=c(b);Qd(a,b);return d});var d=b.get(Xb);b.set(Xb,function(b){var c=d(b);Id(a,b);return c})},Pd=function(a,b){b.get(a.U)||("1"==Ca(a.Y)[0]?b.set(a.U,"",!0):b.set(a.U,""+hd(),!0))},Qd=function(a,b){b.get(a.U)&&zc(a.Y,"1",b.get(Yb),b.get(W),b.get(Na),6E5)},Id=function(a,b){if(b.get(a.U)){var c=new ee, |
||||
d=function(a){$a(a).F&&c.set($a(a).F,b.get(a))};d(hb);d(ib);d(Na);d(Q);d(Ad);d(a.U);c.set($a(ld).F,Td(b));var e=a.aa;c.map(function(a,b){e+=K(a)+"=";e+=K(""+b)+"&"});e+="z="+hd();ta(e);b.set(a.U,"",!0)}},Wd=/^gtm\d+$/;var fd=function(a,b){var c=a.b;if(!c.get("dcLoaded")){Nd(c,29);b=b||{};var d;b[U]&&(d=Cc(b[U]));d=new Jd(c,"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&",d);Rd(d,c);c.set("dcLoaded",!0)}};var Sd=function(a){if(!a.get("dcLoaded")&&"cookie"==a.get(ac)){Nd(a,51);var b=new Jd(a);Pd(b,a);Qd(b,a);a.get(b.U)&&(a.set(Md,1,!0),a.set(gd,oc()+"/r/collect",!0))}};var Lc=function(){var a=O.gaGlobal=O.gaGlobal||{};return a.hid=a.hid||hd()};var ad,bd=function(a,b,c){if(!ad){var d;d=M.location.hash;var e=O.name,g=/^#?gaso=([^&]*)/;if(e=(d=(d=d&&d.match(g)||e&&e.match(g))?d[1]:Ca("GASO")[0]||"")&&d.match(/^(?:!([-0-9a-z.]{1,40})!)?([-.\w]{10,1200})$/i))zc("GASO",""+d,c,b,a,0),window._udo||(window._udo=b),window._utcp||(window._utcp=c),a=e[1],wa("https://www.google.com/analytics/web/inpage/pub/inpage.js?"+(a?"prefix="+a+"&":"")+hd(),"_gasojs");ad=!0}};var wb=/^(UA|YT|MO|GP)-(\d+)-(\d+)$/,pc=function(a){function b(a,b){d.b.data.set(a,b)}function c(a,c){b(a,c);d.filters.add(a)}var d=this;this.b=new Ya;this.filters=new Ha;b(V,a[V]);b(Na,sa(a[Na]));b(U,a[U]);b(W,a[W]||xa());b(Yb,a[Yb]);b(Zb,a[Zb]);b($b,a[$b]);b(Wc,a[Wc]);b(bc,a[bc]);b(cc,a[cc]);b(Ka,a[Ka]);b(dc,a[dc]);b(ec,a[ec]);b(ac,a[ac]);b(Ad,a[Ad]);b(hb,1);b(ib,"j41");c(Qb,Ma);c(dd,cd);c(Rb,Oa);c(md,vb);c(Sb,nc);c(Uc,Yc);c(Tb,Ja);c(Vb,Ta);c(Vc,Hc);c(zd,yd);c(Ld,Sd);c(Wb,Pa);c(Xb,Sa);c(Cd,Fd(this)); |
||||
Jc(this.b,a[Q]);Kc(this.b);this.b.set(jb,Lc());bd(this.b.get(Na),this.b.get(W),this.b.get(Yb))},Jc=function(a,b){if("cookie"==P(a,ac)){hc=!1;var c;b:{var d=Ca(P(a,U));if(d&&!(1>d.length)){c=[];for(var e=0;e<d.length;e++){var g;g=d[e].split(".");var ca=g.shift();("GA1"==ca||"1"==ca)&&1<g.length?(ca=g.shift().split("-"),1==ca.length&&(ca[1]="1"),ca[0]*=1,ca[1]*=1,g={H:ca,s:g.join(".")}):g=void 0;g&&c.push(g)}if(1==c.length){J(13);c=c[0].s;break b}if(0==c.length)J(12);else{J(14);d=ic(P(a,W));c=Gc(c, |
||||
d,0);if(1==c.length){c=c[0].s;break b}d=jc(P(a,Yb));c=Gc(c,d,1);c=c[0]&&c[0].s;break b}}c=void 0}c||(c=P(a,W),d=P(a,$b)||xa(),c=Xc("__utma",d,c),void 0!=c?(J(10),c=c.O[1]+"."+c.O[2]):c=void 0);c&&(a.data.set(Q,c),hc=!0)}c=a.get(cc);if(e=(c=M.location[c?"href":"search"].match("(?:&|#|\\?)"+K("_ga").replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&2==c.length?c[1]:"")a.get(bc)?(c=e.indexOf("."),-1==c?J(22):(d=e.substring(c+1),"1"!=e.substring(0,c)?J(22):(c=d.indexOf("."),-1==c?J(22):(e= |
||||
d.substring(0,c),c=d.substring(c+1),e!=Ic(c,0)&&e!=Ic(c,-1)&&e!=Ic(c,-2)?J(23):(J(11),a.data.set(Q,c)))))):J(21);b&&(J(9),a.data.set(Q,K(b)));if(!a.get(Q))if(c=(c=O.gaGlobal&&O.gaGlobal.vid)&&-1!=c.search(/^(?:utma\.)?\d+\.\d+$/)?c:void 0)J(17),a.data.set(Q,c);else{J(8);c=O.navigator.userAgent+(M.cookie?M.cookie:"")+(M.referrer?M.referrer:"");d=c.length;for(e=O.history.length;0<e;)c+=e--^d++;a.data.set(Q,[hd()^La(c)&2147483647,Math.round((new Date).getTime()/1E3)].join("."))}mc(a)},Kc=function(a){var b= |
||||
O.navigator,c=O.screen,d=M.location;a.set(lb,ya(a.get(ec)));if(d){var e=d.pathname||"";"/"!=e.charAt(0)&&(J(31),e="/"+e);a.set(kb,d.protocol+"//"+d.hostname+e+d.search)}c&&a.set(qb,c.width+"x"+c.height);c&&a.set(pb,c.colorDepth+"-bit");var c=M.documentElement,g=(e=M.body)&&e.clientWidth&&e.clientHeight,ca=[];c&&c.clientWidth&&c.clientHeight&&("CSS1Compat"===M.compatMode||!g)?ca=[c.clientWidth,c.clientHeight]:g&&(ca=[e.clientWidth,e.clientHeight]);c=0>=ca[0]||0>=ca[1]?"":ca.join("x");a.set(rb,c);a.set(tb, |
||||
fc());a.set(ob,M.characterSet||M.charset);a.set(sb,b&&"function"===typeof b.javaEnabled&&b.javaEnabled()||!1);a.set(nb,(b&&(b.language||b.browserLanguage)||"").toLowerCase());if(d&&a.get(cc)&&(b=M.location.hash)){b=b.split(/[?&#]+/);d=[];for(c=0;c<b.length;++c)(D(b[c],"utm_id")||D(b[c],"utm_campaign")||D(b[c],"utm_source")||D(b[c],"utm_medium")||D(b[c],"utm_term")||D(b[c],"utm_content")||D(b[c],"gclid")||D(b[c],"dclid")||D(b[c],"gclsrc"))&&d.push(b[c]);0<d.length&&(b="#"+d.join("&"),a.set(kb,a.get(kb)+ |
||||
b))}};pc.prototype.get=function(a){return this.b.get(a)};pc.prototype.set=function(a,b){this.b.set(a,b)};var qc={pageview:[mb],event:[ub,xb,yb,zb],social:[Bb,Cb,Db],timing:[Mb,Nb,Pb,Ob]};pc.prototype.send=function(a){if(!(1>arguments.length)){var b,c;"string"===typeof arguments[0]?(b=arguments[0],c=[].slice.call(arguments,1)):(b=arguments[0]&&arguments[0][Va],c=arguments);b&&(c=za(qc[b]||[],c),c[Va]=b,this.b.set(c,void 0,!0),this.filters.D(this.b),this.b.data.m={},je(this.b))}};var rc=function(a){if("prerender"==M.visibilityState)return!1;a();return!0};var td=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,sc=function(a){if(ea(a[0]))this.u=a[0];else{var b=td.exec(a[0]);null!=b&&4==b.length&&(this.c=b[1]||"t0",this.K=b[2]||"",this.C=b[3],this.a=[].slice.call(a,1),this.K||(this.A="create"==this.C,this.i="require"==this.C,this.g="provide"==this.C,this.ba="remove"==this.C),this.i&&(3<=this.a.length?(this.X=this.a[1],this.W=this.a[2]):this.a[1]&&(qa(this.a[1])?this.X=this.a[1]:this.W=this.a[1])));b=a[1];a=a[2];if(!this.C)throw"abort";if(this.i&&(!qa(b)||""==b))throw"abort"; |
||||
if(this.g&&(!qa(b)||""==b||!ea(a)))throw"abort";if(ud(this.c)||ud(this.K))throw"abort";if(this.g&&"t0"!=this.c)throw"abort";}};function ud(a){return 0<=a.indexOf(".")||0<=a.indexOf(":")};var Yd,Zd,$d;Yd=new ee;$d=new ee;Zd={ec:45,ecommerce:46,linkid:47}; |
||||
var ae=function(a){function b(a){var b=(a.hostname||"").split(":")[0].toLowerCase(),c=(a.protocol||"").toLowerCase(),c=1*a.port||("http:"==c?80:"https:"==c?443:"");a=a.pathname||"";D(a,"/")||(a="/"+a);return[b,""+c,a]}var c=M.createElement("a");c.href=M.location.href;var d=(c.protocol||"").toLowerCase(),e=b(c),g=c.search||"",ca=d+"//"+e[0]+(e[1]?":"+e[1]:"");D(a,"//")?a=d+a:D(a,"/")?a=ca+a:!a||D(a,"?")?a=ca+e[2]+(a||g):0>a.split("/")[0].indexOf(":")&&(a=ca+e[2].substring(0,e[2].lastIndexOf("/"))+ |
||||
"/"+a);c.href=a;d=b(c);return{protocol:(c.protocol||"").toLowerCase(),host:d[0],port:d[1],path:d[2],query:c.search||"",url:a||""}};var Z={ga:function(){Z.f=[]}};Z.ga();Z.D=function(a){var b=Z.J.apply(Z,arguments),b=Z.f.concat(b);for(Z.f=[];0<b.length&&!Z.v(b[0])&&!(b.shift(),0<Z.f.length););Z.f=Z.f.concat(b)}; |
||||
Z.J=function(a){for(var b=[],c=0;c<arguments.length;c++)try{var d=new sc(arguments[c]);if(d.g)Yd.set(d.a[0],d.a[1]);else{if(d.i){var e=d,g=e.a[0];if(!ea(Yd.get(g))&&!$d.get(g)){Zd.hasOwnProperty(g)&&J(Zd[g]);var ca=e.X;!ca&&Zd.hasOwnProperty(g)?(J(39),ca=g+".js"):J(43);if(ca){ca&&0<=ca.indexOf("/")||(ca=(Ba||Ud()?"https:":"http:")+"//www.google-analytics.com/plugins/ua/"+ca);var l=ae(ca),e=void 0;var k=l.protocol,w=M.location.protocol,e="https:"==k||k==w?!0:"http:"!=k?!1:"http:"==w;var Xd;if(Xd=e){var e= |
||||
l,be=ae(M.location.href);if(e.query||0<=e.url.indexOf("?")||0<=e.path.indexOf("://"))Xd=!1;else if(e.host==be.host&&e.port==be.port)Xd=!0;else{var ce="http:"==e.protocol?80:443;Xd="www.google-analytics.com"==e.host&&(e.port||ce)==ce&&D(e.path,"/plugins/")?!0:!1}}Xd&&(wa(l.url),$d.set(g,!0))}}}b.push(d)}}catch(de){}return b}; |
||||
Z.v=function(a){try{if(a.u)a.u.call(O,N.j("t0"));else{var b=a.c==gb?N:N.j(a.c);if(a.A)"t0"==a.c&&N.create.apply(N,a.a);else if(a.ba)N.remove(a.c);else if(b)if(a.i){var c;var d=a.a[0],e=a.W;b==N||b.get(V);var g=Yd.get(d);ea(g)?(b.plugins_=b.plugins_||new ee,b.plugins_.get(d)||b.plugins_.set(d,new g(b,e||{})),c=!0):c=!1;if(!c)return!0}else if(a.K){var ca=a.C,l=a.a,k=b.plugins_.get(a.K);k[ca].apply(k,l)}else b[a.C].apply(b,a.a)}}catch(w){}};var N=function(a){J(1);Z.D.apply(Z,[arguments])};N.h={};N.P=[];N.L=0;N.answer=42;var uc=[Na,W,V];N.create=function(a){var b=za(uc,[].slice.call(arguments));b[V]||(b[V]="t0");var c=""+b[V];if(N.h[c])return N.h[c];b=new pc(b);N.h[c]=b;N.P.push(b);return b};N.remove=function(a){for(var b=0;b<N.P.length;b++)if(N.P[b].get(V)==a){N.P.splice(b,1);N.h[a]=null;break}};N.j=function(a){return N.h[a]};N.getAll=function(){return N.P.slice(0)}; |
||||
N.N=function(){"ga"!=gb&&J(49);var a=O[gb];if(!a||42!=a.answer){N.L=a&&a.l;N.loaded=!0;var b=O[gb]=N;X("create",b,b.create);X("remove",b,b.remove);X("getByName",b,b.j,5);X("getAll",b,b.getAll,6);b=pc.prototype;X("get",b,b.get,7);X("set",b,b.set,4);X("send",b,b.send);b=Ya.prototype;X("get",b,b.get);X("set",b,b.set);if(!Ud()&&!Ba){a:{for(var b=M.getElementsByTagName("script"),c=0;c<b.length&&100>c;c++){var d=b[c].src;if(d&&0==d.indexOf("https://www.google-analytics.com/analytics")){J(33);b=!0;break a}}b= |
||||
!1}b&&(Ba=!0)}Ud()||Ba||!Ed(new Od)||(J(36),Ba=!0);(O.gaplugins=O.gaplugins||{}).Linker=Dc;b=Dc.prototype;Yd.set("linker",Dc);X("decorate",b,b.ca,20);X("autoLink",b,b.S,25);Yd.set("displayfeatures",fd);Yd.set("adfeatures",fd);a=a&&a.q;ka(a)?Z.D.apply(N,a):J(50)}};N.da=function(){for(var a=N.getAll(),b=0;b<a.length;b++)a[b].get(V)}; |
||||
(function(){var a=N.N;if(!rc(a)){J(16);var b=!1,c=function(){if(!b&&rc(a)){b=!0;var d=c,e=M;e.removeEventListener?e.removeEventListener("visibilitychange",d,!1):e.detachEvent&&e.detachEvent("onvisibilitychange",d)}};L(M,"visibilitychange",c)}})();function La(a){var b=1,c=0,d;if(a)for(b=0,d=a.length-1;0<=d;d--)c=a.charCodeAt(d),b=(b<<6&268435455)+c+(c<<14),c=b&266338304,b=0!=c?b^c>>21:b;return b};})(window); |
@ -1,2 +0,0 @@ |
||||
try{var v=document.createElement("script");v.setAttribute("type","text/javascript");v.setAttribute("src","//cdn.ywxi.net/js/host.js?h="+location.host); |
||||
document.getElementsByTagName("head")[0].appendChild(v)}catch(e){}; |
@ -1,4 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="1.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
</dwsync> |
@ -1,535 +0,0 @@ |
||||
// SmoothScroll for websites v1.2.1
|
||||
// Licensed under the terms of the MIT license.
|
||||
|
||||
// People involved
|
||||
// - Balazs Galambosi (maintainer)
|
||||
// - Michael Herf (Pulse Algorithm)
|
||||
|
||||
(function(){ |
||||
|
||||
// Scroll Variables (tweakable)
|
||||
var defaultOptions = { |
||||
|
||||
// Scrolling Core
|
||||
frameRate : 150, // [Hz]
|
||||
animationTime : 400, // [px]
|
||||
stepSize : 120, // [px]
|
||||
|
||||
// Pulse (less tweakable)
|
||||
// ratio of "tail" to "acceleration"
|
||||
pulseAlgorithm : false, |
||||
pulseScale : 8, |
||||
pulseNormalize : 1, |
||||
|
||||
// Acceleration
|
||||
accelerationDelta : 10, // 20
|
||||
accelerationMax : 1, // 1
|
||||
|
||||
// Keyboard Settings
|
||||
keyboardSupport : true, // option
|
||||
arrowScroll : 50, // [px]
|
||||
|
||||
// Other
|
||||
touchpadSupport : true, |
||||
fixedBackground : true,
|
||||
excluded : ""
|
||||
}; |
||||
|
||||
var options = defaultOptions; |
||||
|
||||
|
||||
// Other Variables
|
||||
var isExcluded = false; |
||||
var isFrame = false; |
||||
var direction = { x: 0, y: 0 }; |
||||
var initDone = false; |
||||
var root = document.documentElement; |
||||
var activeElement; |
||||
var observer; |
||||
var deltaBuffer = [ 120, 120, 120 ]; |
||||
|
||||
var key = { left: 37, up: 38, right: 39, down: 40, spacebar: 32,
|
||||
pageup: 33, pagedown: 34, end: 35, home: 36 }; |
||||
|
||||
|
||||
/*********************************************** |
||||
* SETTINGS |
||||
***********************************************/ |
||||
|
||||
var options = defaultOptions; |
||||
|
||||
|
||||
/*********************************************** |
||||
* INITIALIZE |
||||
***********************************************/ |
||||
|
||||
/** |
||||
* Tests if smooth scrolling is allowed. Shuts down everything if not. |
||||
*/ |
||||
function initTest() { |
||||
|
||||
var disableKeyboard = false;
|
||||
|
||||
// disable keyboard support if anything above requested it
|
||||
if (disableKeyboard) { |
||||
removeEvent("keydown", keydown); |
||||
} |
||||
|
||||
if (options.keyboardSupport && !disableKeyboard) { |
||||
addEvent("keydown", keydown); |
||||
} |
||||
} |
||||
|
||||
/** |
||||
* Sets up scrolls array, determines if frames are involved. |
||||
*/ |
||||
function init() { |
||||
|
||||
if (!document.body) return; |
||||
|
||||
var body = document.body; |
||||
var html = document.documentElement; |
||||
var windowHeight = window.innerHeight;
|
||||
var scrollHeight = body.scrollHeight; |
||||
|
||||
// check compat mode for root element
|
||||
root = (document.compatMode.indexOf('CSS') >= 0) ? html : body; |
||||
activeElement = body; |
||||
|
||||
initTest(); |
||||
initDone = true; |
||||
|
||||
// Checks if this script is running in a frame
|
||||
if (top != self) { |
||||
isFrame = true; |
||||
} |
||||
|
||||
/** |
||||
* This fixes a bug where the areas left and right to
|
||||
* the content does not trigger the onmousewheel event |
||||
* on some pages. e.g.: html, body { height: 100% } |
||||
*/ |
||||
else if (scrollHeight > windowHeight && |
||||
(body.offsetHeight <= windowHeight ||
|
||||
html.offsetHeight <= windowHeight)) { |
||||
|
||||
// DOMChange (throttle): fix height
|
||||
var pending = false; |
||||
var refresh = function () { |
||||
if (!pending && html.scrollHeight != document.height) { |
||||
pending = true; // add a new pending action
|
||||
setTimeout(function () { |
||||
html.style.height = document.height + 'px'; |
||||
pending = false; |
||||
}, 500); // act rarely to stay fast
|
||||
} |
||||
}; |
||||
html.style.height = 'auto'; |
||||
setTimeout(refresh, 10); |
||||
|
||||
// clearfix
|
||||
if (root.offsetHeight <= windowHeight) { |
||||
var underlay = document.createElement("div");
|
||||
underlay.style.clear = "both"; |
||||
body.appendChild(underlay); |
||||
} |
||||
} |
||||
|
||||
// disable fixed background
|
||||
if (!options.fixedBackground && !isExcluded) { |
||||
body.style.backgroundAttachment = "scroll"; |
||||
html.style.backgroundAttachment = "scroll"; |
||||
} |
||||
} |
||||
|
||||
|
||||
/************************************************ |
||||
* SCROLLING
|
||||
************************************************/ |
||||
|
||||
var que = []; |
||||
var pending = false; |
||||
var lastScroll = +new Date; |
||||
|
||||
/** |
||||
* Pushes scroll actions to the scrolling queue. |
||||
*/ |
||||
function scrollArray(elem, left, top, delay) { |
||||
|
||||
delay || (delay = 1000); |
||||
directionCheck(left, top); |
||||
|
||||
if (options.accelerationMax != 1) { |
||||
var now = +new Date; |
||||
var elapsed = now - lastScroll; |
||||
if (elapsed < options.accelerationDelta) { |
||||
var factor = (1 + (30 / elapsed)) / 2; |
||||
if (factor > 1) { |
||||
factor = Math.min(factor, options.accelerationMax); |
||||
left *= factor; |
||||
top *= factor; |
||||
} |
||||
} |
||||
lastScroll = +new Date; |
||||
}
|
||||
|
||||
// push a scroll command
|
||||
que.push({ |
||||
x: left,
|
||||
y: top,
|
||||
lastX: (left < 0) ? 0.99 : -0.99, |
||||
lastY: (top < 0) ? 0.99 : -0.99,
|
||||
start: +new Date |
||||
}); |
||||
|
||||
// don't act if there's a pending queue
|
||||
if (pending) { |
||||
return; |
||||
}
|
||||
|
||||
var scrollWindow = (elem === document.body); |
||||
|
||||
var step = function (time) { |
||||
|
||||
var now = +new Date; |
||||
var scrollX = 0; |
||||
var scrollY = 0;
|
||||
|
||||
for (var i = 0; i < que.length; i++) { |
||||
|
||||
var item = que[i]; |
||||
var elapsed = now - item.start; |
||||
var finished = (elapsed >= options.animationTime); |
||||
|
||||
// scroll position: [0, 1]
|
||||
var position = (finished) ? 1 : elapsed / options.animationTime; |
||||
|
||||
// easing [optional]
|
||||
if (options.pulseAlgorithm) { |
||||
position = pulse(position); |
||||
} |
||||
|
||||
// only need the difference
|
||||
var x = (item.x * position - item.lastX) >> 0; |
||||
var y = (item.y * position - item.lastY) >> 0; |
||||
|
||||
// add this to the total scrolling
|
||||
scrollX += x; |
||||
scrollY += y;
|
||||
|
||||
// update last values
|
||||
item.lastX += x; |
||||
item.lastY += y; |
||||
|
||||
// delete and step back if it's over
|
||||
if (finished) { |
||||
que.splice(i, 1); i--; |
||||
}
|
||||
} |
||||
|
||||
// scroll left and top
|
||||
if (scrollWindow) { |
||||
window.scrollBy(scrollX, scrollY); |
||||
}
|
||||
else { |
||||
if (scrollX) elem.scrollLeft += scrollX; |
||||
if (scrollY) elem.scrollTop += scrollY;
|
||||
} |
||||
|
||||
// clean up if there's nothing left to do
|
||||
if (!left && !top) { |
||||
que = []; |
||||
} |
||||
|
||||
if (que.length) {
|
||||
requestFrame(step, elem, (delay / options.frameRate + 1));
|
||||
} else {
|
||||
pending = false; |
||||
} |
||||
}; |
||||
|
||||
// start a new queue of actions
|
||||
requestFrame(step, elem, 0); |
||||
pending = true; |
||||
} |
||||
|
||||
|
||||
/*********************************************** |
||||
* EVENTS |
||||
***********************************************/ |
||||
|
||||
/** |
||||
* Mouse wheel handler. |
||||
* @param {Object} event |
||||
*/ |
||||
function wheel(event) { |
||||
|
||||
if (!initDone) { |
||||
init(); |
||||
} |
||||
|
||||
var target = event.target; |
||||
var overflowing = overflowingAncestor(target); |
||||
|
||||
// use default if there's no overflowing
|
||||
// element or default action is prevented
|
||||
if (!overflowing || event.defaultPrevented || |
||||
isNodeName(activeElement, "embed") || |
||||
(isNodeName(target, "embed") && /\.pdf/i.test(target.src))) { |
||||
return true; |
||||
} |
||||
|
||||
var deltaX = event.wheelDeltaX || 0; |
||||
var deltaY = event.wheelDeltaY || 0; |
||||
|
||||
// use wheelDelta if deltaX/Y is not available
|
||||
if (!deltaX && !deltaY) { |
||||
deltaY = event.wheelDelta || 0; |
||||
} |
||||
|
||||
// check if it's a touchpad scroll that should be ignored
|
||||
if (!options.touchpadSupport && isTouchpad(deltaY)) { |
||||
return true; |
||||
} |
||||
|
||||
// scale by step size
|
||||
// delta is 120 most of the time
|
||||
// synaptics seems to send 1 sometimes
|
||||
if (Math.abs(deltaX) > 1.2) { |
||||
deltaX *= options.stepSize / 120; |
||||
} |
||||
if (Math.abs(deltaY) > 1.2) { |
||||
deltaY *= options.stepSize / 120; |
||||
} |
||||
|
||||
scrollArray(overflowing, -deltaX, -deltaY); |
||||
event.preventDefault(); |
||||
} |
||||
|
||||
/** |
||||
* Keydown event handler. |
||||
* @param {Object} event |
||||
*/ |
||||
function keydown(event) { |
||||
|
||||
var target = event.target; |
||||
var modifier = event.ctrlKey || event.altKey || event.metaKey ||
|
||||
(event.shiftKey && event.keyCode !== key.spacebar); |
||||
|
||||
// do nothing if user is editing text
|
||||
// or using a modifier key (except shift)
|
||||
// or in a dropdown
|
||||
if ( /input|textarea|select|embed/i.test(target.nodeName) || |
||||
target.isContentEditable ||
|
||||
event.defaultPrevented || |
||||
modifier ) { |
||||
return true; |
||||
} |
||||
// spacebar should trigger button press
|
||||
if (isNodeName(target, "button") && |
||||
event.keyCode === key.spacebar) { |
||||
return true; |
||||
} |
||||
|
||||
var shift, x = 0, y = 0; |
||||
var elem = overflowingAncestor(activeElement); |
||||
var clientHeight = elem.clientHeight; |
||||
|
||||
if (elem == document.body) { |
||||
clientHeight = window.innerHeight; |
||||
} |
||||
|
||||
switch (event.keyCode) { |
||||
case key.up: |
||||
y = -options.arrowScroll; |
||||
break; |
||||
case key.down: |
||||
y = options.arrowScroll; |
||||
break;
|
||||
case key.spacebar: // (+ shift)
|
||||
shift = event.shiftKey ? 1 : -1; |
||||
y = -shift * clientHeight * 0.9; |
||||
break; |
||||
case key.pageup: |
||||
y = -clientHeight * 0.9; |
||||
break; |
||||
case key.pagedown: |
||||
y = clientHeight * 0.9; |
||||
break; |
||||
case key.home: |
||||
y = -elem.scrollTop; |
||||
break; |
||||
case key.end: |
||||
var damt = elem.scrollHeight - elem.scrollTop - clientHeight; |
||||
y = (damt > 0) ? damt+10 : 0; |
||||
break; |
||||
case key.left: |
||||
x = -options.arrowScroll; |
||||
break; |
||||
case key.right: |
||||
x = options.arrowScroll; |
||||
break;
|
||||
default: |
||||
return true; // a key we don't care about
|
||||
} |
||||
|
||||
scrollArray(elem, x, y); |
||||
event.preventDefault(); |
||||
} |
||||
|
||||
/** |
||||
* Mousedown event only for updating activeElement |
||||
*/ |
||||
function mousedown(event) { |
||||
activeElement = event.target; |
||||
} |
||||
|
||||
|
||||
/*********************************************** |
||||
* OVERFLOW |
||||
***********************************************/ |
||||
|
||||
var cache = {}; // cleared out every once in while
|
||||
setInterval(function () { cache = {}; }, 10 * 1000); |
||||
|
||||
var uniqueID = (function () { |
||||
var i = 0; |
||||
return function (el) { |
||||
return el.uniqueID || (el.uniqueID = i++); |
||||
}; |
||||
})(); |
||||
|
||||
function setCache(elems, overflowing) { |
||||
for (var i = elems.length; i--;) |
||||
cache[uniqueID(elems[i])] = overflowing; |
||||
return overflowing; |
||||
} |
||||
|
||||
function overflowingAncestor(el) { |
||||
var elems = []; |
||||
var rootScrollHeight = root.scrollHeight; |
||||
do { |
||||
var cached = cache[uniqueID(el)]; |
||||
if (cached) { |
||||
return setCache(elems, cached); |
||||
} |
||||
elems.push(el); |
||||
if (rootScrollHeight === el.scrollHeight) { |
||||
if (!isFrame || root.clientHeight + 10 < rootScrollHeight) { |
||||
return setCache(elems, document.body); // scrolling root in WebKit
|
||||
} |
||||
} else if (el.clientHeight + 10 < el.scrollHeight) { |
||||
overflow = getComputedStyle(el, "").getPropertyValue("overflow-y"); |
||||
if (overflow === "scroll" || overflow === "auto") { |
||||
return setCache(elems, el); |
||||
} |
||||
} |
||||
} while (el = el.parentNode); |
||||
} |
||||
|
||||
|
||||
/*********************************************** |
||||
* HELPERS |
||||
***********************************************/ |
||||
|
||||
function addEvent(type, fn, bubble) { |
||||
window.addEventListener(type, fn, (bubble||false)); |
||||
} |
||||
|
||||
function removeEvent(type, fn, bubble) { |
||||
window.removeEventListener(type, fn, (bubble||false));
|
||||
} |
||||
|
||||
function isNodeName(el, tag) { |
||||
return (el.nodeName||"").toLowerCase() === tag.toLowerCase(); |
||||
} |
||||
|
||||
function directionCheck(x, y) { |
||||
x = (x > 0) ? 1 : -1; |
||||
y = (y > 0) ? 1 : -1; |
||||
if (direction.x !== x || direction.y !== y) { |
||||
direction.x = x; |
||||
direction.y = y; |
||||
que = []; |
||||
lastScroll = 0; |
||||
} |
||||
} |
||||
|
||||
var deltaBufferTimer; |
||||
|
||||
function isTouchpad(deltaY) { |
||||
if (!deltaY) return; |
||||
deltaY = Math.abs(deltaY) |
||||
deltaBuffer.push(deltaY); |
||||
deltaBuffer.shift(); |
||||
clearTimeout(deltaBufferTimer); |
||||
var allDivisable = (isDivisible(deltaBuffer[0], 120) && |
||||
isDivisible(deltaBuffer[1], 120) && |
||||
isDivisible(deltaBuffer[2], 120)); |
||||
return !allDivisable; |
||||
}
|
||||
|
||||
function isDivisible(n, divisor) { |
||||
return (Math.floor(n / divisor) == n / divisor); |
||||
} |
||||
|
||||
var requestFrame = (function () { |
||||
return window.requestAnimationFrame ||
|
||||
window.webkitRequestAnimationFrame ||
|
||||
function (callback, element, delay) { |
||||
window.setTimeout(callback, delay || (1000/60)); |
||||
}; |
||||
})(); |
||||
|
||||
|
||||
/*********************************************** |
||||
* PULSE |
||||
***********************************************/ |
||||
|
||||
/** |
||||
* Viscous fluid with a pulse for part and decay for the rest. |
||||
* - Applies a fixed force over an interval (a damped acceleration), and |
||||
* - Lets the exponential bleed away the velocity over a longer interval |
||||
* - Michael Herf, http://stereopsis.com/stopping/
|
||||
*/ |
||||
function pulse_(x) { |
||||
var val, start, expx; |
||||
// test
|
||||
x = x * options.pulseScale; |
||||
if (x < 1) { // acceleartion
|
||||
val = x - (1 - Math.exp(-x)); |
||||
} else { // tail
|
||||
// the previous animation ended here:
|
||||
start = Math.exp(-1); |
||||
// simple viscous drag
|
||||
x -= 1; |
||||
expx = 1 - Math.exp(-x); |
||||
val = start + (expx * (1 - start)); |
||||
} |
||||
return val * options.pulseNormalize; |
||||
} |
||||
|
||||
function pulse(x) { |
||||
if (x >= 1) return 1; |
||||
if (x <= 0) return 0; |
||||
|
||||
if (options.pulseNormalize == 1) { |
||||
options.pulseNormalize /= pulse_(1); |
||||
} |
||||
return pulse_(x); |
||||
} |
||||
|
||||
var isChrome = /chrome/i.test(window.navigator.userAgent); |
||||
var wheelEvent = null; |
||||
if ("onwheel" in document.createElement("div")) |
||||
wheelEvent = "wheel"; |
||||
else if ("onmousewheel" in document.createElement("div")) |
||||
wheelEvent = "mousewheel"; |
||||
|
||||
if (wheelEvent && isChrome) { |
||||
addEvent(wheelEvent, wheel); |
||||
addEvent("mousedown", mousedown); |
||||
addEvent("load", init); |
||||
} |
||||
|
||||
})(); |
@ -1,11 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<dwsync> |
||||
<file name="html5shiv.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="jquery.iosslider.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="respond.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="jquery-1.8.1.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="skrollr.ie.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="skrollr.min.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="SmoothScroll.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
<file name="ui.js" server="yimian.xyz/./yimian.xyz/public_html/" local="131868576000000000" remote="131868576000000000" Dst="0" /> |
||||
</dwsync> |
@ -1,298 +0,0 @@ |
||||
/** |
||||
* @preserve HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed |
||||
*/ |
||||
;(function(window, document) { |
||||
/*jshint evil:true */ |
||||
/** version */ |
||||
var version = '3.6.2pre'; |
||||
|
||||
/** Preset options */ |
||||
var options = window.html5 || {}; |
||||
|
||||
/** Used to skip problem elements */ |
||||
var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; |
||||
|
||||
/** Not all elements can be cloned in IE **/ |
||||
var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; |
||||
|
||||
/** Detect whether the browser supports default html5 styles */ |
||||
var supportsHtml5Styles; |
||||
|
||||
/** Name of the expando, to work with multiple documents or to re-shiv one document */ |
||||
var expando = '_html5shiv'; |
||||
|
||||
/** The id for the the documents expando */ |
||||
var expanID = 0; |
||||
|
||||
/** Cached data for each document */ |
||||
var expandoData = {}; |
||||
|
||||
/** Detect whether the browser supports unknown elements */ |
||||
var supportsUnknownElements; |
||||
|
||||
(function() { |
||||
try { |
||||
var a = document.createElement('a'); |
||||
a.innerHTML = '<xyz></xyz>'; |
||||
//if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles
|
||||
supportsHtml5Styles = ('hidden' in a); |
||||
|
||||
supportsUnknownElements = a.childNodes.length == 1 || (function() { |
||||
// assign a false positive if unable to shiv
|
||||
(document.createElement)('a'); |
||||
var frag = document.createDocumentFragment(); |
||||
return ( |
||||
typeof frag.cloneNode == 'undefined' || |
||||
typeof frag.createDocumentFragment == 'undefined' || |
||||
typeof frag.createElement == 'undefined' |
||||
); |
||||
}()); |
||||
} catch(e) { |
||||
supportsHtml5Styles = true; |
||||
supportsUnknownElements = true; |
||||
} |
||||
|
||||
}()); |
||||
|
||||
/*--------------------------------------------------------------------------*/ |
||||
|
||||
/** |
||||
* Creates a style sheet with the given CSS text and adds it to the document. |
||||
* @private |
||||
* @param {Document} ownerDocument The document. |
||||
* @param {String} cssText The CSS text. |
||||
* @returns {StyleSheet} The style element. |
||||
*/ |
||||
function addStyleSheet(ownerDocument, cssText) { |
||||
var p = ownerDocument.createElement('p'), |
||||
parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; |
||||
|
||||
p.innerHTML = 'x<style>' + cssText + '</style>'; |
||||
return parent.insertBefore(p.lastChild, parent.firstChild); |
||||
} |
||||
|
||||
/** |
||||
* Returns the value of `html5.elements` as an array. |
||||
* @private |
||||
* @returns {Array} An array of shived element node names. |
||||
*/ |
||||
function getElements() { |
||||
var elements = html5.elements; |
||||
return typeof elements == 'string' ? elements.split(' ') : elements; |
||||
} |
||||
|
||||
/** |
||||
* Returns the data associated to the given document |
||||
* @private |
||||
* @param {Document} ownerDocument The document. |
||||
* @returns {Object} An object of data. |
||||
*/ |
||||
function getExpandoData(ownerDocument) { |
||||
var data = expandoData[ownerDocument[expando]]; |
||||
if (!data) { |
||||
data = {}; |
||||
expanID++; |
||||
ownerDocument[expando] = expanID; |
||||
expandoData[expanID] = data; |
||||
} |
||||
return data; |
||||
} |
||||
|
||||
/** |
||||
* returns a shived element for the given nodeName and document |
||||
* @memberOf html5 |
||||
* @param {String} nodeName name of the element |
||||
* @param {Document} ownerDocument The context document. |
||||
* @returns {Object} The shived element. |
||||
*/ |
||||
function createElement(nodeName, ownerDocument, data){ |
||||
if (!ownerDocument) { |
||||
ownerDocument = document; |
||||
} |
||||
if(supportsUnknownElements){ |
||||
return ownerDocument.createElement(nodeName); |
||||
} |
||||
if (!data) { |
||||
data = getExpandoData(ownerDocument); |
||||
} |
||||
var node; |
||||
|
||||
if (data.cache[nodeName]) { |
||||
node = data.cache[nodeName].cloneNode(); |
||||
} else if (saveClones.test(nodeName)) { |
||||
node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); |
||||
} else { |
||||
node = data.createElem(nodeName); |
||||
} |
||||
|
||||
// Avoid adding some elements to fragments in IE < 9 because
|
||||
// * Attributes like `name` or `type` cannot be set/changed once an element
|
||||
// is inserted into a document/fragment
|
||||
// * Link elements with `src` attributes that are inaccessible, as with
|
||||
// a 403 response, will cause the tab/window to crash
|
||||
// * Script elements appended to fragments will execute when their `src`
|
||||
// or `text` property is set
|
||||
return node.canHaveChildren && !reSkip.test(nodeName) ? data.frag.appendChild(node) : node; |
||||
} |
||||
|
||||
/** |
||||
* returns a shived DocumentFragment for the given document |
||||
* @memberOf html5 |
||||
* @param {Document} ownerDocument The context document. |
||||
* @returns {Object} The shived DocumentFragment. |
||||
*/ |
||||
function createDocumentFragment(ownerDocument, data){ |
||||
if (!ownerDocument) { |
||||
ownerDocument = document; |
||||
} |
||||
if(supportsUnknownElements){ |
||||
return ownerDocument.createDocumentFragment(); |
||||
} |
||||
data = data || getExpandoData(ownerDocument); |
||||
var clone = data.frag.cloneNode(), |
||||
i = 0, |
||||
elems = getElements(), |
||||
l = elems.length; |
||||
for(;i<l;i++){ |
||||
clone.createElement(elems[i]); |
||||
} |
||||
return clone; |
||||
} |
||||
|
||||
/** |
||||
* Shivs the `createElement` and `createDocumentFragment` methods of the document. |
||||
* @private |
||||
* @param {Document|DocumentFragment} ownerDocument The document. |
||||
* @param {Object} data of the document. |
||||
*/ |
||||
function shivMethods(ownerDocument, data) { |
||||
if (!data.cache) { |
||||
data.cache = {}; |
||||
data.createElem = ownerDocument.createElement; |
||||
data.createFrag = ownerDocument.createDocumentFragment; |
||||
data.frag = data.createFrag(); |
||||
} |
||||
|
||||
|
||||
ownerDocument.createElement = function(nodeName) { |
||||
//abort shiv
|
||||
if (!html5.shivMethods) { |
||||
return data.createElem(nodeName); |
||||
} |
||||
return createElement(nodeName, ownerDocument, data); |
||||
}; |
||||
|
||||
ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' + |
||||
'var n=f.cloneNode(),c=n.createElement;' + |
||||
'h.shivMethods&&(' + |
||||
// unroll the `createElement` calls
|
||||
getElements().join().replace(/\w+/g, function(nodeName) { |
||||
data.createElem(nodeName); |
||||
data.frag.createElement(nodeName); |
||||
return 'c("' + nodeName + '")'; |
||||
}) + |
||||
');return n}' |
||||
)(html5, data.frag); |
||||
} |
||||
|
||||
/*--------------------------------------------------------------------------*/ |
||||
|
||||
/** |
||||
* Shivs the given document. |
||||
* @memberOf html5 |
||||
* @param {Document} ownerDocument The document to shiv. |
||||
* @returns {Document} The shived document. |
||||
*/ |
||||
function shivDocument(ownerDocument) { |
||||
if (!ownerDocument) { |
||||
ownerDocument = document; |
||||
} |
||||
var data = getExpandoData(ownerDocument); |
||||
|
||||
if (html5.shivCSS && !supportsHtml5Styles && !data.hasCSS) { |
||||
data.hasCSS = !!addStyleSheet(ownerDocument, |
||||
// corrects block display not defined in IE6/7/8/9
|
||||
'article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}' + |
||||
// adds styling not present in IE6/7/8/9
|
||||
'mark{background:#FF0;color:#000}' |
||||
); |
||||
} |
||||
if (!supportsUnknownElements) { |
||||
shivMethods(ownerDocument, data); |
||||
} |
||||
return ownerDocument; |
||||
} |
||||
|
||||
/*--------------------------------------------------------------------------*/ |
||||
|
||||
/** |
||||
* The `html5` object is exposed so that more elements can be shived and |
||||
* existing shiving can be detected on iframes. |
||||
* @type Object |
||||
* @example |
||||
* |
||||
* // options can be changed before the script is included
|
||||
* html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false }; |
||||
*/ |
||||
var html5 = { |
||||
|
||||
/** |
||||
* An array or space separated string of node names of the elements to shiv. |
||||
* @memberOf html5 |
||||
* @type Array|String |
||||
*/ |
||||
'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video', |
||||
|
||||
/** |
||||
* current version of html5shiv |
||||
*/ |
||||
'version': version, |
||||
|
||||
/** |
||||
* A flag to indicate that the HTML5 style sheet should be inserted. |
||||
* @memberOf html5 |
||||
* @type Boolean |
||||
*/ |
||||
'shivCSS': (options.shivCSS !== false), |
||||
|
||||
/** |
||||
* Is equal to true if a browser supports creating unknown/HTML5 elements |
||||
* @memberOf html5 |
||||
* @type boolean |
||||
*/ |
||||
'supportsUnknownElements': supportsUnknownElements, |
||||
|
||||
/** |
||||
* A flag to indicate that the document's `createElement` and `createDocumentFragment` |
||||
* methods should be overwritten. |
||||
* @memberOf html5 |
||||
* @type Boolean |
||||
*/ |
||||
'shivMethods': (options.shivMethods !== false), |
||||
|
||||
/** |
||||
* A string to describe the type of `html5` object ("default" or "default print"). |
||||
* @memberOf html5 |
||||
* @type String |
||||
*/ |
||||
'type': 'default', |
||||
|
||||
// shivs the document according to the specified `html5` object options
|
||||
'shivDocument': shivDocument, |
||||
|
||||
//creates a shived element
|
||||
createElement: createElement, |
||||
|
||||
//creates a shived documentFragment
|
||||
createDocumentFragment: createDocumentFragment |
||||
}; |
||||
|
||||
/*--------------------------------------------------------------------------*/ |
||||
|
||||
// expose html5
|
||||
window.html5 = html5; |
||||
|
||||
// shiv the document
|
||||
shivDocument(document); |
||||
|
||||
}(this, document)); |
@ -1,5 +0,0 @@ |
||||
/*! Respond.js v1.4.0: min/max-width media query polyfill * Copyright 2013 Scott Jehl |
||||
* Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
|
||||
* */ |
||||
|
||||
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){s(!0)}var c={};if(a.respond=c,c.update=function(){},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var d,e,f,g=a.document,h=g.documentElement,i=[],j=[],k=[],l={},m=30,n=g.getElementsByTagName("head")[0]||h,o=g.getElementsByTagName("base")[0],p=n.getElementsByTagName("link"),q=[],r=function(){var a,b=g.createElement("div"),c=g.body,d=h.style.fontSize,e=c&&c.style.fontSize,i=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=i=g.createElement("body"),c.style.background="none"),h.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),h.insertBefore(c,h.firstChild),a=b.offsetWidth,i?h.removeChild(c):c.removeChild(b),h.style.fontSize=d,c.style.fontSize=e,a=f=parseFloat(a)},s=function(b){var c="clientWidth",l=h[c],o="CSS1Compat"===g.compatMode&&l||g.body[c]||l,q={},t=p[p.length-1],u=(new Date).getTime();if(b&&d&&m>u-d)return a.clearTimeout(e),e=a.setTimeout(s,m),void 0;d=u;for(var v in i)if(i.hasOwnProperty(v)){var w=i[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?f||r():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?f||r():1)),w.hasquery&&(z&&A||!(z||o>=x)||!(A||y>=o))||(q[w.media]||(q[w.media]=[]),q[w.media].push(j[w.rules]))}for(var C in k)k.hasOwnProperty(C)&&k[C]&&k[C].parentNode===n&&n.removeChild(k[C]);for(var D in q)if(q.hasOwnProperty(D)){var E=g.createElement("style"),F=q[D].join("\n");E.type="text/css",E.media=D,n.insertBefore(E,t.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(g.createTextNode(F)),k.push(E)}},t=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),e=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var f=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},g=!e&&c;b.length&&(b+="/"),g&&(e=1);for(var h=0;e>h;h++){var k,l,m,n;g?(k=c,j.push(f(a))):(k=d[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,j.push(RegExp.$2&&f(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],i.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:j.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}s()},u=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),v=function(a,b){var c=u();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){if(q.length){var b=q.shift();v(b.href,function(c){t(c,b.href,b.media),l[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<p.length;b++){var c=p[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!l[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(t(c.styleSheet.rawCssText,d,e),l[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!o||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===d.substring(0,2)&&(d=a.location.protocol+d),q.push({href:d,media:e})))}w()};x(),c.update=x,c.getEmValue=r,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this); |
@ -1,2 +0,0 @@ |
||||
/*! skrollr v0.5.11 https://github.com/Prinzhorn/skrollr | free to use under terms of MIT license */ |
||||
(function(e,t){var n=/hsla?\(\s*(-?[\d.]+)\s*,\s*(-?[\d.]+)%\s*,\s*(-?[\d.]+)%.*?\)/g,r=/rgba?\(\s*(-?[\d.]+%?)\s*,\s*(-?[\d.]+%?)\s*,\s*(-?[\d.]+%?).*?\)/g,i=/^#[^\s]+$/,s=t.setStyle;t.setStyle=function(e,t,i){s.apply(this,arguments);var u=e.style,a;if(t==="opacity"){u.zoom=1,i>=1&&u.removeAttribute?u.removeAttribute("filter"):u.filter="alpha(opacity="+i*100+")";return}if(i.indexOf("hsl")>-1){a=!1,i=i.replace(n,function(e,t,n,r){return a=!0,o.hsl(parseFloat(t),parseFloat(n),parseFloat(r))});if(a){try{u[t]=i}catch(f){}return}}if(i.indexOf("rgb")>-1){a=!1,i=i.replace(r,function(e,t,n,r){return a=!0,t=parseFloat(t,10),n=parseFloat(n,10),r=parseFloat(r,10),e.indexOf("%")>-1&&(t=t/100*255,n=n/100*255,r=r/100*255),o.rgb(t|0,n|0,r|0)});if(a){try{u[t]=i}catch(f){}return}}};var o={hsl:function(e,t,n,r){return e%=360,e/=60,n/=100,t=[n+=t*=(n<.5?n:1-n)/100,n-e%1*t*2,n-=t*=2,n,n+e%1*t,n+t],r=[t[~~e%6],t[(e|16)%6],t[(e|8)%6]],o.rgb(parseInt(r[0]*255,10),parseInt(r[1]*255,10),parseInt(r[2]*255,10))},rgb:function(e,t,n){return"#"+((256+e<<8|t)<<8|n).toString(16).slice(1)}};e.querySelector=e.querySelector||function(t){if(!i.test(t))throw'Unsupported selector "'+t+'". The querySelector polyfill only works for IDs.';return e.getElementById(t.substr(1))}})(document,window.skrollr); |
@ -1,476 +0,0 @@ |
||||
function boot(){ |
||||
|
||||
fixViewport(); |
||||
initNavPC(); |
||||
initNavMobile(); |
||||
|
||||
if (!ismobile()) {} |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function fixViewport() { |
||||
|
||||
var metas = document.getElementsByTagName('meta'); |
||||
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { |
||||
for (i=0; i<metas.length; i++) { |
||||
if (metas[i].name == "viewport") {metas[i].content = "width=640, user-scalable=no";} |
||||
} |
||||
} |
||||
|
||||
var metas = document.getElementsByTagName('meta'); |
||||
if (navigator.userAgent.match(/iPad/i)) { |
||||
for (i=0; i<metas.length; i++) { |
||||
if (metas[i].name == "viewport") {metas[i].content = "width=1024, user-scalable=no";} |
||||
} |
||||
} |
||||
|
||||
if (navigator.userAgent.match(/android/i)) { |
||||
for (i=0; i<metas.length; i++) { |
||||
if (metas[i].name == "viewport") {metas[i].content = "width=640, target-densityDpi=285, user-scalable=no";} //for galaxy s4 & google nexus
|
||||
}
|
||||
} |
||||
|
||||
//document.addEventListener("gesturestart", gestureStart, false); //vertical fix, in case
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
function gestureStart() { |
||||
|
||||
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) { |
||||
for (i=0; i<metas.length; i++) { |
||||
if (metas[i].name == "viewport") {metas[i].content = "width=720";} |
||||
} |
||||
} |
||||
if (navigator.userAgent.match(/android/i)) { |
||||
|
||||
for (i=0; i<metas.length; i++) { |
||||
if (metas[i].name == "viewport") {metas[i].content = "width=1280, target-densityDpi=device-dpi";} |
||||
}
|
||||
} |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function ismobile() { |
||||
|
||||
var ismobile = (/iphone|ipod|android|blackberry|opera mini|wpdesktop|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec/i.test(navigator.userAgent.toLowerCase())); |
||||
//alert(navigator.userAgent);
|
||||
if(ismobile) return true; |
||||
else return false; |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function istablet() { |
||||
|
||||
var istablet = (/ipad|android 3|sch-i800|playbook|tablet|kindle|gt-p1000|sgh-t849|shw-m180s|a510|a511|a100|dell streak|silk/i.test(navigator.userAgent.toLowerCase())); |
||||
if ((/tablet pc/i.test(navigator.userAgent.toLowerCase()))) {istablet = false;} |
||||
if(istablet) return true; |
||||
else return false; |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function isIEMobile() { |
||||
var regExp = new RegExp("WPDesktop", "i"); |
||||
//alert(navigator.userAgent);
|
||||
if (navigator.userAgent.match(regExp) == "WPDesktop") |
||||
{ |
||||
return true; |
||||
} |
||||
else |
||||
{ |
||||
return false; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function initBCMainSlider() { |
||||
|
||||
$("#bc_main_slider1").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $("#bc_main_slider1_next"), |
||||
navPrevSelector: $("#bc_main_slider1_prev"), |
||||
}); |
||||
|
||||
$("#bc_main_slider2").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $("#bc_main_slider2_next"), |
||||
navPrevSelector: $("#bc_main_slider2_prev"), |
||||
}); |
||||
|
||||
$("#bc_main_slider3").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $("#bc_main_slider3_next"), |
||||
navPrevSelector: $("#bc_main_slider3_prev"), |
||||
}); |
||||
|
||||
$("#bc_main_tab2").hide(); |
||||
$("#bc_main_tab3").hide(); |
||||
|
||||
$("#bc_main_tablink li").eq(0).click(function(){ |
||||
|
||||
$("#bc_main_tabpanel").removeClass("bc_main_tabpanel_select1").removeClass("bc_main_tabpanel_select2").removeClass("bc_main_tabpanel_select3"); |
||||
$("#bc_main_tabpanel").addClass("bc_main_tabpanel_select1"); |
||||
$("#bc_main_tablink li").removeClass("selected"); |
||||
$(this).addClass("selected"); |
||||
$(".bc_main_tab").hide(); |
||||
$("#bc_main_tab1").show(); |
||||
|
||||
}); |
||||
|
||||
$("#bc_main_tablink li").eq(1).click(function(){ |
||||
|
||||
$("#bc_main_tabpanel").removeClass("bc_main_tabpanel_select1").removeClass("bc_main_tabpanel_select2").removeClass("bc_main_tabpanel_select3"); |
||||
$("#bc_main_tabpanel").addClass("bc_main_tabpanel_select2"); |
||||
$("#bc_main_tablink li").removeClass("selected"); |
||||
$(this).addClass("selected"); |
||||
$(".bc_main_tab").hide(); |
||||
$("#bc_main_tab2").show(); |
||||
|
||||
}); |
||||
|
||||
$("#bc_main_tablink li").eq(2).click(function(){ |
||||
|
||||
$("#bc_main_tabpanel").removeClass("bc_main_tabpanel_select1").removeClass("bc_main_tabpanel_select2").removeClass("bc_main_tabpanel_select3"); |
||||
$("#bc_main_tabpanel").addClass("bc_main_tabpanel_select3"); |
||||
$("#bc_main_tablink li").removeClass("selected"); |
||||
$(this).addClass("selected"); |
||||
$(".bc_main_tab").hide(); |
||||
$("#bc_main_tab3").show(); |
||||
|
||||
}); |
||||
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
function initCSMainMasonry(){ |
||||
|
||||
var columnWidth = 320; |
||||
if (ismobile()) columnWidth = 540; |
||||
|
||||
$('#cs_main_container').imagesLoaded( function(){ // preload images
|
||||
|
||||
$('#cs_main_container').masonry({ |
||||
columnWidth: columnWidth, |
||||
itemSelector: '.item', |
||||
isAnimated: true, |
||||
isResizable: true, |
||||
}); |
||||
|
||||
}); |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function initCRMainSlider() { |
||||
|
||||
$(".unippt_slider").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $("#cr_main_slider .next").eq(0), |
||||
navPrevSelector: $("#cr_main_slider .prev").eq(0), |
||||
}); |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function initMRMainSlider() { |
||||
|
||||
$(".unippt_slider").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $("#mr_main_slider .next").eq(0), |
||||
navPrevSelector: $("#mr_main_slider .prev").eq(0), |
||||
}); |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function initMainAnimation(){ |
||||
|
||||
|
||||
window.scrollTo(0,0); |
||||
//$("#skrollr-body").css("opacity",0);
|
||||
|
||||
if (!isIEMobile()){ |
||||
|
||||
var s = skrollr.init({ |
||||
|
||||
smoothScrolling: true, |
||||
forceHeight: true, |
||||
render: function() { |
||||
|
||||
//$("#loading").delay(2000).fadeOut(400);
|
||||
//$("#skrollr-body").delay(1500).css("opacity",1);
|
||||
|
||||
} |
||||
|
||||
});
|
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function IEVersion(){
|
||||
var v = 3, div = document.createElement('div'), all = div.getElementsByTagName('i');
|
||||
while (
|
||||
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
|
||||
all[0]
|
||||
);
|
||||
return v > 4 ? v : false ;
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// GNB PC
|
||||
function initNavPC(){ |
||||
|
||||
$("header nav li a").each(function(index){ |
||||
|
||||
$("header nav li a").eq(index).hover( |
||||
|
||||
function(){ |
||||
|
||||
//$("#gnb_submenu").stop(true,true).animate({"height":"59px"},400);
|
||||
$("#gnb_pc_submenu table").hide(); |
||||
$("#gnb_pc_submenu"+ (index+1)).show(); |
||||
|
||||
}, |
||||
function(){ |
||||
//$("#gnb_submenu").css("opacity","1").delay(600).animate({"height":"0px"},400);
|
||||
} |
||||
|
||||
);
|
||||
|
||||
}); |
||||
|
||||
$("#gnb_pc").hover( |
||||
|
||||
function(){$("#gnb_pc_submenu").stop(true,true).animate({"height":"59px"},400);}, |
||||
function(){ |
||||
|
||||
$("#gnb_pc_submenu").css("opacity","1").delay(500).animate({"height":"0px"},400); |
||||
|
||||
} |
||||
|
||||
); |
||||
|
||||
$("#gnb_pc_submenu").hover( |
||||
|
||||
function(){$("#gnb_pc_submenu").stop(true,true).animate({"height":"59px"},400);}, |
||||
function(){ |
||||
|
||||
$("#gnb_pc_submenu").css("opacity","1").delay(500).stop(true,true).animate({"height":"0px"},400); |
||||
|
||||
} |
||||
|
||||
); |
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// GNB Mobile
|
||||
function initNavMobile(){ |
||||
|
||||
$("#gnb_mobile_btn").click(function(){ |
||||
|
||||
$("#gnb_mobile_submenu").show(); |
||||
|
||||
}); |
||||
|
||||
$("#gnb_mobile_submenu span").eq(0).click(function(){ |
||||
|
||||
$("#gnb_mobile_submenu").hide(); |
||||
|
||||
}); |
||||
|
||||
|
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Main Key Visual Slider
|
||||
function initMainSlider(){ |
||||
|
||||
$("#main_kv_slider").iosSlider({ |
||||
snapToChildren: true, |
||||
desktopClickDrag: true, |
||||
keyboardControls: true, |
||||
navNextSelector: $(".main_kv_container .next").eq(0), |
||||
navPrevSelector: $(".main_kv_container .prev").eq(0), |
||||
autoSlide: true, |
||||
infiniteSlider: true, |
||||
navSlideSelector: ".main_kv_container .slideSelectors .item", |
||||
onSlideComplete: slideComplete, |
||||
onSliderLoaded: sliderLoaded, |
||||
onSlideChange: slideChange, |
||||
}); |
||||
|
||||
} |
||||
|
||||
|
||||
function slideChange(args) { |
||||
|
||||
$('.main_kv_container .slideSelectors .item').removeClass('selected'); |
||||
$('.main_kv_container .slideSelectors .item:eq(' + (args.currentSlideNumber - 1) + ')').addClass('selected'); |
||||
|
||||
} |
||||
|
||||
function slideComplete(args) { |
||||
|
||||
if(!args.slideChanged) return false; |
||||
|
||||
} |
||||
|
||||
function sliderLoaded(args) { |
||||
|
||||
slideChange(args); |
||||
|
||||
} |
||||
|
||||
/*教育榜单*/ |
||||
|
||||
function initEduList(){ |
||||
|
||||
$(".edu_block").css("height","0px"); |
||||
$(".edu_block").eq(0).css("height","auto"); |
||||
$(".edu_detail h4").eq(0).attr("class","minus"); |
||||
|
||||
$(".edu_detail h4").eq(0).on("click", function(){ |
||||
$(".edu_detail h4").removeClass("minus"); |
||||
$(this).attr("class","minus"); |
||||
|
||||
$(".edu_block").stop().animate({"height":"0px"},500, function(){ |
||||
$(".edu_block").eq(0).stop().animate({"height":"1834px"},500,function(){ |
||||
$("body").scrollTo('#block1',500);
|
||||
});
|
||||
}); |
||||
|
||||
}); |
||||
|
||||
$(".edu_detail h4").eq(1).on("click", function(){ |
||||
$(".edu_detail h4").removeClass("minus"); |
||||
$(this).attr("class","minus"); |
||||
|
||||
$(".edu_block").stop().animate({"height":"0px"},500, function(){ |
||||
$(".edu_block").eq(1).stop().animate({"height":"1834px"},500,function(){ |
||||
$("body").scrollTo('#block2',500);
|
||||
});
|
||||
}); |
||||
}); |
||||
|
||||
$(".edu_detail h4").eq(2).on("click", function(){ |
||||
$(".edu_detail h4").removeClass("minus"); |
||||
$(this).attr("class","minus"); |
||||
|
||||
$(".edu_block").stop().animate({"height":"0px"},500, function(){ |
||||
$(".edu_block").eq(2).stop().animate({"height":"1834px"},500,function(){ |
||||
$("body").scrollTo('#block3',500);
|
||||
});
|
||||
}); |
||||
}); |
||||
|
||||
$(".edu_detail h4").eq(3).on("click", function(){ |
||||
$(".edu_detail h4").removeClass("minus"); |
||||
$(this).attr("class","minus"); |
||||
|
||||
$(".edu_block").stop().animate({"height":"0px"},500, function(){ |
||||
$(".edu_block").eq(3).stop().animate({"height":"1834px"},500,function(){ |
||||
$("body").scrollTo('#block4',500);
|
||||
});
|
||||
}); |
||||
}); |
||||
|
||||
$(".edu_detail h4").eq(4).on("click", function(){ |
||||
$(".edu_detail h4").removeClass("minus"); |
||||
$(this).attr("class","minus"); |
||||
|
||||
$(".edu_block").stop().animate({"height":"0px"},500, function(){ |
||||
$(".edu_block").eq(4).stop().animate({"height":"1834px"},500,function(){ |
||||
$("body").scrollTo('#block5',500);
|
||||
});
|
||||
}); |
||||
}); |
||||
|
||||
|
||||
|
||||
} |
||||
|
||||
function initFashionList(){ |
||||
|
||||
$(".fashion_detail").eq(3).children("div").hide(); |
||||
$(".fashion_detail").eq(4).children("div").hide(); |
||||
$(".fashion_detail").eq(5).children("div").hide(); |
||||
$(".fashion_detail").eq(6).children("div").hide(); |
||||
$(".fashion_detail").eq(7).children("div").hide(); |
||||
$(".fashion_detail").eq(8).children("div").hide(); |
||||
$(".fashion_detail").eq(2).children("h2").addClass("hover"); |
||||
|
||||
$(".fashion_detail h2").click(function(){ |
||||
|
||||
var id=$(this).attr("class");
|
||||
|
||||
var num=id.substr(8); |
||||
|
||||
var n=Number(num); |
||||
|
||||
$(this).siblings("div").slideDown("slow"); |
||||
$(this).addClass("hover"); |
||||
for(i=1;i<8;i++){ |
||||
if(i!=n){ |
||||
$(".fashion_detail h2.fashion_"+i).siblings("div").slideUp("slow"); |
||||
$(".fashion_detail h2.fashion_"+i).removeClass("hover"); |
||||
|
||||
} |
||||
} |
||||
}) |
||||
|
||||
} |
||||
|
@ -1,27 +0,0 @@ |
||||
/* |
||||
* jQuery ScrollFlow plugin |
||||
* |
||||
* Copyright (c) 2015 Christian Witte |
||||
* licensed under MIT license. |
||||
* |
||||
* https://github.com/eskju/eskju-jquery-scrollflow
|
||||
* |
||||
* Version: 1.0.0 |
||||
*
|
||||
* Licensed under MIT license. |
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions: |
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||
* portions of the Software. |
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||
* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
||||
*/ |
||||
|
||||
$(document).ready(function(){new ScrollFlow}),$.fn.ScrollFlow=function(t){new ScrollFlow(t)},ScrollFlow=function(t){this.init(t)},$.extend(ScrollFlow.prototype,{init:function(t){this.options=$.extend({useMobileTimeouts:!0,mobileTimeout:100,durationOnLoad:0,durationOnResize:250,durationOnScroll:500},t),this.lastScrollTop=0,this.bindScroll(),this.bindResize(),this.update(this.options.durationOnLoad)},bindScroll:function(){var t=this;$(window).scroll(function(){t.update()}),$(window).bind("gesturechange",function(){t.update()})},bindResize:function(){var t=this;$(window).resize(function(){t.update(t.options.durationOnResize)})},update:function(t){var o=this;winHeight=$(window).height(),scrollTop=$(window).scrollTop(),$(".scrollflow").each(function(a,s){objOffset=$(s).offset(),objOffsetTop=parseInt(objOffset.top),effectDuration=o.options.durationOnScroll,effectDuration="undefined"!=typeof t?t:effectDuration,effectiveFromPercentage=isNaN(parseInt($(s).attr("data-scrollflow-start")/100))?-.25:parseInt($(s).attr("data-scrollflow-start"))/100,scrollDistancePercentage=isNaN(parseInt($(s).attr("data-scrollflow-distance")/100))?.5:parseInt($(s).attr("data-scrollflow-distance"))/100,effectiveFrom=objOffsetTop-winHeight*(1-effectiveFromPercentage),effectiveTo=objOffsetTop-winHeight*(1-scrollDistancePercentage),parallaxScale=.8,parallaxOpacity=0,parallaxOffset=-100,factor=0,scrollTop>effectiveFrom&&(factor=(scrollTop-effectiveFrom)/(effectiveTo-effectiveFrom),factor=factor>1?1:factor),options={opacity:1,scale:1,translateX:0,translateY:0},$(s).hasClass("-opacity")&&(options.opacity=0+factor),$(s).hasClass("-pop")&&(options.scale=.8+.2*factor),$(s).hasClass("-slide-left")&&(options.translateX=-1*(-100+100*factor)),$(s).hasClass("-slide-right")&&(options.translateX=-100+100*factor),$(s).hasClass("-slide-top")&&(options.translateY=-1*(-100+100*factor)),$(s).hasClass("-slide-bottom")&&(options.translateY=-100+100*factor),$(s).css({webkitFilter:"opacity("+options.opacity+")",mozFilter:"opacity("+options.opacity+")",oFilter:"opacity("+options.opacity+")",msFilter:"opacity("+options.opacity+")",filter:"opacity("+options.opacity+")",webkitTransform:"translate3d( "+parseInt(options.translateX)+"px, "+parseInt(options.translateY)+"px, 0px ) scale("+options.scale+")",mozTransform:"translate3d( "+parseInt(options.translateX)+"px, "+parseInt(options.translateY)+"px, 0px ) scale("+options.scale+")",oTransform:"translate3d( "+parseInt(options.translateX)+"px, "+parseInt(options.translateY)+"px, 0px ) scale("+options.scale+")",msTransform:"translate3d( "+parseInt(options.translateX)+"px, "+parseInt(options.translateY)+"px, 0px ) scale("+options.scale+")",transform:"translate3d( "+parseInt(options.translateX)+"px, "+parseInt(options.translateY)+"px, 0px ) scale("+options.scale+")",transition:"all "+effectDuration+"ms ease-out"})})}}); |
@ -1,43 +0,0 @@ |
||||
(function(){if(window.jQuery===undefined){var q=document.createElement("script");q.setAttribute("type","text/javascript"); |
||||
q.setAttribute("src","https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js");if(q.readyState){q.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){t() |
||||
}}}else{q.onload=t}(document.getElementsByTagName("head")[0]||document.documentElement).appendChild(q)}else{jQuery=window.jQuery; |
||||
h();d();k()}function t(){jQuery=window.jQuery.noConflict(true);h();d();k()}function h(){if(window.trustedsite_loaded){return |
||||
}window.trustedsite_loaded=true;var x=0;if(parseInt(r("trustedsite_session"))==1){x=1}else{f("trustedsite_session",1,5)}var w=document.createElement("img"); |
||||
w.id="trustedsite-image-bg";w.src="//cdn.ywxi.net/static/img/tm-float-bg-right-bottom.png";jQuery(w).addClass("trustedsite-floating-element"); |
||||
w.style.cssText=u()+"position:fixed !important;width:100px;height:40px !important;z-index:1000002 !important;bottom:0px !important;right:0px;"; |
||||
var y;if(!m()){y=document.createElement("div");jQuery(y).addClass("trustedsite-floating-element");y.style.cssText=u()+"z-index:1000001;width:36px !important;height:40px !important;position:fixed;background:#ffffff !important;opacity:0.7 !important;right:0px;bottom:0px;border-top-left-radius:3px;" |
||||
}var z=document.createElement("div");jQuery(z).addClass("trustedsite-floating-element");z.id="trustedsite-image";z.innerHTML='<img src="//cdn.ywxi.net/tm/img/float2-right.png?h=designedstudio.com&d=20160303" width="100" height="40" style="'+u()+'width:100px !important;height:40px !important;">'; |
||||
z.style.cssText=u()+"position:fixed;height:40px !important;width:100px;overflow:hidden;bottom:0px;right:0px;z-index:1000003 !important;cursor:pointer !important;"; |
||||
z.oncontextmenu=function(){return false};z.onmousedown=function(){j()};z.onmouseover=function(){o()};z.onmouseout=function(){e() |
||||
};if(x){w.style.right="-56px";w.style.display="none";z.style.right="-56px";if(y){document.body.appendChild(y)}}else{if(y){window.setTimeout(function(){document.body.appendChild(y) |
||||
},100)}window.setTimeout(function(){i()},2000)}document.body.appendChild(z);document.body.appendChild(w);if(p()){c();jQuery(window).scroll(function(){c() |
||||
})}b()}function o(){window.clearTimeout(v);v=0;g()}var v=0;var n=1;function e(){if(v){return}v=window.setTimeout(function(){i(); |
||||
v=0},1000)}function i(){if(jQuery("#trustedsite-verify").is(":visible")){return}if(parseInt(jQuery("#trustedsite-image").css("right"))<0){console.log("Already Small"); |
||||
return}n=0;jQuery("#trustedsite-image-bg").animate({right:"-56px"},400,function(){if(!n){jQuery("#trustedsite-image-bg").fadeOut(100) |
||||
}});jQuery("#trustedsite-image").animate({right:"-56px"},400)}function g(){if(parseInt(jQuery("#trustedsite-image").css("right"))>0){console.log("Already Big"); |
||||
return}n=1;jQuery("#trustedsite-image-bg").show();jQuery("#trustedsite-image-bg").animate({right:"0"},200);jQuery("#trustedsite-image").animate({right:"0"},200) |
||||
}function j(){if(p()||jQuery(window).height()<=400||jQuery(window).width()<=400){window.open("https://www.mcafeesecure.com/verify?host=designedstudio.com"); |
||||
return}var x=document.getElementById("trustedsite-verify");if(!x){x=document.createElement("div");x.id="trustedsite-verify"; |
||||
l(x);x.style.position="fixed";x.style.boxShadow="rgba(0, 0, 0, 0.298039) 1px 1px 3px";x.innerHTML='<div style="'+u()+'height:34px;overflow:hidden;background:#f5f6f7;"><div style="'+u()+'padding:5px 0 !important;"><table style="'+u()+'" width="100%" border="0" cellspacing="0" cellpadding="0"><tr style="'+u()+'"><td style="'+u()+'padding:0 10px 0 0 !important;border-right:solid 1px #e5e6e7 !important;text-align:right !important;"><a onmouseover="this.style.color=\'#666666\'" onmouseout="this.style.color=\'#aaaaaa\'"style="text-rendering:optimizelegibility !important;font-size:11px !important;font-weight:normal !important;text-decoration:none !important;font-family:arial !important;color:#aaa;transition: color 0.2s !important;" href="https://www.mcafeesecure.com/verify?host=designedstudio.com" target="_blank">Verify »</a></td><td style="'+u()+'" width="27"><div style="cursor:pointer;transition: background 0.2s;width:27px;height:14px;background:url(//cdn.ywxi.net/static/img/vh_close_button.png) no-repeat center center;" id="trustedsite_mouseOverWin_x"></td></tr></table></div></div><iframe style="'+u()+'width:300px;height:317px;" frameborder="0" src="https://www.mcafeesecure.com/verify-float?host=designedstudio.com"></iframe>'; |
||||
x.style.border="solid 1px #ccc";x.style.background="#f5f6f7";x.style.width="300px";x.style.height="351px";x.style.overflow="hidden"; |
||||
x.style.margin="0";x.style.padding="0";x.style.bottom="50px";x.style.right="10px";x.style.zIndex="1000004";x.style.display="none"; |
||||
document.body.appendChild(x);var w=document.getElementById("trustedsite_mouseOverWin_x");if(w){w.onclick=function(){jQuery("#trustedsite-verify").fadeOut(function(){i() |
||||
})}}}if(jQuery("#trustedsite-verify").is(":visible")){jQuery("#trustedsite-verify").fadeOut(200)}else{jQuery("#trustedsite-verify").fadeIn(200) |
||||
}}function b(){var w=r("trustedsite_visit");if(w){return}f("trustedsite_visit",1,24*60);s("https://www.mcafeesecure.com/rpc/ajax?do=tmjs-visit&siteId=1117473&rand="+(new Date().getTime())) |
||||
}function s(x){try{var w=document.createElement("script");w.setAttribute("type","text/javascript");w.setAttribute("src",x); |
||||
document.getElementsByTagName("head")[0].appendChild(w)}catch(y){}}function f(x,z,A){if(A){var y=new Date();y.setTime(y.getTime()+(A*60*1000)); |
||||
var w="expires="+y.toGMTString();document.cookie=x+"="+z+"; path=/;"+w}else{document.cookie=x+"="+z+"; path=/;"}}function r(y){var x=y+"="; |
||||
var w=document.cookie.split(";");for(var z=0;z<w.length;z++){var A=a(w[z]);if(A.indexOf(x)==0){return A.substring(x.length,A.length) |
||||
}}return""}function c(){if(!p()){return}try{jQuery(".trustedsite-floating-element").css("zoom",((window.innerWidth)/(screen.width))*1) |
||||
}catch(w){}}function a(w){if(!w){return""}try{return new String(w).trim()}catch(x){return w}}function p(){return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i) |
||||
}function m(){return navigator.userAgent.match(/MSIE 8/i)||navigator.userAgent.match(/MSIE 7/i)}function l(w){try{w.style.maxWidth="none" |
||||
}catch(x){}try{w.style.minWidth="none"}catch(x){}try{w.style.maxHeight="none"}catch(x){}try{w.style.minHeight="none"}catch(x){}}function u(){return"margin:0 !important;padding:0 !important;border:0 !important;background:none !important;max-width:none !important;max-height:none !important;" |
||||
}function k(){var w="designedstudio.com";if(!w){w=location.host}try{jQuery(document).ready(function(){jQuery(".mcafeesecure-track-conversion").each(function(){if($(this).attr("data-done")){return |
||||
}$(this).attr("data-done","true");var z="https://www.mcafeesecure.com/rpc/ajax?do=track-site-conversion&jsoncallback=void&rand="+new Date().getTime()+"&h="+w+"&t="+encodeURIComponent($(this).attr("data-type"))+"&e="+encodeURIComponent($(this).attr("data-email"))+"&fn="+encodeURIComponent($(this).attr("data-firstname"))+"&ln="+encodeURIComponent($(this).attr("data-lastname"))+"&c="+encodeURIComponent($(this).attr("data-country"))+"&o="+encodeURIComponent($(this).attr("data-orderid")); |
||||
var y=document.createElement("script");y.setAttribute("type","text/javascript");y.setAttribute("src",z);document.getElementsByTagName("head")[0].appendChild(y) |
||||
})})}catch(x){ts_consolelog(x)}}function d(){jQuery(".ts-widget-rating[data-layout]").each(function(){var B=$(this).attr("data-href"); |
||||
var y=$(this).attr("data-counts");var A=$(this).attr("data-layout");var D=$(this).attr("data-target");var C=parseInt($(this).attr("data-quickrate")); |
||||
var w=22;var z=80;if(!B){B="designedstudio.com"}var x="https://www.trustedsite.com/widget/3?layout="+A+"&quickRate="+C+"&showCounts="+y+"&host="+B; |
||||
if(D){x+="&target="+D}if(A=="box"||A=="vertical"){if(y==1){w+=42}}else{if(A=="button"||A=="horizontal"){if(y==1){z+=85}}else{$(this).hide(); |
||||
return}}$(this)[0].style.cssText="width:"+z+"px;height:"+w+"px;overflow:hidden;border:none;margin:none;padding:none;";$(this).html('<iframe scrolling="0" style="overflow:hidden;width:'+z+"px !important;height:"+w+'px !important;border:0 !important;margin:0 !important;padding:0 !important;" src="'+x+'"></iframe') |
||||
})}})(); |
@ -1,23 +0,0 @@ |
||||
/*! |
||||
* IE10 viewport hack for Surface/desktop Windows 8 bug |
||||
* Copyright 2014-2015 Twitter, Inc. |
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/ |
||||
|
||||
// See the Getting Started docs for more information:
|
||||
// http://getbootstrap.com/getting-started/#support-ie10-width
|
||||
|
||||
(function () { |
||||
'use strict'; |
||||
|
||||
if (navigator.userAgent.match(/IEMobile\/10\.0/)) { |
||||
var msViewportStyle = document.createElement('style') |
||||
msViewportStyle.appendChild( |
||||
document.createTextNode( |
||||
'@-ms-viewport{width:auto!important}' |
||||
) |
||||
) |
||||
document.querySelector('head').appendChild(msViewportStyle) |
||||
} |
||||
|
||||
})(); |
@ -1,120 +0,0 @@ |
||||
// Slideshow Highlight - center vertical
|
||||
$.fn.centerVertical = function(){ |
||||
|
||||
var containerHeight = $(this).height(); |
||||
var detailHeight = $('.detail',this).height(); |
||||
var centerVert = (containerHeight - detailHeight)/2; |
||||
|
||||
$('.detail',this).css('top', centerVert);
|
||||
return this; //important to include
|
||||
}; |
||||
|
||||
$(window).load(function(){ //wait till all loaded especially images
|
||||
$(".centerVert").each(function(){ |
||||
$(this).centerVertical(); |
||||
})
|
||||
});
|
||||
|
||||
// On resize
|
||||
$(window).resize(function() { |
||||
$(".centerVert").each(function(){ |
||||
$(this).centerVertical(); |
||||
})
|
||||
}); |
||||
|
||||
//Navigation ScrollTop ref: https://goo.gl/l6oIPp
|
||||
$(function() { |
||||
$('a[href*=#]:not([href=#])').click(function() { |
||||
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { |
||||
var target = $(this.hash); |
||||
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); |
||||
if (target.length) { |
||||
$('html,body').animate({ |
||||
scrollTop: target.offset().top |
||||
}, 500); |
||||
return false; |
||||
} |
||||
} |
||||
}); |
||||
|
||||
}); |
||||
|
||||
//ref: http://goo.gl/8Rzzde
|
||||
$(window).scroll(function() {
|
||||
var scroll = $(window).scrollTop(); |
||||
|
||||
if (scroll >= 50) { |
||||
$("nav").addClass("fixed-top-active"); |
||||
} else { |
||||
$("nav").removeClass("fixed-top-active"); |
||||
} |
||||
});
|
||||
|
||||
/* Masonry */ |
||||
// init Masonry
|
||||
var $grid = $('.grid').masonry({ |
||||
itemSelector: '.grid-item' |
||||
}); |
||||
// layout Masonry after each image loads
|
||||
$grid.imagesLoaded().progress( function() { |
||||
$grid.masonry('layout'); |
||||
}); |
||||
|
||||
/* ScrollFlow */ |
||||
//http://goo.gl/SFI3Se
|
||||
$(document).ready( function(){ |
||||
new ScrollFlow();
|
||||
}); |
||||
|
||||
/* Parallax */ |
||||
$(document).ready( function(){ |
||||
$('#scene').parallax();
|
||||
}); |
||||
|
||||
/* Wowjs */ |
||||
wow = new WOW({ |
||||
boxClass: 'wow', // default
|
||||
animateClass: 'animated', // default
|
||||
offset: 0, // default
|
||||
mobile: true, // default
|
||||
live: true // default
|
||||
}) |
||||
wow.init(); |
||||
|
||||
|
||||
/* Contact Form */ |
||||
$(function(){ |
||||
$('#contactForm').submit(function() { |
||||
if ($.trim($("#honeypot").val()) !== "") { |
||||
alert('Please leave the honeypot field empty'); |
||||
return false; |
||||
} |
||||
});
|
||||
//https://github.com/1000hz/bootstrap-validator
|
||||
$('#contactForm').validator(); |
||||
|
||||
}); |
||||
|
||||
|
||||
// .modal-backdrop classes
|
||||
$(function(){ |
||||
$(".modal-transparent").on('show.bs.modal', function () { |
||||
setTimeout( function() { |
||||
$(".modal-backdrop").addClass("modal-backdrop-transparent"); |
||||
}, 0); |
||||
}); |
||||
$(".modal-transparent").on('hidden.bs.modal', function () { |
||||
$(".modal-backdrop").addClass("modal-backdrop-transparent"); |
||||
}); |
||||
|
||||
$(".modal-fullscreen").on('show.bs.modal', function () { |
||||
setTimeout( function() { |
||||
$(".modal-backdrop").addClass("modal-backdrop-fullscreen"); |
||||
}, 0); |
||||
}); |
||||
$(".modal-fullscreen").on('hidden.bs.modal', function () { |
||||
$(".modal-backdrop").addClass("modal-backdrop-fullscreen"); |
||||
}); |
||||
}); |
||||
|
||||
|
@ -1,325 +0,0 @@ |
||||
/* ======================================================================== |
||||
* Bootstrap (plugin): validator.js v0.9.0 |
||||
* ======================================================================== |
||||
* The MIT License (MIT) |
||||
* |
||||
* Copyright (c) 2015 Cina Saffary. |
||||
* Made by @1000hz in the style of Bootstrap 3 era @fat |
||||
* |
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
* of this software and associated documentation files (the "Software"), to deal |
||||
* in the Software without restriction, including without limitation the rights |
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
* copies of the Software, and to permit persons to whom the Software is |
||||
* furnished to do so, subject to the following conditions: |
||||
* |
||||
* The above copyright notice and this permission notice shall be included in |
||||
* all copies or substantial portions of the Software. |
||||
* |
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
||||
* THE SOFTWARE. |
||||
* ======================================================================== */ |
||||
|
||||
|
||||
+function ($) { |
||||
'use strict'; |
||||
|
||||
// VALIDATOR CLASS DEFINITION
|
||||
// ==========================
|
||||
|
||||
var Validator = function (element, options) { |
||||
this.$element = $(element) |
||||
this.options = options |
||||
|
||||
options.errors = $.extend({}, Validator.DEFAULTS.errors, options.errors) |
||||
|
||||
for (var custom in options.custom) { |
||||
if (!options.errors[custom]) throw new Error('Missing default error message for custom validator: ' + custom) |
||||
} |
||||
|
||||
$.extend(Validator.VALIDATORS, options.custom) |
||||
|
||||
this.$element.attr('novalidate', true) // disable automatic native validation
|
||||
this.toggleSubmit() |
||||
|
||||
this.$element.on('input.bs.validator change.bs.validator focusout.bs.validator', $.proxy(this.validateInput, this)) |
||||
this.$element.on('submit.bs.validator', $.proxy(this.onSubmit, this)) |
||||
|
||||
this.$element.find('[data-match]').each(function () { |
||||
var $this = $(this) |
||||
var target = $this.data('match') |
||||
|
||||
$(target).on('input.bs.validator', function (e) { |
||||
$this.val() && $this.trigger('input.bs.validator') |
||||
}) |
||||
}) |
||||
} |
||||
|
||||
Validator.INPUT_SELECTOR = ':input:not([type="submit"], button):enabled:visible' |
||||
|
||||
Validator.DEFAULTS = { |
||||
delay: 500, |
||||
html: false, |
||||
disable: true, |
||||
custom: {}, |
||||
errors: { |
||||
match: 'Does not match', |
||||
minlength: 'Not long enough' |
||||
}, |
||||
feedback: { |
||||
success: 'glyphicon-ok', |
||||
error: 'glyphicon-remove' |
||||
} |
||||
} |
||||
|
||||
Validator.VALIDATORS = { |
||||
'native': function ($el) { |
||||
var el = $el[0] |
||||
return el.checkValidity ? el.checkValidity() : true |
||||
}, |
||||
'match': function ($el) { |
||||
var target = $el.data('match') |
||||
return !$el.val() || $el.val() === $(target).val() |
||||
}, |
||||
'minlength': function ($el) { |
||||
var minlength = $el.data('minlength') |
||||
return !$el.val() || $el.val().length >= minlength |
||||
} |
||||
} |
||||
|
||||
Validator.prototype.validateInput = function (e) { |
||||
var $el = $(e.target) |
||||
var prevErrors = $el.data('bs.validator.errors') |
||||
var errors |
||||
|
||||
if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]') |
||||
|
||||
this.$element.trigger(e = $.Event('validate.bs.validator', {relatedTarget: $el[0]})) |
||||
|
||||
if (e.isDefaultPrevented()) return |
||||
|
||||
var self = this |
||||
|
||||
this.runValidators($el).done(function (errors) { |
||||
$el.data('bs.validator.errors', errors) |
||||
|
||||
errors.length ? self.showErrors($el) : self.clearErrors($el) |
||||
|
||||
if (!prevErrors || errors.toString() !== prevErrors.toString()) { |
||||
e = errors.length |
||||
? $.Event('invalid.bs.validator', {relatedTarget: $el[0], detail: errors}) |
||||
: $.Event('valid.bs.validator', {relatedTarget: $el[0], detail: prevErrors}) |
||||
|
||||
self.$element.trigger(e) |
||||
} |
||||
|
||||
self.toggleSubmit() |
||||
|
||||
self.$element.trigger($.Event('validated.bs.validator', {relatedTarget: $el[0]})) |
||||
}) |
||||
} |
||||
|
||||
|
||||
Validator.prototype.runValidators = function ($el) { |
||||
var errors = [] |
||||
var deferred = $.Deferred() |
||||
var options = this.options |
||||
|
||||
$el.data('bs.validator.deferred') && $el.data('bs.validator.deferred').reject() |
||||
$el.data('bs.validator.deferred', deferred) |
||||
|
||||
function getErrorMessage(key) { |
||||
return $el.data(key + '-error') |
||||
|| $el.data('error') |
||||
|| key == 'native' && $el[0].validationMessage |
||||
|| options.errors[key] |
||||
} |
||||
|
||||
$.each(Validator.VALIDATORS, $.proxy(function (key, validator) { |
||||
if (($el.data(key) || key == 'native') && !validator.call(this, $el)) { |
||||
var error = getErrorMessage(key) |
||||
!~errors.indexOf(error) && errors.push(error) |
||||
} |
||||
}, this)) |
||||
|
||||
if (!errors.length && $el.val() && $el.data('remote')) { |
||||
this.defer($el, function () { |
||||
var data = {} |
||||
data[$el.attr('name')] = $el.val() |
||||
$.get($el.data('remote'), data) |
||||
.fail(function (jqXHR, textStatus, error) { errors.push(getErrorMessage('remote') || error) }) |
||||
.always(function () { deferred.resolve(errors)}) |
||||
}) |
||||
} else deferred.resolve(errors) |
||||
|
||||
return deferred.promise() |
||||
} |
||||
|
||||
Validator.prototype.validate = function () { |
||||
var delay = this.options.delay |
||||
|
||||
this.options.delay = 0 |
||||
this.$element.find(Validator.INPUT_SELECTOR).trigger('input.bs.validator') |
||||
this.options.delay = delay |
||||
|
||||
return this |
||||
} |
||||
|
||||
Validator.prototype.showErrors = function ($el) { |
||||
var method = this.options.html ? 'html' : 'text' |
||||
|
||||
this.defer($el, function () { |
||||
var $group = $el.closest('.form-group') |
||||
var $block = $group.find('.help-block.with-errors') |
||||
var $feedback = $group.find('.form-control-feedback') |
||||
var errors = $el.data('bs.validator.errors') |
||||
|
||||
if (!errors.length) return |
||||
|
||||
errors = $('<ul/>') |
||||
.addClass('list-unstyled') |
||||
.append($.map(errors, function (error) { return $('<li/>')[method](error) })) |
||||
|
||||
$block.data('bs.validator.originalContent') === undefined && $block.data('bs.validator.originalContent', $block.html()) |
||||
$block.empty().append(errors) |
||||
$group.addClass('has-error') |
||||
|
||||
$feedback.length |
||||
&& $feedback.removeClass(this.options.feedback.success) |
||||
&& $feedback.addClass(this.options.feedback.error) |
||||
&& $group.removeClass('has-success') |
||||
}) |
||||
} |
||||
|
||||
Validator.prototype.clearErrors = function ($el) { |
||||
var $group = $el.closest('.form-group') |
||||
var $block = $group.find('.help-block.with-errors') |
||||
var $feedback = $group.find('.form-control-feedback') |
||||
|
||||
$block.html($block.data('bs.validator.originalContent')) |
||||
$group.removeClass('has-error') |
||||
|
||||
$feedback.length |
||||
&& $feedback.removeClass(this.options.feedback.error) |
||||
&& $feedback.addClass(this.options.feedback.success) |
||||
&& $group.addClass('has-success') |
||||
} |
||||
|
||||
Validator.prototype.hasErrors = function () { |
||||
function fieldErrors() { |
||||
return !!($(this).data('bs.validator.errors') || []).length |
||||
} |
||||
|
||||
return !!this.$element.find(Validator.INPUT_SELECTOR).filter(fieldErrors).length |
||||
} |
||||
|
||||
Validator.prototype.isIncomplete = function () { |
||||
function fieldIncomplete() { |
||||
return this.type === 'checkbox' ? !this.checked : |
||||
this.type === 'radio' ? !$('[name="' + this.name + '"]:checked').length : |
||||
$.trim(this.value) === '' |
||||
} |
||||
|
||||
return !!this.$element.find(Validator.INPUT_SELECTOR).filter('[required]').filter(fieldIncomplete).length |
||||
} |
||||
|
||||
Validator.prototype.onSubmit = function (e) { |
||||
this.validate() |
||||
if (this.isIncomplete() || this.hasErrors()) e.preventDefault() |
||||
} |
||||
|
||||
Validator.prototype.toggleSubmit = function () { |
||||
if(!this.options.disable) return |
||||
|
||||
var $btn = $('button[type="submit"], input[type="submit"]') |
||||
.filter('[form="' + this.$element.attr('id') + '"]') |
||||
.add(this.$element.find('input[type="submit"], button[type="submit"]')) |
||||
|
||||
$btn.toggleClass('disabled', this.isIncomplete() || this.hasErrors()) |
||||
} |
||||
|
||||
Validator.prototype.defer = function ($el, callback) { |
||||
callback = $.proxy(callback, this) |
||||
if (!this.options.delay) return callback() |
||||
window.clearTimeout($el.data('bs.validator.timeout')) |
||||
$el.data('bs.validator.timeout', window.setTimeout(callback, this.options.delay)) |
||||
} |
||||
|
||||
Validator.prototype.destroy = function () { |
||||
this.$element |
||||
.removeAttr('novalidate') |
||||
.removeData('bs.validator') |
||||
.off('.bs.validator') |
||||
|
||||
this.$element.find(Validator.INPUT_SELECTOR) |
||||
.off('.bs.validator') |
||||
.removeData(['bs.validator.errors', 'bs.validator.deferred']) |
||||
.each(function () { |
||||
var $this = $(this) |
||||
var timeout = $this.data('bs.validator.timeout') |
||||
window.clearTimeout(timeout) && $this.removeData('bs.validator.timeout') |
||||
}) |
||||
|
||||
this.$element.find('.help-block.with-errors').each(function () { |
||||
var $this = $(this) |
||||
var originalContent = $this.data('bs.validator.originalContent') |
||||
|
||||
$this |
||||
.removeData('bs.validator.originalContent') |
||||
.html(originalContent) |
||||
}) |
||||
|
||||
this.$element.find('input[type="submit"], button[type="submit"]').removeClass('disabled') |
||||
|
||||
this.$element.find('.has-error').removeClass('has-error') |
||||
|
||||
return this |
||||
} |
||||
|
||||
// VALIDATOR PLUGIN DEFINITION
|
||||
// ===========================
|
||||
|
||||
|
||||
function Plugin(option) { |
||||
return this.each(function () { |
||||
var $this = $(this) |
||||
var options = $.extend({}, Validator.DEFAULTS, $this.data(), typeof option == 'object' && option) |
||||
var data = $this.data('bs.validator') |
||||
|
||||
if (!data && option == 'destroy') return |
||||
if (!data) $this.data('bs.validator', (data = new Validator(this, options))) |
||||
if (typeof option == 'string') data[option]() |
||||
}) |
||||
} |
||||
|
||||
var old = $.fn.validator |
||||
|
||||
$.fn.validator = Plugin |
||||
$.fn.validator.Constructor = Validator |
||||
|
||||
|
||||
// VALIDATOR NO CONFLICT
|
||||
// =====================
|
||||
|
||||
$.fn.validator.noConflict = function () { |
||||
$.fn.validator = old |
||||
return this |
||||
} |
||||
|
||||
|
||||
// VALIDATOR DATA-API
|
||||
// ==================
|
||||
|
||||
$(window).on('load', function () { |
||||
$('form[data-toggle="validator"]').each(function () { |
||||
var $form = $(this) |
||||
Plugin.call($form, $form.data()) |
||||
}) |
||||
}) |
||||
|
||||
}(jQuery); |