Change time for Slider

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Change time for Slider

Postby asawyer13 » 24 May 2014, 02:34

Can't search on "slider" so not sure how to really search for the answer.

Looking to increase the amount of time the image on the slider shows. I would like it to be a few seconds longer.

Thanks
Alan
asawyer13
Stranger
 
Posts: 7
Joined: 24 May 2014, 02:30
Reputation point: 0

Re: Change time for Slider

Postby Koduc » 26 May 2014, 07:35

File /protected/views/layouts/index.php
Replace
Code: Select all
$("#slider").nivoSlider({effect"random"randomStarttrue}); 

to
Code: Select all
$("#slider").nivoSlider({effect"random"randomStarttruepauseTime:3000}); 

And change 3000 (mean 3 sec) to another
-- Меньше знаешь - крепче спишь --
User avatar
Koduc
Team lead
Team lead
 
Posts: 64
Joined: 28 Dec 2011, 09:11
Reputation point: 0

Re: Change time for Slider

Postby asawyer13 » 26 May 2014, 13:03

Thanks so much.
asawyer13
Stranger
 
Posts: 7
Joined: 24 May 2014, 02:30
Reputation point: 0


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 40 guests

cron