Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>↩
<html>↩
<body>↩
<div style="height:300px; overflow:hidden" class="scrollTop">↩
<div style="height:5px; background:yellow;"></div>↩
<img style="display:block" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAMgAQMAAACj7s1kAAAAA1BMVEWAAABGTyZaAAAANElEQVR4nO3BAQEAAACCIP+vbkhAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfBl54AAB4qBHuAAAAABJRU5ErkJggg==">↩
</div>↩
<script src="scrolling.js"></script>↩
</body>↩
</html>↩