php.net |  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: mike@php.net Assigned:
Status: No Feedback Package: PECL website (PECL)
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-07-30 12:03 UTC] mike@php.net
Description:
------------
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;
		event.preventDefault();
	}
	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) {}
			}
		}
	}
	// -->
</script>



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

Cheers
 [2006-02-18 10:41 UTC] pajoye@php.net
What's the status of this report?
 [2006-06-08 22:12 UTC] pajoye@php.net
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-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 00:01:34 2019 UTC