File: /www/wwwroot/gxdaosen.net/wp-content/themes/simplepark/js/move.js
$(document).ready(function(){
$(".top span").click(function() {$(this).children("b").animate({"bottom":"-29px"},600,'easeOutElastic');});
$(".top span").stop().click(function(){$(this).children("b").animate({"bottom":"0"},600,'easeOutElastic');});
$("#Language").stop().click(function() {$(this).next(".Language_c").fadeIn(300)});
$(".Language_c").stop().click(function(){$(this).fadeOut(300)});
$(".menu_nav").css({"height":($(window). height())+"px"});
$(".sub-menu").parent("li").append('<b class="hover">+<\/b>');
$(".hover").click(function() {
if($(this).prev(".sub-menu").hasClass("up")){
$(this).prev(".sub-menu").slideUp(300);
$(this).prev(".sub-menu").removeClass("up");
}else{
$(this).prev(".sub-menu").slideDown(300);
$(this).prev(".sub-menu").addClass("up");
}
});
var sumWidth =0;
$("#full_bigpic #loop_big_caj,#full_bigpic #loop_big_caj02").children("ul").each(function(){
$(this).css("width", 260*$(this).children("li").length+"px");
});
$(".swiper-container .swiper-slide img").ready(function(e) {
$(".swiper-container").animate({"height":$(".swiper-container .swiper-slide img"). height()+"px"},10);
});
$(".swiper-container").click(function(e) {
$(".swiper-container").animate({"height":$(".swiper-container .swiper-slide img"). height()+"px"},200);
});
jQuery(window).resize(function(){
$(".swiper-container").animate({"height":$(".swiper-container .swiper-slide img"). height()+"px"},10);
});
$("#nav_btn").click(function() {
if($(this).next(".menu_nav").hasClass("open")){
$(this).next(".menu_nav").animate({"right":"-300px"},600,'easeOutCubic');$(this).next(".menu_nav").removeClass("open");
$(this).children( "a").animate({"right":"0"},600,'easeOutCubic');
}
else{
$(this).next(".menu_nav").addClass("open");
$(this).next(".menu_nav").animate({"right":"0"},600,'easeOutCubic');
$(this).children( "a").animate({"right":"-43px"},600,'easeOutCubic');
}
});
$("#left_news .left_news_hd a").click(function() {
$("#left_news .left_news_hd").children("a").removeClass( "inopen");
$(this).addClass("inopen");
$("#left_news ul").removeClass("show");
});
$("#cs1").click(function() {$("#left_news ul").fadeOut(0);$("#ss1").fadeIn(0); });
$("#cs2").click(function() {$("#left_news ul").fadeOut(0);$("#ss2").fadeIn(0); });
$("#cs3").click(function() {$("#left_news ul").fadeOut(0);$("#ss3").fadeIn(0); });
$("#cs4").click(function() {$("#left_news ul").fadeOut(0);$("#ss4").fadeIn(0); });
});