$(document).ready(function(){ $('body').append('

お使いのブラウザでは正しく表示されない可能性があります。

最新のブラウザにアップグレードしてください。

[ close ]

'); $('#warning').animate({"top":"-130px","opacity": "0"}, "slow"), $('#warning').animate({"top":"20px","opacity": "1","z-index":"1000000"}); $('#warning').click( function(){ $('#warning').animate({ opacity: "hide" }, "slow"); } ); $('#contact').prepend('

'); $('#phone').prepend('

'); $(".header p").dropShadow({left: -38, top:-16, blur: 1, opacity: 0.2, color: "#ddd"}); $(".page h2 strong").dropShadow({left: -90, top: 20, blur: 3, color: "#000"}); $(".page h2 span").dropShadow({left: 1, top: 1, blur: 3, color: "#000"}); $(".page em.class").dropShadow({left: -15, top: 7,color: "royalblue"}); $(".wrap").css({"height": "0"}); $("#ie_slid .pager").css({"width":"0","overflow":"hidden"}); $(".wrap").css({"height": "1px","width":"0"}); $(".wrap").animate({"height": "1px","width":"0"}), $(".wrap").animate({"height": "1px","width":"100%"},function(){ $(".wrap").animate({"height": "1px","min-height":"0px"}, "1000"), $(".wrap").animate({"height": "250px","min-height":"250px"},function(){ $("#ie_slid .pager").animate({"width": "0"}, "1000"), $("#ie_slid .pager").animate({"width": "120px"}); }); }); $('#ie_slid').tinycarousel({ controls: true, pager: true, animation: true}); $('.middle_menu a').click(function(){ $('.ps0').css({"background":'url("img/top/top.jpg") #fff'}); $('.ps1').css({"background":'url("img/top/dis.jpg") #FCF7FD'}); $('.ps2').css({"background":'url("img/top/oil.jpg") #f2f2e6'}); $('.ps3').css({"background":'url("img/top/wat.jpg") #a17167'}); $('.ps4').css({"background":'url("img/top/scl.jpg") #f1f1f1'}); $('.ps5').css({"background":'url("img/top/des.jpg") #fdfdfd'}); }); $("#phone").click(function(){ $(".nomber").toggle("slow"); }); $("#contact").click(function(){ $(".contact_form").toggle("slow"); }); $(".event_menu li").corner("20px"); $(".event_menu li").append(""); $(".event_shadow").corner("20px top"); $('.open_btn').corner(); $('.overview li a').corner("10px"); $('.contact_form p.submit a').corner("5px"); }); $(function() { $("#toTop").click(function(){ $('html,body').animate({ scrollTop: $($(this).attr("href")).offset().top }, 'slow','swing'); return false; }) $(function () { $('img').error(function(){ $(this).css({"display":"none"}); }); }); });