Full version: jsB@nk » Link » xWinScrollTo
URL: https://www.javascriptbank.com/tooltips-xwinscrollto.html
Window scrolling with sinusoidal rate.
Full version: jsB@nk » Link » xWinScrollTo
URL: https://www.javascriptbank.com/tooltips-xwinscrollto.html
<link rel="stylesheet" type="text/css" href="v3.css"><style type="text/css">.topLnk { text-align:right; font-size:smaller;}</style><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<script type="text/javascript">window.onload = function(){ if (window.winOnLoad) window.winOnLoad();}</script><script type="text/javascript" src="x_core.js"></script><script type="text/javascript" src="x_win.js"></script><script type="text/javascript">function go(n){ var t = (n < 5) ? n * 500 : n * 300; xWinScrollTo(window, 0, xPageY('lnk' + n), t); return false;}function goTop(){ xWinScrollTo(window, 0, 0, 500); return false;}</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<div> <a href="#lnk1" onclick="return go(1)">lnk1</a> | <a href="#lnk2" onclick="return go(2)">lnk2</a> | <a href="#lnk3" onclick="return go(3)">lnk3</a> | <a href="#lnk4" onclick="return go(4)">lnk4</a> | <a href="#lnk5" onclick="return go(5)">lnk5</a> | <a href="#lnk6" onclick="return go(6)">lnk6</a> | <a href="#lnk7" onclick="return go(7)">lnk7</a> | <a href="#lnk8" onclick="return go(8)">lnk8</a></div><h3>Sed ut perspiciatis (lnk1)</h3><h3>But I must explain (lnk2)</h3><h3>At vero eos et (lnk3)</h3><h3>On the other hand (lnk4)</h3><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
http://javascriptbank.com/javascript/link/tooltips/v3.csshttp://javascriptbank.com/javascript/link/tooltips/x_win.jshttp://javascriptbank.com/javascript/link/tooltips/x_core.js