+ Reply to Thread
Results 1 to 2 of 2

Thread: Disable body's scrolling

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    9

    Disable body's scrolling

    I`d like to disable the Body scrolling but keep the scrollbars visible , how to do that ?

  2. #2
    You can do that in CSS to force disabling scrolling
    Code:
    html{
        overflow-y: scroll;
    }
    Then Add :
    Code:
    $("body").css({ "height" : ($(window).height() - 1) + 'px', "overlow": "hidden" });

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts