shaltay, наверное нечто такое тебе подойдёт...
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<!--
<link rel="stylesheet" type="text/css" href="tmp.css" />
-->
<style type="text/css">
#container {
position: relative;
width: 200px;
height: 200px;
overflow: auto;
}
#test {
width: 10000px;
height: 10000px;
}
#mess {
position: absolute;
width: 50px;
height: 50px;
border: 1px solid;
display: none;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
$("#test").click(function() {
var o=$("#container").get(0)
$("#mess").css('top',o.scrollTop+'px').css('left',o.scrollLeft+'px');
$("#mess").show();
});
});
</script>
</head>
<body>
<div id='container'>
<div id='test'>Test...</div>
<div id='mess'>Ok!</div>
</div>
</body>
</html>