Post by usnei » Wed May 20, 2015 1:55 pm

想將首頁橫幅廣告更換的速度調快或調慢

應該朝哪個檔案下手呢

感謝回答

Newbie

Posts

Joined
Thu Jan 08, 2015 10:56 am

Post by raymondization » Thu May 21, 2015 9:27 am

請問你是用哪個version的opencart??

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by usnei » Thu May 21, 2015 3:39 pm

您好

版本為1.5.2.1 感謝您

Newbie

Posts

Joined
Thu Jan 08, 2015 10:56 am

Post by raymondization » Fri May 22, 2015 10:03 am

go to catalog/view/theme/yourtheme/template/module/slideshow.tpl

find:

Code: Select all

<script type="text/javascript"><!--
$(document).ready(function() {
   $('#slideshow<?php echo $module; ?>').nivoSlider();
});
--></script>
change to:

Code: Select all

<script type="text/javascript"><!--
$(document).ready(function() {
   $('#slideshow<?php echo $module; ?>').nivoSlider({
         pauseTime:1234,
      });
});
--></script>
'1234' is the time in ms to pause on each image.

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am
Who is online

Users browsing this forum: No registered users and 6 guests