1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // JavaScript Document
- $('#myModal').on('shown.bs.modal', function () {
- $('#myInput').focus()
- });
- $('#myTabs a').click(function (e) {
- e.preventDefault()
- $(this).tab('show')
- });
- $(document).ready(function(){
- $(".subMenuContent").hide();
- $(".subMenuTitle a").click(function(){
- $(".subMenuTitle a").removeClass("bg");
- $(this).addClass("bg");
- $(this).parent().next().removeClass("menu-list");
- $(".menu-list").slideUp();
- $(this).parent().next().slideToggle();
- $(this).parent().next().addClass("menu-list");
- });
- $(".leftWrapper").hover(function(){
- timer = setTimeout(function(){
- $(".leftWrapper").stop().animate({width:"200px"},500);
- $(".mainWrapper").stop().animate({marginLeft:"215px",marginRight:"-200px"},500);
- $(".subMenuText").fadeIn(500);
- $(".logoInfo").show(500);
- },300);
- },function(){
- clearTimeout(timer);
- $(".leftWrapper").stop().animate({width:"60px"},500);
- $(".mainWrapper").stop().animate({marginLeft:"71px",marginRight:"15px",paddingRight:"0"},500);
- $(".subMenuText").fadeOut("fast");
- $(".logoInfo").hide();
- $(".subMenuContent").slideUp();
- });
- $(".logo").hover(function(){
- $(".logoList").show();
- },function(){
- $(".logoList").hide();
- })
- });
|