Your shopping cart is empty!
Easy add Smooth Page Scrolling to your site
Install
------------------------------
1. copy file scroll.png to your theme "ex: catalog\view\theme\default\image"
2. add "scrolltopcontrol.js" to folder js in your theme "ex: catalog\view\theme\default\js"
3. open "scrolltopcontrol.js" and find "controlHTML: '<img src="catalog/view/theme/default/image/scroll.png" style="width:61px; height:32px" />" change "default" to "your folder theme"
4. Go to "catalog\view\theme\yourtheme\template\common" open file "header.tpl" add below line before </head>
"<script type="text/javascript" src="catalog/view/theme/<?php echo $this->config->get('config_template'); ?>/js/scrolltopcontrol.js"></script>"
Demo
Version | |
Versions | 1.4.7, 1.4.8, 1.4.8b, 1.4.9, 1.4.9.1, 1.4.9.2, 1.4.9.3, 1.4.9.4, 1.4.9.5, 1.5.0, 1.5.0.1, 1.5.0.2, 1.5.0.3, 1.5.0.4, 1.5.0.5, 1.5.1, 1.5.1.1, 1.4.9.6, 1.5.1.2, 1.5.1.3, 1.5.2, 1.5.2.1, 1.5.3, 1.5.3.1, 1.5.4, 1.5.4.1, 1.5.5, 1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 2.0.0.0, 2.0.1.0, 2.0.1.1 |