Stuck trying mega css menu under Zend

I follow zendcast

Zend_Navigation - creating a menu, site map and panibras, and I would like to replace the menu that it is there with the so-called clean "Mega Menu". When you click on the screen, such an XML file is used

                    Home /

        <pages>
            <report>
                <label>Reports</label>
                <uri>/report</uri>
                <report_sub>
                    <label>Reports</label>
                    <uri>/report</uri>
                </report_sub>
            </report>
            <setup>
                <label>System Setup</label>
                <uri>/systemsetup</uri>
            </setup>
            <managestaff>
                <label>Manage Groups</label>
                <uri>/groups/save</uri>
            </managestaff>
            <logout>
                <label>Logout</label>
                <uri>/authentication/logout</uri>
            </logout>
        </pages>
    </home>
</nav>

How to use css for formatting above to create Mega Menu as effect in zend framework?

+3
source share
3 answers

, , XML <ul> zend, , . , , , zend ul, <ul> <li> , <ul>. .

+2

, , <UL> . , XML- <UL>, .

(, - Soh Tanaka):

<ul>
   <li>Reports</li>
      <div class="sub">
         <ul>
            <li>Reports</li>
         </ul>
      </div>
   <li>System Setup</li>
   <li>Manage Groups</li>
   ...
</ul>
+1

, zend cast, xml -, , , Zend_Navigation, , HTML div, Layout.phtml, , . - , .

+1

Source: https://habr.com/ru/post/1771773/


All Articles