|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 21:01:33 2024 UTC