$(document).ready(function(){ var screen_h=$(window).height(); var screen_w=$(window).width(); var menu_h=$(".menu1").height()+$(".menu2").height()+$(".menu3").height()+$(".menu4").height()+$(".menu5").height()+$(".menu6").height(); $(".vert_header").css("height",screen_h); $(".main_image").css("height",screen_h); var padding_bottom=((screen_h-(menu_h+50))/6); if(screen_w>767){ $(".sidenav ul li").css("padding-bottom",padding_bottom); } }); $(window).resize(function() { var screen_h=$(window).height(); var screen_w=$(window).width(); var menu_h=$(".menu1").height()+$(".menu2").height()+$(".menu3").height()+$(".menu4").height()+$(".menu5").height()+$(".menu6").height(); $(".vert_header").css("height",screen_h); $(".main_image").css("height",screen_h); var padding_bottom=((screen_h-(menu_h+50))/6); if(screen_w>767){ $(".sidenav ul li").css("padding-bottom",padding_bottom); } }); function openNav() { screen_w=$(window).width(); if(screen_w>767){ document.getElementById("mySidenav").style.right = "35px"; document.getElementById("mySidenav").style.height = "auto"; }else{ document.getElementById("mySidenav").style.height = "85%"; document.getElementById("mySidenav").style.right = "0px"; } document.getElementById("main_menu_icon").innerHTML=''; } function closeNav() { screen_w=$(window).width(); if(screen_w>767){ document.getElementById("mySidenav").style.right = "-275px"; document.getElementById("mySidenav").style.heigh = "auto"; }else{ document.getElementById("mySidenav").style.height = "0px"; document.getElementById("mySidenav").style.right = "0px"; } document.getElementById("main_menu_icon").innerHTML=''; } $(document).ready(function(){ var aChildren = $(".scroll_links li").children(); var aArray = []; for (var i=0; i < aChildren.length; i++) { var aChild = aChildren[i]; var ahref = $(aChild).attr('href'); aArray.push(ahref); } $(window).scroll(function(){ var windowPos = $(window).scrollTop(); // get the offset of the window from the top of page var windowHeight = $(window).height(); // get the height of the window var docHeight = $(document).height(); for (var i=0; i < aArray.length; i++) { var theID = aArray[i]; var divPos = $(theID).offset().top; // get the offset of the div from the top of page var divHeight = $(theID).height(); // get the height of the div in question if (windowPos+100 >= divPos && windowPos+100 < (divPos + divHeight)) { $("a[href='" + theID + "']").addClass("scroll_active"); } else { $("a[href='" + theID + "']").removeClass("scroll_active"); } } }); }); wow = new WOW({ animateClass: 'animated', offset:100, callback: function(box) { console.log("WOW: animating <" + box.tagName.toLowerCase() + ">") } }); wow.init();

CONTACT US

有任何問題或想法要告訴我們嗎?沒問題,馬上與我們聯繫或是留下您的聯絡資訊,我們會盡快回復您!請留下完整且正確的訊息,以免我們聯繫不到您喔!

技術諮詢

CRC 0800 318 326

tech@stella.com.tw

FAX / 02 2999 3789

業務諮詢

02 2999 3788

#318 James

#301 Marco

FAX / 02 2999 3789

課程諮詢

02 2528 9668

#2332 邱小姐

FAX / 02 8772 7711

地址

教室 / 新北市 三重區 重新路五段609巷16號3樓之16