How to do automatic move for banners

Discuss everything related to ApPHP Restaurant Site script.

Moderators: ne_moj, alexmst, zewa, vadimako, ne_moj, alexmst, zewa, vadimako

csincuir
Newbie
Newbie
Posts: 9
Joined: Aug 17th, '13, 11:53

How to do automatic move for banners

Postby csincuir » Feb 8th, '15, 14:46

Hi.
When it is in the home of App Restaurant Site for the first time, the first banner is static. It does not move until you click on the arrows.
How to make banners automatically move?

Note: I use the x-white template.

Thanks in advance.

Carlos.

administrator
Site Admin
Site Admin
Posts: 5955
Joined: Jan 7th, '09, 23:18
Contact:

Re: How to do automatic move for banners

Postby administrator » Feb 8th, '15, 20:31

In templates/js/main.js add

// Start carousel
$('.carousel').carousel();

csincuir
Newbie
Newbie
Posts: 9
Joined: Aug 17th, '13, 11:53

Re: How to do automatic move for banners

Postby csincuir » Feb 9th, '15, 11:03

Excellent, It works very well!
Thank you.

Carlos.


Return to “ApPHP Restaurant Site {developers/users}”