The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    how do i disable scrolling for a page

    avatar
    xDroiidx
    Forumember


    Posts : 95
    Reputation : 2
    Language : English

    Solved how do i disable scrolling for a page

    Post by xDroiidx June 9th 2013, 7:31 pm

    i want to disable scrolling down, is there a code i could use?
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6980
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: how do i disable scrolling for a page

    Post by Sir Chivas™ June 9th 2013, 7:34 pm

    Hi,

    The scroll event cannot be canceled. You can cancel two things, however, the mouse scroll and buttons associated with scrolling.
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: how do i disable scrolling for a page

    Post by kirk June 9th 2013, 9:58 pm

    a scrolling down in what/where
    avatar
    xDroiidx
    Forumember


    Posts : 95
    Reputation : 2
    Language : English

    Solved Re: how do i disable scrolling for a page

    Post by xDroiidx June 9th 2013, 11:27 pm

    ok how can i disable the mouse scroll and buttons?
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: how do i disable scrolling for a page

    Post by kirk June 9th 2013, 11:46 pm

    Can you please be more specific and detailed.

    You can try this for scroll.

    go to
    Admin panel>Display>Homepage>Generalities

    Place code there and hit save

    Code:
    <script type="text/javascript">
                function stop()
                {
                    return false;
                }
                document.onmousewheel=stop;
        </script>

    as far as the buttons it depends what ones and what pages,
    please explain in more detail and add any links or screen shots to better help us understand.
    avatar
    xDroiidx
    Forumember


    Posts : 95
    Reputation : 2
    Language : English

    Solved Re: how do i disable scrolling for a page

    Post by xDroiidx June 10th 2013, 12:34 am

    Actually i dont really need to disable scrolling because the scrolling on the page is barely anything so go ahead and mark this solved, and thanks kirk for the help Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: how do i disable scrolling for a page

    Post by SLGray June 10th 2013, 1:50 am

    Topic Solved & Locked



    how do i disable scrolling for a page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 12th 2024, 1:45 am