Req #2024 [Fbk->NoF]: Make overflow:auto elemets scrollable in Mozilla
| From: | pajoye@php.net | Date: | Fri, 09 Jun 2006 02:12:21 +0000 |
| Subject: | Req #2024 [Fbk->NoF]: Make overflow:auto elemets scrollable in Mozilla | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5077@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=2024&edit=1
ID: 2024
Updated by: pajoye@php.net
Reported By: mike at php dot net
-Status: Feedback
+Status: No Feedback
Id: 2024
Type: Feature/Change Request
Package: Web Site
Operating System: N/A
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-02-18 10:41:12] pajoye at php dot net
What's the status of this report?
------------------------------------------------------------------------
[2004-08-02 13:45:13] mike at php dot net
Please let me know if you need any assistance.
Cheers
------------------------------------------------------------------------
[2004-07-30 12:03:37] mike at php dot 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>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=2024&edit=1