|
@@ -118,42 +118,14 @@ function scrollto(){
|
|
|
$(window).scroll(function() {
|
|
|
var scroll = $(window).scrollTop();
|
|
|
if (scroll >= 100) {
|
|
|
- $(".logo a").addClass("reduct");
|
|
|
+ $(".logo a").addClass("reduct");
|
|
|
} else {
|
|
|
- $(".logo a").removeClass("reduct");
|
|
|
+ $(".logo a").removeClass("reduct");
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-// function setupPlayers() {
|
|
|
-// // $('#section_MineVideo .cover').click(function(){
|
|
|
-// // $(this).fadeOut();
|
|
|
-// // var id = $(this).parent().find('iframe').attr('id');
|
|
|
-// // callPlayer(id, function() {
|
|
|
-// // callPlayer(id, "playVideo");
|
|
|
-// // });
|
|
|
-// // });
|
|
|
-// // Load the IFrame Player API code asynchronously.
|
|
|
-// var tag = document.createElement('script');
|
|
|
-// tag.src = "https://www.youtube.com/player_api";
|
|
|
-// var firstScriptTag = document.getElementsByTagName('script')[0];
|
|
|
-// firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
|
|
-//
|
|
|
-// // Replace the 'ytplayer' element with an <iframe> and
|
|
|
-// // YouTube player after the API code downloads.
|
|
|
-// var player;
|
|
|
-// function onYouTubePlayerAPIReady() {
|
|
|
-// console.log('cc');
|
|
|
-// player = new YT.Player('ytplayer', {
|
|
|
-// height: '360',
|
|
|
-// width: '640',
|
|
|
-// videoId: 'XUsBV5mXJGs'
|
|
|
-// });
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
$( document ).ready(function() {
|
|
|
- // setupPlayers();
|
|
|
burger();
|
|
|
click_nav();
|
|
|
slides();
|