|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56153 Make overflow:auto elemets scrollable in Mozilla
Submitted: 2004-07-30 12:03 UTC Modified: 2006-06-08 22:12 UTC
From: Assigned:
Status: No Feedback Package: PECL website (PECL)
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2004-07-30 12:03 UTC]
Pleas consider applying a patch with similar functionality to make "overflow:auto" elements scrollable in Mozilla (like on the main stats page).

Reproduce code:
<script type="text/javascript"> <!--
	// enable scrolling for overflow:auto elements in Mozilla
	function scrollMe(event)
		var st = event.currentTarget.scrollTop + (event.detail * 12);
		event.currentTarget.scrollTop = st < 0 ? 0 : st;
	if (document.body.addEventListener) {
		var divs = document.getElementsByTagName('DIV');
		for (var d in divs) {
			if (divs[d].className && divs[d].className == 'scroll') {
				try {
					divs[d].addEventListener('DOMMouseScroll', scrollMe, false);
				} catch (ex) {}
	// -->


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-02 13:45 UTC]
Please let me know if you need any assistance.

 [2006-02-18 10:41 UTC]
What's the status of this report?
 [2006-06-08 22:12 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 08 05:03:37 2023 UTC