jquery new challenge can you solve it
I used slideToggle with a div which also use mscrollbar .
mscrollbar link is here
Problem: mscrollbar is not working properly with slide toggle.I used display:none for slideToggle but for useing display none mscrollbar counts the div is not displaying and not loading the scrollbar even after changeing css property display:none to display :block by slideToggle its not loading.
my jquery is
- $(document).ready(function(){
$('div class name').slideToggle().css('display', 'block');
})
in css
- div class name {display:none; width:400px; height:500px;}
I also tried
- $(document).ready(function(){
$('div class name').slideToggle().css('display', 'block').mscrollbar(its property here);
})
Now its loaded but mulfunctioning.