jeffreyhi1 / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

jscrollpane mousewheel event firing only for scrolltrack area in ie/ff #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi..
here is code i am using..mousewheel firing only for scroll track area not for 
whole div/iframe..
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="style/jquery.jscrollpane.css">
<script type="text/javascript" src="script/jquery-1.3.2.js"></script>
<script src="script/jquery.jscrollpane.js"></script>
<script src="script/jquery.mousewheel.js"></script>
<script src="script/jquery.jscrollpane.min.js"></script>
<script type="text/javascript"> 
    $(document).ready(function(){
        $('#test').jScrollPane({ showArrows:true , scrollbarWidth:5});
    });
</script>

</head>

<body>
<div id="test" style="height:300px;width:900px;overflow: auto;">
<iframe style="height:1300px;width:900px;" src="http://www.google.com" 
scrolling="no"></iframe> 
</div>
</body>
</html>

What is the expected output? What do you see instead?
mouse wheel event is firing only for scroll track in ie/ff,
not firing for whole div/iframe..

What version of the jScrollPane are you using? On what browser? And operating 
system?

Please provide a URL to a page displaying the problem.

Please provide any additional information below.
i have attached jscrollpane i am using...

Original issue reported on code.google.com by niravsah...@gmail.com on 29 Jan 2011 at 8:29

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

This isn't the correct place to report issues with jScrollPane. Please see:

http://jscrollpane.kelvinluck.com/#support

For information on using jScrollPane with iframes please see the following 
examples on the site (the second example will show you why your current 
approach isn't working - it's due to security restrictions in place in 
browsers):

http://jscrollpane.kelvinluck.com/iframe.html
http://jscrollpane.kelvinluck.com/iframe2.html

Original comment by kelvin.l...@gmail.com on 29 Jan 2011 at 11:35