Adding menu using HTML
Posted: 03 Dec 2018, 08:03
I tried to add the following code inside pa:tab
but the menu not expanded when click the title
the purpose of doing this
because i plan to use ui:repeat with the li elements
so please advice
Code: Select all
<ul id="myUl1" class="navigation-menu">
<li role="menuitem" id="PIItems" >
<a href="#" class="ripplelink">
<span>Title11</span>
<span class="ink animate"></span>
<i class="material-icons">keyboard_arrow_down</i>
</a>
<ul role="menu">
<!-- repeated part -->
<li role="menuitem" id="PIItem1">
<a class="ripplelink" href="http://#{request.serverName}:#{request.serverPort}#{request.contextPath}/main/page.xhtml" onclick="return false">
<span>AA1</span>
<span class="ink animate"></span>
</a>
</li>
<li role="menuitem" id="PItem2">
<a class="ripplelink" href="http://#{request.serverName}:#{request.serverPort}#{request.contextPath}/main/page.xhtml" onclick="return false">
<span>AA2</span>
<span class="ink animate"></span>
</a>
</li>
</ul>
</li>
</ul>
the purpose of doing this
because i plan to use ui:repeat with the li elements
so please advice