OPERA GENERAL 16 SCROLLWHEEL NOT WORKING WITH SIMULATED FRAMES
From: breun (breun@no-spam)
Subject: scrollwheel not working with simulated frames?
Date: Wed, 09 Jul 2003 15:50:56 +0200


when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel doesn't work when trying to scroll the text. the page doesn't use frames but tricks it with css. in mozilla firebird this doesn't work either, but in ie6 it does.

using a logitech mouse with the latest drivers.

shouldn't the text scroll when my mouse pointer is over that div?

breun.
-- Opera 7.20 build 2981
Sun Java 1.4.2
Windows XP Pro SP1
512 MB RAM AMD Athlon XP 2400+
MSI MS-6561 Motherboard








From: Jor (darkelf-at-operamail-dot-com@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Wed, 09 Jul 2003 15:54:24 +0200

It is said, on Wed, 09 Jul 2003 15:50:56 +0200 breun spoke the words:

> when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel > doesn't work when trying to scroll the text. the page doesn't > use frames but tricks it with css. in mozilla firebird this > doesn't work either, but in ie6 it does.
>
> using a logitech mouse with the latest drivers.
>
> shouldn't the text scroll when my mouse pointer is over that div?

Yes. But both keyboard and mousewheel scrolling are not working yet.

-- Jor

From: breun (breun@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Wed, 09 Jul 2003 16:17:08 +0200

On Wed, 09 Jul 2003 15:54:24 +0200, Jor <darkelf-at-operamail-dot- com@no-spam> wrote:

> It is said, on Wed, 09 Jul 2003 15:50:56 +0200 breun spoke the words:
>
>> when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel >> doesn't work when trying to scroll the text. the page doesn't >> use frames but tricks it with css. in mozilla firebird this >> doesn't work either, but in ie6 it does.
>>
>> using a logitech mouse with the latest drivers.
>>
>> shouldn't the text scroll when my mouse pointer is over that div?
>
> Yes. But both keyboard and mousewheel scrolling are not working yet.

is this is known issue that shouldn't be reported?

breun.
-- Opera 7.20 build 2981
Sun Java 1.4.2
Windows XP Pro SP1
512 MB RAM AMD Athlon XP 2400+
MSI MS-6561 Motherboard

From: Jor (darkelf-at-operamail-dot-com@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Wed, 09 Jul 2003 16:18:44 +0200

It is said, on Wed, 09 Jul 2003 16:17:08 +0200 breun spoke the words:

> is this is known issue that shouldn't be reported?

It has been submitted as a bug before, yes.

it hasn't worked in any build of Opera 7 yet.

-- Jor

From: "TS (Thomas Schiepek)" (noone@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Fri, 11 Jul 2003 11:30:13 +0200

On Fri, 11 Jul 2003 17:21:12 +1000, Kevin W <kevin_w@no-spam com.invalid> wrote:

>> when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel >> doesn't work when trying to scroll the text. the page doesn't >> use frames but tricks it with css.
>
> It is the intentional (though ugly) behaviour because there's no way for > Opera to tell when the focus is in a div (or whatever).
>

I wonder why it shouldn't be able to tell?

-- Thomas Schiepek _____________________________________
Opera document inspector & javascript console http://www.miurasoft.de/docInspector/


From: Kevin W (kevin_w@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Fri, 11 Jul 2003 23:09:43 +1000

>>> when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel >>> doesn't work when trying to scroll the text. the page doesn't >>> use frames but tricks it with css.
>>
>> It is the intentional (though ugly) behaviour because there's no way for >> Opera to tell when the focus is in a div (or whatever).
>
> I wonder why it shouldn't be able to tell?

Just for the sake of keeping the code clean/fast, I presume. Divs aren't as "solid" as frames and don't have focus mechanisms built into them.

This is why position:fixed is the preferred method of achieving this effect rather than overflow:auto.

-- Kevin W :-)
Opera/CSS/webdev blog: http://trats.ozforces.com.au/
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


From: Tom Gilder (tom@no-spam)
Subject: Re: scrollwheel not working with simulated frames?
Date: Mon, 14 Jul 2003 02:46:35 +0100

Kevin W wrote:
> > when i go to http://www.paragin.nl/~eelco/rolls/ my scrollwheel > > doesn't work when trying to scroll the text > > It is the intentional (though ugly) behaviour because there's no way for > Opera to tell when the focus is in a div (or whatever).

So? Opera scrolls depending on where the mouse is over, not what element has focus (although overflowed elements should be allowed to have focus anyway).