i want to disable scrolling down, is there a code i could use?
4 posters
how do i disable scrolling for a page
xDroiidx- Forumember
- Posts : 95
Reputation : 2
Language : English
- Post n°1
how do i disable scrolling for a page
Sir Chivas™- Helper
- Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Hi,
The scroll event cannot be canceled. You can cancel two things, however, the mouse scroll and buttons associated with scrolling.
The scroll event cannot be canceled. You can cancel two things, however, the mouse scroll and buttons associated with scrolling.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
a scrolling down in what/where
xDroiidx- Forumember
- Posts : 95
Reputation : 2
Language : English
ok how can i disable the mouse scroll and buttons?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
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
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.
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.
xDroiidx- Forumember
- Posts : 95
Reputation : 2
Language : English
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
SLGray- Administrator
- Posts : 51554
Reputation : 3523
Language : English
Location : United States
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.