jquery - How to add 2 jScrollPane to my page and each one has different CSS? -


i have on page 2 divs uses jscrollpane , want each 1 have own track bar, default property exist in css file , applied 2 divs.

i want add specific track bar second div without interacting withe first one.

how can that?

thanks

wrap second scroll pane in element class or id , target css rules tracks nested inside that.

e.g. (assuming using jscrollpane 2):

<div id="wrapper">     <div class="scroll-pane">         [content]     </div> </div> 

then in css:

#wrapper .jsptrack {     background: red; } 

this effect track within div id of "wrapper".

hope helps!


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -