HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
desabling autoscroll--Urgent Posted by Ksamysksundar on 15 Jun 2004 at 3:56 AM
My friend gave me a web page with custom scroll buttons using javascript
He changed the color of the browser to body bgcolor somehow he made it invisble.But lenth of the page more than the browser size (small bit of length) Using the mouse scroll Button any one can scroll the page.
I want to desable auto scroll facility of the page
How?
Please any one help me...
Very Urgent
Report
Re: desabling autoscroll--Urgent Posted by Weirdofreak on 15 Jun 2004 at 12:52 PM
Mind if I ask why? Lack of autoscroll would deter many people away from the site.

Anyway, you can't safely do it. It is (theoretically) possible to find out which button was clicked, but browsers differ in their implementations. They all use the same variable to do so, however, so a left click in one browser is indistinguishable from the middle button in another, and I'm not at all sure buttons 4 and 5 (scroll wheel) are possible to detect.
Vote D.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.