Rotating thumbs on main page

Rotating thumbs on main page

Postby filthlab on Sun Oct 08, 2017 8:11 am

Hi,
Is it possible to rotate first 3 or 5 thumbs for each category on mouse over on main page?
filthlab
 
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Rotating thumbs on main page

Postby admin on Sun Oct 08, 2017 7:01 pm

Well, yes and no

it takes some time to select best thumbs for each category , that's why do don't do it on request but "Select best category thumb interval, minutes"

but you can create 3 sets ( Thumb number 1 2 and 3) - so you'll get 3 thumbs for each category


Then you can create 3 arrays in JS like (pseudo code)

<category set=1 .... >
var category_thumb1[category_id] = thumb_url

<category set=2 .... >
var category_thumb2[category_id] = thumb_url


<category set=3 .... >
var category_thumb3[category_id] = thumb_url

ad then rotate thumbs from those arrays
Have you done script update ?
admin
Site Admin
 
Posts: 23566
Joined: Wed Sep 10, 2008 11:43 am


Return to SmartCJ Support Forum

Who is online

Users browsing this forum: diszk and 1 guest