Page 1 of 1

Rotating thumbs on main page

Posted: Sun Oct 08, 2017 8:11 am
by filthlab
Hi,
Is it possible to rotate first 3 or 5 thumbs for each category on mouse over on main page?

Re: Rotating thumbs on main page

Posted: Sun Oct 08, 2017 7:01 pm
by admin
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