Oh, Who would be a hero and make good scrollTo and smoothscroll code?
than will work on this example?
<html>
<head>
<script type="text/javascript" src="http://hostel6.ru/cht/js/
prototype.js"></script>
</head>
<body>
<br><br><br>
<div style="height:100px; background-color:white; overflow:auto;">
<div id="blue" style="height:100px; background-color:blue;"></div>
<div id="red" style="height:100px; background-color:red;"></div>
</div>
<a href="#" onclick="$('red').scrollTo();">Prototype ScrollTo</a><br>
<a href="#red">#red</a><br>
</body>
</html>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to