jscrollpane somehow sets the width and height of the jScrollPaneContainer to 0 and the scroll-pane height to 0 which hides the content but if i reload the page one or two times it functions. this happens when i am loading the page in an iframe otherwise jscrollpane functions.
this is how the html is after i call the jscrollpane. <div id="record-scroll-pane-holder"> <div class="jScrollPaneContainer" style="height: 0px; width: 0px;"> <div id="record-scroll-pane" class="scroll-pane" style="height: 0px; padding-right: 5px; width: 272px;"> </div> </div> </div> i thought it was an issue of the content not being loaded when jscrollpane is called but i used firebug to call jscrollpane after and it didnt function.