1 2 3 4 5 6 7 8 9 10 11 12 13 |
<script language="javascript"> function totopbottom() { // if (document.body.scrollTop == 0) { 오유에는 이렇게 되어 있지만... if (document.documentElement.scrollTop == 0) { window.scrollTo(0,document.body.scrollHeight); } else { window.scrollTo(0,0); } } function topbottom() { document.body.ondblclick = totopbottom; } </script> |
Leave a Reply