-2
プライムフェイス3,5にはスティッキーがありません。私はmenubar用のカスタムスティッキーを作成する必要があります。ありがとうございました。プライムフェイス:プライムフェイスのメニューバーにスティッキーを作る方法3.5
*プライムフェイス3,5にはスティッキーがありません。私はmenubar用のカスタムスティッキーを作成する必要があります。ありがとうございました。プライムフェイス:プライムフェイスのメニューバーにスティッキーを作る方法3.5
*<style type="text/css">
.fixedElement {
background-color: #c0c0c0;
position: fixed;
width: 97%;
z-index: 100;
height: 30px !important;
padding-bottom: 1px !important;
font-size: 20px !important;
}
</style>
* * * * * *
<p:toolbar styleClass="fixedElement" >
<p:toolbarGroup align="left" >
<p:menubar model="#{xxxxxx.menuModel}" style="padding-bottom:2px !important ;padding-top:2px !important; height:20px; font-size:15px;"/>
<br/>
</p:toolbarGroup>
</p:toolbar>
クライアント側では、すべてのHTML、CSSおよびJavaScriptです。だからその方向で解決策を探して... https://www.google.nl/search?q=how+can+I+make+a+div+sticky+in+html – Kukeltje
ありがとう、私は作った。 – simyaci
コードで自分で質問に答えることができます...してください – Kukeltje