2015-12-16 69 views

回答

0

你要做像PrimeFaces

<h3 style="margin-top:0">Buttons</h3> 
<p:commandButton value="Edit" icon="fa fa-fw fa-edit" type="button"/> 
<p:commandButton value="Remove" icon="fa fa-fw fa-remove" type="button"/> 
<p:commandButton value="Download" icon="fa fa-fw fa-download" type="button"/> 

<h3>Menu</h3> 
<p:menu> 
    <p:submenu label="Document"> 
     <p:menuitem value="New" url="#" icon="fa fa-plus" /> 
     <p:menuitem value="Refresh" url="#" icon="fa fa-refresh"/> 
    </p:submenu> 
    <p:submenu label="Navigations"> 
     <p:menuitem value="Home" url="http://www.primefaces.org" icon="fa fa-home"/> 
     <p:menuitem value="User" url="#" icon="fa fa-user"/> 
    </p:submenu> 
</p:menu> 
+0

非常感謝你! – thiendv

+0

@Thiendoanvan:請改善問題。這是關於jQuery和答案是字體真棒。 – Kukeltje

+0

@Kukeltje:這是關於jQuery,但我改變了我的問題。但是,我仍然想要完全回答... – thiendv