Click here to get back home

Inline scrollable divs and mouse wheels

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Inline scrollable divs and mouse wheels Stephen Yeargin 12-14-2006
Get Chitika Premium
Posted by Stephen Yeargin on December 14, 2006, 9:47 am
Please log in for more thread options


== Background ==
I have created a parts list table that does not need to fill the entire
page. The solution has been to put the table within a scrolling div,
allowing me to set the height of the table while keeping the rest of
the page fixex.

== Issue ==
When using a mouse wheel and placing the cursor over the table, the div
will scroll as expected. However, when you reach the top or bottom of
the div's contents, the scroll action reverts back to its parent
object; in this case, the page body itself.

== Desired Result ==
Scrolling to the bottom of the div would cause the mouse wheel action
to be disabled for any other down scrolling, reactivated only when a
scroll up action occurs. The opposite would be expected for reaching
the top of the div.

== Proposed Workaround ==
Apply a JavaScript event handler to the div that prompts the actions in
the "desired results" section above.


Similar ThreadsPosted
IE shows alt-text as kind of a mouse-over November 23, 2004, 11:06 pm
Mouse-over or pop-up box displaying multiple lines of text June 21, 2006, 1:46 am
Optimal way to call a sound file on a mouse/button click. August 5, 2004, 7:28 am
Liquid layout with 100% height scrollable container December 1, 2004, 4:15 pm
Displaying a scrollable table with fixed head? May 20, 2005, 5:18 pm
textarea problem: keyboard focus doesn't follow mouse focus/click June 13, 2008, 10:05 am
Drop down menu vs scrollable detail rows vs frames techniques December 19, 2005, 11:49 am
Why can't I embed divs in a

?

November 10, 2006, 9:40 am
Problems with divs in IE and Firefox January 26, 2005, 6:49 am
CSS Problem with Nested DIVs October 14, 2005, 4:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap