Scrollpane not working while using jquery fade in on div -


i'm experiencing odd problem. i'm using jquery.scrollpane.js custom scrollpanes , have div hided when page loading:

    <script type="text/javascript"> $(window).load(function(){   $(".container").fadein("slow"); }); </script> 

and html

<div class="container" style="display:none;"> 

the fade works charm, scrollpane not working more..

here's code initiate scrollpane

<script type="text/javascript">             $(function()             {                 $('.scroll-pane').jscrollpane({autoreinitialise:true});              });         </script> 

can out?

i've got working following code:

<script type="text/javascript"> $(window).load(function(){ $(".container").fadein("slow"); }); $(function() { $('.scroll-pane').jscrollpane({autoreinitialise:true}); }); </script> 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -