Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Rotate Order of List Items Re: Rotate Order of List Items

#126656
bcintegrity1
Participant

@jamy_za Thank you for your time! I like that the list can be altered.

Is there a way (jquery plugin) to place the last item before the first item, or the place the first item to last in the list, so that each item would drop (or gain) a position…something that would rotate automatically, by # of hours or days (without “resetting” at each page load). My goal is to have the list rotate, to give each listing the opportunity to be at the top, without having to manually change the list order every day.
i.e.
day/hour 1=item order#1,2,3,4

day/hour2=item order#4,1,2,3

day/hour3=item order#3,4,1,2

day/hour4=item order#2,3,4,1

day/hour5=repeat