Closed Thread Icon

Topic awaiting preservation: Scrolling DIVs Pages that link to <a href="https://ozoneasylum.com/backlink?for=24202" title="Pages that link to Topic awaiting preservation: Scrolling DIVs" rel="nofollow" >Topic awaiting preservation: Scrolling DIVs\

 
Author Thread
ZOD
Bipolar (III) Inmate

From:
Insane since: Jun 2002

posted posted 11-27-2004 00:45

In IE I can scroll content in a scrollable DIV element using the mouse wheel but other browsers such as FireFox and Opera scroll the entire page instead. How can I force these other browsers to emulate IE's behavior?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-27-2004 01:24

Since there's, no standard, unless I missed some DOM2 or DOM3 event types, method to detect the mouse wheel with client side script, the only option left is via a plugin/extension.

After checking the DOM2 specifications : Mouse Events and DOM3 working group notes : Mouse event types, it is clear that there really is NO standard for mouse wheel events.

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 11-27-2004 02:11

ZOD: I'm quite sure this bug is in the bugzilla for Mozilla. Go there and see if you can find it. If not, why don't you report it?

As for Opera, I suggest you first go grab the latest preview release for your platform. (Unless you're on Mac, in which case I suggest you write a test case that I can try the latest internal build on.)
Try it in the preview release and if the bug remains report it in the Opera Beta Testing forum.


(Update: Tested in op7.60 1891 on the Mac (not the latest version, but I'll change to the latest one next time I reboot it. ), and scrolling works in an overflow:auto/scroll situation, but not if you just mouse over it. You must bring focus to it, by for example clicking in it, to be able to scroll it using the scroll wheel.)


I suggest you don't try to fix it by scripting the interface. That is bound to introduce more problems than it solves, especially if you can't test it across the board.

--
var Liorean = {
prototype: HTMLGuru.prototype,
abode: "http://liorean.web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

(Edited by liorean on 11-27-2004 02:19)

(Edited by liorean on 11-27-2004 02:21)

(Edited by liorean on 11-27-2004 02:21)

ZOD
Bipolar (III) Inmate

From:
Insane since: Jun 2002

posted posted 11-27-2004 04:32

Thanks guys.

« BackwardsOnwards »

Show Forum Drop Down Menu