jquery的slideToggle显示隐藏问题,求帮忙,多谢

看下吧,多谢,

.tab1{ } .menu{ } .jingting_xianlu{ float:inherit; width:756px; } .jingting_xianlu_li{ float:left; } .serlist_bd_tprice{ background:#FAEBD7; } .jingting_xianlu_div{ float:left; width:1002px; }
     foreach ($chepiao as $value) {  ?> 
          <div class="serlist_box serlist_box_even" id="<?php echo $value["id"]; ?>">
            <ul class="serlist_box_inner clearfix">
              <li class="serlist_bd_stime"><p class="stime1"><span><?php echo $value["linename"]; ?></span></p><div class="smark clearfix"></div></li>
              <li class="serlist_bd_station serlist_bd_station_tow">
                   <a class="stopdetail<?php echo $value["id"]; ?> first_last_station" href="javascript:;">
                     <p class="icon_depart clearfix" style="color:#06c;font-size:13px;"><i></i><span><?php echo $value["detail"]; ?></span></p>
                     <b class="icon_hide"></b>
                   </a>

              </li>
              <li class="serlist_bd_vtype"><p><span><?php echo $value["runningtime"]; ?></span></p></li>
              <li class="serlist_bd_ttype"><div class="ttype_select"><p class="texCen pdt7"><?php echo $value["duration"]; ?></p></div></li>
              <li class="serlist_bd_tprice"><p class="tprice"><span>¥<em><?php echo $value["price"]; ?></em></span></p></li>
              <!--
              <li class="serlist_bd_tbtn"><input type="hidden" name="ticketType" value="1"><p class="tbtn_layer"><a href="order.php?linesID=<?php echo $value["id"];  ?>" tts="link_6247" class="btn_orange btn_orange_buy" >购&nbsp;票</a></p></li>
               --> 
               <div class="jingting_xianlu_div">
               <ul class="serlist_bd_station_jingting<?php echo $value["id"]; ?> jingting_xianlu" style="display:none" id="<?php echo $value["id"]; ?>">  
                  <li class="jingting_xianlu_li">
                    <span style="display:soild;background:#D3D3D3;"><b>经停站:</b><span style="color:#000;font-size:13px;"><?php echo $value["station"]; ?></span></span>
                  </li> 
                </ul>
                </div>
            </ul>
       </div>
        要下拉后可以点回,而且其他的项要隐藏的
查看全部
qq_27608761
qq_27608761
2015/07/23 04:26
  • javascript
  • 点赞
  • 收藏
  • 回答
    私信

0个回复