jQuery水平滑动手风琴展开详情代码



143 571 191



特效描述:jQuery 水平滑动 滑动手风琴展开,jQuery简单的水平手风琴,滑动展开文章详情,点击关闭按钮收缩效果。一款实用的水平滑动手风琴代码。

代码结构

1. 引入JS

<script src="js/jquery-1.10.2.js"></script>

2. HTML代码

<div class="accordion" >
    <div style="width: 1200px;overflow: hidden;">
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_30.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_31.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_32.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_33.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_34.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_35.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div  style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="singleWrap">
            <div class="singleBox">
                <div class="single">
                    <img src="images/jbcl_36.jpg" alt="">
                    <div class="singleN">
                        <p>1927</p><p style="margin:5px 0;">|</p><p>1937</p>
                        <p class="zkan" style="margin-top:28px;cursor: pointer;" ><img src="images/jbcl_07.png" alt=""></p>
                    </div>
                </div>
                <div class="detail">
                    <img src="images/jbclOff_07.jpg" alt="" class="off">
                    <h2>第一部分  植根红都  光辉起点——土地革命战争时期的人民检察</h2>
                    <div style="margin-top:30px;">
                        <div class="verticalLine" style="margin-left:38px;"></div>
                        <div style="float: left;">
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第一单元  工农民主政权的诞生</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_02.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course addst">第二单元  苏区检察机构</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第三单元  苏区检察工作</p>
                            </div>
                            <div class="courseBox">
                                <div class="marker">
                                    <img src="images/jbcl_icon_00.png" alt="">
                                    <div class="verticalLine"></div>
                                </div>
                                <p class="course">第四单元  苏区检察机构主要领导人</p>
                            </div>
                        </div>
                        <div class="verticalLineLeft" style="float: left;margin-top:-18px;">
                            <div class="showBox" >
                                <h2>工农民主政权的诞生</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox" style="display: block;">
                                <h2>苏区检察机构</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察工作</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                            <div class="showBox">
                                <h2>苏区检察机构主要领导人</h2>
                                <ul class="showList">
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">1.国家公诉员和国家公诉处</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">2.工农检察部</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">3.法院(裁判部)检察长、检察员</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">4.国家政治保卫局</a></li>
                                    <li><img src="images/jbcl_icon_01.png" alt=""><a href="">5.军事检查所</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(window).load(function () {
//        $(".courseBox:last-child").find(".verticalLine").hide();
        var l=$(".courseBox").length;
        var h=0;
        for(var i=0;i<l-1;i++){
            h=$(".courseBox").eq(i).find(".course").height()+34-26+"px";
            $(".courseBox").eq(i).find(".course").prev(".marker").find(".verticalLine").css({"height":h});
        };
        $(".courseBox .course").hover(function () {
            var index=$(this).parent().index();
            $(this).addClass("addst").siblings(".marker").find("img").attr("src","images/jbcl_icon_02.png");
            $(this).parent().siblings().find(".course").removeClass("addst").siblings(".marker").find("img").attr("src","images/jbcl_icon_00.png");
            $(this).parent().parent().next(".verticalLineLeft").find(".showBox").eq(index).show().siblings().hide();
        });
        $(".off").click(function () {
            $(".zkan").parents(".singleWrap").animate({"width":"170"},500)
        });
        $(".zkan").click(function () {
            console.log($(this).parents(".singleWrap").index());
            $(this).parents(".singleWrap").animate({"width":"1200px"},500)
            $(this).parents(".singleWrap").siblings().animate({"width":"0"},500)
        })
    })
</script>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 文字叠加 滑动 滚动切换 滑动选项卡切换 文字拖动 文字提示框 文字收缩展开 文字放大缩小 文字翻转旋转 文字淡出淡进 文字全屏 文字延迟加载 360全景 html5文字动画 文字滚动 文字滑动 文字切换 选项卡切换 滑动手风琴 收缩展开 图片文字 文字导航菜单 切换按钮 日期时间 表单 文字 收缩导航菜单 时间轴 文字标签 滑动手风琴 手风琴 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到