• Post Reply Bookmark Topic Watch Topic
  • New Topic

Disable scrolling in a frame using mouse  RSS feed

 
Puneet Agarwal
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a HTML frame which does not have scrollbars and has the noresize attribute set. But users are complaining that they can still scroll the frame contents using Mouse. How can I disable scrolling using a mouse within a frame.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Frame scrolling element default value is "auto" its mean window automatically scroll when page size is increased..

for more you can see Frame Element list on w3.org
[ February 05, 2007: Message edited by: Saif uddin ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<body onscroll="window.scrollTo(0,0);">

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!