PDA

View Full Version : Needs help with mousewheel


runelore
05-23-2002, 05:39 AM
Hi I have a page with a frame on the left hand-side and I can scroll the frame with the scroll bar but the mouse wheeel does not work in the frame.. The mousewheel works in every other page.... Please is there anyscript that I can embed into the page/frame that can activate the mouse wheel.. Please help...

Bonkom
05-23-2002, 06:56 AM
try and click in the frame and then use the mouse weel

runelore
05-23-2002, 08:02 AM
I have tried that.. If I set "scrolling" to "yes" then the mouse wheel works but I have scroll bars at the sides aswell. I don't want scroll bars.... I use DHTML buttons to scroll the window.. but need mousewheel scroll aswell...

Bonkom
05-23-2002, 08:18 AM
can you post a link so we can see the example? i don't think you can have it both ways but it is worth a try

scoutt
05-23-2002, 08:53 AM
if you don't use scroll bars then you won't be able to get the scrollwheel to work. there is no code for it as the webpage has no control over the mouse and it buttons it uses. the software is in the windows environment that controls the scroll wheel.

Jon Hanlon
05-23-2002, 05:18 PM
Er... not 100% correct there, Scoutt ol' buddy.
IE6 has an onmousewheel event handler, which exposes the wheelDelta property of the event object.
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onmousewheel.asp

scoutt
05-23-2002, 05:23 PM
well I'll be a monkies uncle... no offense Chris :D

should have known that MS would think something up like that. also suppose it is IE specific.... doesn't solve it for everybody as most people don't have IE6 yet

thanks Jon, for that one.

ps: have you read your pm's lately??? ;)