More than one slide on a site? - Post...

User 2846109 Photo


Ambassador
341 posts

Is there anything we need to look out for if we plan to use more that one slider on a site? They may be on the same page, but might be on separate pages.

I've made sure that all the classes and IDs are unique. Would we paste in the code for each slider in the head area if there are more than one slide on a page?

Anything specific to be on the look out for issues?

This would be in RBB if that matters.

Thanks!
Jeff
http://www.pixelandpoly.com/ (built with Bootstrap Builder)
Video Tutorials - https://www.youtube.com/channel/UCQMcF0 … EKA/videos
The Universe from A to Z - https://universeatoz.com/ (built with Foundation Framer)
User 103173 Photo


VP of Software Development
0 posts

Go into the Settings and for Slider ID, give it a unique name. Something like top-slider, bottom-slider etc. This will then keep all your sliders separate and prevent any conflicts.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2846109 Photo


Ambassador
341 posts

Thanks Scott. I'll do that!
http://www.pixelandpoly.com/ (built with Bootstrap Builder)
Video Tutorials - https://www.youtube.com/channel/UCQMcF0 … EKA/videos
The Universe from A to Z - https://universeatoz.com/ (built with Foundation Framer)
User 307522 Photo


Registered User
14 posts

Hi, I have 2 simple sliders ( named TopSlider and BottomSlider in slider ID field ). Individually they work fine but when both on the same page there is a conflict ..... the second slider just 'blinks' between slides opposed to desired animation effects.This is the code I have put in the header as per instructions. Is there anything I am missing...? :)

<!--% Start of the headers for CoffeeCup Responsive Content Slider %-->
<link href="TopSlider/css/slideshow.css" rel="stylesheet">
<script>document.createElement( "picture" );</script>
<script src="TopSlider/js/picturefill.js" class="picturefill" async="async"></script>
<link rel="stylesheet" href="TopSlider/css/main.css">
<script src="TopSlider/js/jquery-1.8.2.min.js"></script>
<script src="TopSlider/js/revolver.min.js"></script>
<script src="TopSlider/js/slideshow.js"></script>
<!--% End of the headers for CoffeeCup Responsive Content Slider %-->


<!--% Start of the headers for CoffeeCup Responsive Content Slider %-->
<link href="BottomSlider/css/slideshow.css" rel="stylesheet">
<script>document.createElement( "picture" );</script>
<script src="BottomSlider/js/picturefill.js" class="picturefill" async="async"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Martel+Sans">
<link rel="stylesheet" href="BottomSlider/css/main.css">
<script src="BottomSlider/js/jquery-1.8.2.min.js"></script>
<script src="BottomSlider/js/revolver.min.js"></script>
<script src="BottomSlider/js/slideshow.js"></script>
<!--% End of the headers for CoffeeCup Responsive Content Slider %-->
User 187934 Photo


Senior Advisor
20,181 posts

Hi Will,
Try removing the bottom jquery link
<script src="BottomSlider/js/jquery-1.8.2.min.js"></script>

There may be other conflicts but try that first.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 307522 Photo


Registered User
14 posts

Hi Eric, thanks for your reply. I tried as you said but still no joy.... :/
User 187934 Photo


Senior Advisor
20,181 posts

Can you Share a link?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.