Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • ScrollBar using Jquery

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 245
    Comment on it

    ScrollBar using Jquery

    To apply a scrollbar you need to write your html in the div below :-

       <div id="outerholder" style="float:left">
      <div id="smidscroller" style="overflow:hidden; width:auto; height:500px;">
                 </div></div>
    

    Write the jquery function as:-

        <script type="text/javascript">
                          $(function () {
                          $('#smidscroller').slimScroll({
                          height: 'auto',
                          railVisible: true,
                          alwaysVisible: true
                           });
                          });
                        </script>
    

           <script type="text/javascript" src="ui.js"></script> 
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: