| 1 |
<html> |
| 2 |
<head> |
| 3 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 4 |
<title>jQuery.scrollTo - Test Element MaxY - Quirks Mode</title> |
| 5 |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.js"></script> |
| 6 |
<script type="text/javascript" src="../jquery.scrollTo.js"></script> |
| 7 |
<script type="text/javascript" src="test.js"></script> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<h1>jQuery.scrollTo - Test Element MaxY - Quirks Mode</h1> |
| 11 |
|
| 12 |
<div id="viewport" style="width:600px;height:500px;overflow: auto"> |
| 13 |
<div id="ua" style="height:1500px; width:500px; padding:0 40px; background-color:#AAA"> |
| 14 |
|
| 15 |
</div> |
| 16 |
</div> |
| 17 |
<script type="text/javascript"> |
| 18 |
$('#viewport').test(); |
| 19 |
</script> |
| 20 |
</html> |