»
EnglishFrenchVietnamese

Print - Top-of-page onDoubleClick - JavaScriptBank.com

Full version: jsB@nk » Browser » Page effect » Top-of-page onDoubleClick
URL: http://www.javascriptbank.com/top-of-page-ondoubleclick.html

Top-of-page onDoubleClick © JavaScriptBank.comThe easiest way to add a top-of-page-feature to your webpages. Your visitors just have to doubleclick anywhere onto the white space of the document to reach the top of your webpages.

Full version: jsB@nk » Browser » Page effect » Top-of-page onDoubleClick
URL: http://www.javascriptbank.com/top-of-page-ondoubleclick.html



JavaScript
<script language="JavaScript1.2"><!--// Top-of-page onDoubleClick// Author: Peter Gehrig // Web Site: http://www.24fun.com function dblclick() {window.scrollTo(0,0)}if (document.layers) {document.captureEvents(Event.ONDBLCLICK);}document.ondblclick=dblclick;//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->