Home     PHP / Javascript / Ajax
PHP Top of Page Script

PHP Script Codes > miscellaneous

Top of Page Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2160

PHP Script Codes > Top of Page
Use this JavaScript to add a "Top of Page" link at the bottom of your page. The link will be displayed only if the contents of the page exceeds the size of the browser window, i.e. if the scrollbars appear. This script works with IE4+, NS6+, NS4. Since this page does not have much content, you may not be able to see the script in action. Try reducing the size of your browser window so that the vertical scrollbars appear and then notice the difference.