php嵌套循环分类怎么写---求大神帮帮忙呀!

WBOY
Release: 2016-06-02 11:27:49
Original
766 people have browsed it

php

图片说明
图片说明
鼠标悬停的时候,自动显示大分类下的小分类。(JS已经写出来了,就是php部分不会嵌套)

<code> <li class="nav-sub" data-tips="sub-school">                    <a href="<%7B:U('Product/products')%7D>" class="tit">销售与支持</a>                    <div class="nav-line poa"></div>                        <dl class="child cf child_pro">                            <dd class="fl">                                <h1><a href="">产品-1</a></h1>                                <h1><a href="">产品-2</a></h1>                            </dd>                            <div class="fr child_dt">                                <div class="child_p">                                    <img  src="__CN__/images/nav_pic.png"    style="max-width:90%"  style="max-width:90%" alt="php嵌套循环分类怎么写---求大神帮帮忙呀!" >                                    <h5 class="cf">                                        <a href="javascript:;" class="fl">G</a>                                        <a href="javascript:;" class="fl">G</a>                                        <a href="javascript:;" class="fl">G</a>                                    </h5>                                </div>                                      <div class="child_p">                                    <img  src="__CN__/images/nav_pic.png"    style="max-width:90%"  style="max-width:90%" alt="php嵌套循环分类怎么写---求大神帮帮忙呀!" >                                    <h5 class="cf">                                        <a href="javascript:;" class="fl">L</a>                                        <a href="javascript:;" class="fl">L</a>                                        <a href="javascript:;" class="fl">L</a>                                    </h5>                                </div>                             </div>                        </dl>                </li></code>
Copy after login

图片说明

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!