@CrocoDillon I was talking with @jamy_za privately and I think we came up with a decent solution. I’m going to load in all my articles and use a jQuery Carousel for the functionality. I need to do a few tweaks to make it work exactly how I want it to but here it is: http://chrisburton.me/dev/
@hugogiraudel Initially I wanted to use Ajax but ran into a minor problem that I personally couldn’t solve. Oh and couldn’t recall the name of the carousel functionality until @yeeyang pointed it out.
I’m running into one small problem with the carousel. When sliding to the previous items (right arrow), it will load back in the beginning article (see after getting to article 1, it shows 7 and 6 after it). I’d rather it just show the last article (1) and then have to click the left arrow to get back to the beginning. Any ideas?
Would anyone mind helping me create a lightweight content slider from scratch? I can’t find one that fits what I need it to do.
Basically I want it to just show 3 articles and slide to the next set. Soo, if I have 7 content blocks, it should do this:
3 blocks -> (slide) -> 3 blocks -> (slide) -> last block
Most content sliders will do this:
3 blocks -> (slide) -> 3 blocks -> (slide) -> last block + first 2 blocks
So it slides 3 blocks twice and adds two of the beginning blocks on the last one. This is not ideal nor what I’d like. It’s been quite frustrating that I can’t seem to find one that doesn’t do what I explained in the second example.
I took the liberty to upload the content to CodePen in case anyone would like to help. I also renamed the title.
You must be logged in to reply to this topic.