解决方案 »

  1.   

    帮忙修改下jquery,,点击一个其他3个隐藏,当前的显示。。
      

  2.   

    想要点击moreBtn,显示对应的moreMain
      

  3.   

    $(".div1 a").on("click",function(){
    $(this).next().show();
    $(this).closest("div").siblings().find(".moreMain").hide();
    })
    不知对不对,大概就这样吧
      

  4.   

    用这个http://download.csdn.net/detail/u010036886/8160957
      

  5.   


    $(document).ready(function(){
    $(".moreMain").hide();
    $(".div1:nth-child(2) .moreMain").show();
    $(".div1").click(function(){
     var Index = $(this).index();
     $('.main').children('.div1').children('div').eq(Index).fadeIn().parent().siblings('div').hide();
    });
    });
      

  6.   

    写错了,这样可以
    $(document).ready(function(){
        $(".moreMain").hide();
        $(".div1:nth-child(2) .moreMain").show();
        $(".div1").click(function(){
             var Index = $(this).index();
             $('.main').children('.div1').eq(Index).children('div').fadeIn();
     $('.main').children('.div1').eq(Index).siblings().children('div').hide();
        });
    });
      

  7.   

    写错了,这样可以
    $(document).ready(function(){
        $(".moreMain").hide();
        $(".div1:nth-child(2) .moreMain").show();
        $(".div1").click(function(){
             var Index = $(this).index();
             $('.main').children('.div1').eq(Index).children('div').fadeIn();
     $('.main').children('.div1').eq(Index).siblings().children('div').hide();
        });
    });
    谢谢!