[How to] Add an Image/Testimonial Carousel in Unbounce Using A Box Widget



Show first post

241 replies

Userlevel 6

Hi @Esmeevant apologies for the delayed response here! I had a look at the page you sent to Les in support and it looks awesome! I was ready to hop in here with an answer for you and I checked the page and you had already gotten it setup, nice one!

For anyone else reading who is interested in the answers to these questions:
- Do they all need a different box?
Nope! Each element just needs to be nested inside the main box the script is targeting. If you’d like to group elements to have them all appear on click together (image and a link perhaps) you can do so by nesting them in a box…and then nesting that box in the main box…#boxception

- I don’t want the section as big as the 10 images standing side by side. I want it to be as big as one image and some space around. You know what I mean? How to manage that?
I do know what you mean yep! You can layer the elements (images in this case) on top of each other in the main box. The script will hide them all but one at a time and automatically centre them. So you don’t need to worry about where they are positioned in the box either, just as long as they are nested inside of it. With chaos comes order.

· I’ve added the script to click through the images, but I think the auto swap script has an instruction to wait 2 seconds. Where do I delete that? (sorry, not yet a javascript pro)
No need to be a javascript pro and there is only one way to learn anyway, and that’s to get your hands dirty. The auto cycle script does have a 2 second delay by default. That can be edited using the 'var time = ’ line in the script. Don’t delete it though or things could break. If you need to cycle the elements on click just grab the second version of the script built specifically for that purpose below the auto cycle one in this post 🙂

@Rob,

thanks for this topic. I am working on this carrousel but still have some questions.

I want to slide 10 images of the same size. Only difference of these images is the text in the middle. I’ve uploaded the box widget page. But still have some questions:

Where do I place them:
· Do they all need a different box?
· I don’t to be the section as big as the 10 images standing side by side. I want it to be as big as one image and some space around. You know what I mean? How to manage that?
· I’ve added the script to click through the images, but I think the auto swap script has an instruction to wait 2 seconds. Where do I delete that? (sorry, not yet a javascript pro)

Regards, Esmee

Userlevel 6

Hi @ilnp Apologies for my late reply here. I had a look and I think the page looks great! (I should add the caveat here that I’m not a designer)

I do think that the testimonials are a great use case for this script though. If it’s ok with you I’d love to take a crack at helping you set it up and get it working on the page. I’ll shoot you a direct message once I’ve got something for you.

Hi Rob, I managed to complete the page without the slider since I could not wait for an answer, but thanks for replying. Initially, I wanted to make portfolio pictures, not in the headline but in the Testimonials section to test whether its a conversion killer. However, I would appreciate if you could glance the page and give a few quick comments http://get.breezyhillmarketing.com/wordpress-website-services/

Thanks!

Userlevel 6

Hi @ilnp Happy to take a look for you. Could you share the page URL with me and I’ll see what’s going on.

Hi Rob,

could you please help me with the integration of jQuery? Whenever I paste it into Scripts Unbounce warns me of an error in the script and the Carousel implementation does not work (tried uncompressed and minified). Thanks

Badge

Thanks Rob. It is working great now! Thanks for the quick response!

Userlevel 6

hi @icecoldmn Thanks for bringing this to my attention! It looks like the community post here had stripped out the closing script tag for the jQuery cdn link. I’ve updated the post with a link to the actual CDN page so the issue won’t happen again.

I see you sent in a Support ticket, my colleague Mirage fixed the page for you and it should be working now.

In re: to mobile the script will work in the same way with the mobile version of the page 🙂

Badge

Rob- this is great and comes at a perfect time for us. Thank you.

Any idea what we are doing wrong here? http://try.btelearning.com/one-test/

The carousel works wonderfully, but adding the javascript to the page strips the font properties for the entire page. This happened on both pages I have tested.

Also, does the carousel work on mobile devices.

Thanks again!

Userlevel 6
Badge +1

Ok, this is seriously SEXY 😍

https://s-media-cache-ak0.pinimg.com/564x/bc/47/da/bc47da0346a094fbafce3e92783dcfb1.jpg

Userlevel 6

I just sent you a DM with the fix for your page 🙂

There was a hidden image causing the delay.

@Rob

Hi Rob, great stuff. It works great however in my case there’s an awkwardly long pause before the cycle restarts and in your example it switches back instantly. Is there a certain value I have to put in the code to fix that?

Would you mind taking a look here - http://trial.teensafe.com/heels-sliders/
I moved the fade section to the top so you don’t have problems finding it.

Also, I noticed that step 3 is missing “” piece, for someone who has coding experience that would obvious but it took me a second to figure out that portion too haha

Can’t wait to try out this awesome script, thanks a lot! It’s a pain point many of our clients have - wanting more options for image slideshows, etc. So thank you!

You should have just vanished after you wrote this:

Awesome, @Rob - can’t wait to see what comes up with this.

I am not going to do it though, unless I just want to show off. Don’t want to hurt any chances of the meager conversions that do come in 🙂

Maaaan… I ❤️ you, @Rob.

Userlevel 7
Badge +1

Awesome post @Rob! Can’t wait to see how people implement this! :gif_master:

Reply