Code

Discussion on Strapslide - Responsive Bootstrap Slider Plugin

Discussion on Strapslide - Responsive Bootstrap Slider Plugin

By
Cart 403 sales

Grozav does not currently provide support for this item.

58 comments found.

This module works as iframe in Joomla? tks

I have not tried implementing it in Joomla. However, it does work as an iframe without any problems (as you can see from the envato Live Preview).

Thank you in advance for purchasing!

Hello,

Is there a way to customize the pagination to links on the page.

I have 3 boxes with text on them that I would like each to go to the appropriate slide?

Thanks so much!

I think the problem is that the buttons have repeating ID’s (there are 2 x buttonID1 and 2 x buttonID2). Can you try by using classes?

$(".button1").click(function(e){
    gotoslide(index);
    e.preventDefault();
});
$(".button2").click(function(e){
    gotoslide(index);
    e.preventDefault();
});

If that doesn’t work, try putting the code above after the definition of the gotoslide() function.

Enjoy!

:) Yeah 2 ID’s may bad. I changed to classes and that worked. Thanks for your help. This is an amazing slide show thanks for your work!

You’re welcome, Jared! I’m planning an update to make it even more efficient in the near future! :)

Clicking the next/prev button or one of the pagination links make the page jump back to the top. I fixed this by adding:

e.preventDefault();

to the click functions in the code. Please add this to the next update since this is very basic click functionality code suggested by jQuery.

Thank you for the advice. I will do that indeed.

Can you highlight the differences between BootSlider and StrapSlider? Also, how exactly is it based on BootStrap? I see you are using some of the BootStrap CSS classes in your markup like ‘hidden-xs’ and ‘text-center’ but it seems to me any slider could do that. What makes your sliders better for BootStrap? Thanks!

Bootslider uses preset CSS3 animations from a file and is coded through Object Oriented Javascript.

Strapslide is using animate.js to create on the fly CSS3 animations with jquery, therefore it doesn’t have any presets and animations are created using keywords.

The sliders are based on bootstrap because it is completely bootstrap friendly. The sliders don’t generate the controls VIA jQuery, therefore you can use any bootstrap class to create your control elements and you can also change the order, unlike other sliders.

It’s better for bootstrap because it was created to be completely compatible with it. You can use containers, columns and everything related to bootstrap inside the slider, which allows relative positioning with the responsive bootstrap functionality.

Let me know if you want to know anything else. Thank you for your interest!

Hi can it (in full width mode) includes a centerde line of thumbnails that auto move to left when you click, so let shows the next one?

can the thumbs be a combination of text and image?

Hi enriquetortosa, Strapslide does not support generated thumbnails at the moment. They will be available in a future update. If thumbnails are required, you can check my newest plugin: Bootslider, which has automatically generated thumbnails.

Hello

I am having a problem with the slider showing the images in: – IE 7, the entire window freezes – IE10+; FF (as far back as ver 3.6), runs through the slider but no images appear.

Works fine in Chrome and Safari.

Not sure what part of the code to show you to find a fix.

Unfortunately IE7 support has been dropped due to the really low usage statistics. People usually have IE8 or above. As for FF and IE10, can you send me a screenshot via email? There shouldn’t be any problems there.

Hello, I have some problems with slide-content :
<div class="slide-content container-fluid">
  <div class="row-fluid" data-top="10%" id="slide1_content">
    <div class="col-md-4 col-md-offset-8">
      <h2 class="text-right">The text</h2>
    </div>
  </div>
</div>
I load bootstrap v3.0.3 It’s ok on Firefox, but Chrome don’t seem to understand col-md-4 col-md-offset-8 in the strapslide. Same pb with width=”100%” on all the And when I replace

Hi, thanks for your reply. Your solution works on ie, ff and chrome only when I remove data-top=”10%” in the

Try setting the css manually like this:

<div class="col-md-12 text-center" style="position:absolute; top:10%;">
      <h2>The text</h2>
</div>

or alternatively use some br tags with bootstrap responsive markup

<div class="col-md-12 text-center">
      <span class="hidden-xs"><br /></span>
      <br />
      <h2>The text</h2>
</div>

It’s ok with

<br />
. Thanks.
Hello, I have some problems with slide-content : <div class="slide-content container-fluid"> <div class="row-fluid" data-top="10%" id="slide1_content"> <div class="col-md-4 col-md-offset-8"> <h2 class="text-right">The text</h2> </div> </div> </div> I load bootstrap v3.0.3 It’s ok on Firefox, but Chrome don’t seem to understand col-md-4 col-md-offset-8 in the strapslide. And when I replace

Hello! I really enjoy this slider! Thank you for making it easy to update.

Hi I am not sure I follow. I changed the main container to 100%. Each slide already has a container class.

div class=”slide-content container”

Can you send me a live demo to understand the problem exactly and to give you a solution in a coded form?

Dear AlexGrozav,

Thank you for this slider.

Could you tell me how is possible to stop the loop? I would like the slider stop and stay on the last image slide.

Thank you ;) Patrick

In the strapslide.js file you will have to edit the following:

1. Search for the following line at the autoplay section.
if (count >= settings.timeout / 100)
2. Replace with:
if ((count >= settings.timeout / 100) && ( $current < $slides.length - 1 ) )

I haven’t tested it, but it should do it. Let me know if you’re having troubles.

Hello! – great slider.

I have quite a crazy question – is there a way to remove the responsiveness (auto sizing option)... I need to use this with very specific positioning – which works great until I view on mobile or change browser size … so, would like to remove the responsive fluid layout.

All you need to do is to set the following parameter on the plugin call:
responsive: 'none'

Enjoy! :)

Hello,

Do you have documentation for slidestrap for bootstrap 3?

And I dont found the css files that compatible with bootstrap 3 except the default one.

Seems you claimed slidestrap is compatible with bootstrap 3, please update EVERYTHING to bootstrap 3 as well. Otherwise, people will get confused.

Thanks

Hi!

I’ll provide an update for the Bootstrap 3 themes soon. Thank you for purchasing!

Thanks for reply.

One more thing, when I use responsive = resize, the slider only resize the background image. Is there any way to resize other elements such as text, control buttons, pagination etc as well?

Thanks

To resize the other elements you will have to use media queries in CSS. Here’s an example on how to do that:
@media screen and (max-width: 767px){
    #strapslide h1{
       font-size: 16px!important;
    }
}

I noticed the sample slider for bootstrap 2 was full width, but the sample for bootstrap 3 is not. I only want full width for my slider, but I HAVE to work with bootstrap 3. Is Strapslide going to be capable of that?

Yes, of course.

Bootstrap 3 removed the default container-fluid and row-fluid, but if you want that, all you need is to set your strapslide container and row to 100% width.

Great work, Alex! Is there any chance of a WordPress plugin?

Thank you savalina!

Maybe in the near future I will create a WordPress Plugin. Glad you like it! :)

Thanks for the slider! This is EXACTLY what I have been looking for… Great work!

Thank you! Really happy to know you like it!

Also, thank you for the rating.

Alex

Great slider. Just one request that would make it 5 stars for me. How do I make videos scale to the full width as well as the height. What I need is the height to be 100% and then centre on the width and crop the sides. I currently get black bars to the sides.

Thanks

Brian

Hi Brian,

First of all, thank you very much for purchasing Strapslide!

The issue you have can be fixed really easily. The problem is related to the Youtube Player API.

Here’s a link which explains how to do any of the things you want with the embedded video: http://www.reelseo.com/youtube-aspect-ratio/

The parameters are added in your youtube video’s tag list. This happens because youtube used to have a 4:3 ratio and now it has a 16:9 ratio.

The black bars are added by youtube due to ratio difference, not by the slider plugin.

Thank you in advance for your rating, really appreciate it!

Best regards,

Alex GROZAV

I do not understand why I got a rating with only 2 stars. If there’s a major problem with my slider, please write a comment with a serious feedback / issue.

Thank you!

http://www.kcpnow.com/kcp/home.htm

When you click on the nav buttons it makes the page jump back to top of page…is there a way to stop this?

You can replace the anchor tags of the controls with div tags like this:
<a href="#" class="next"></a>

To be replaced with:

<div class="next" />
or
<a class="next" style="cursor:pointer;"></a>

for a quick fix. Hope it helps.

Thanks…that should be the default.

You’re right. I’ll change that as soon as possible.

Hi, Your plugin is awesome and works great. However, I’m encountering 2 “issues” I need answer on how to fix it. I’m using bootstrap 3.

First, in the documentation, it says that setting the strapslide-container height will set the height for us. It’s not working, the height is set depending on the pictures height. I did it and it works but I’d rather have a fix height with the overflow hidden for example. Hard coding the height works also but once in mobile device, the height is not changing and the render is horrible. And I dont feel like using some hack with Js in order to change that.

Second, the “slide-content container”, is not set into my container, but on the left of the screen. Inspecting this on google chrome tools, I saw that “slide-content” is in absolute position, which cancel the “container” property. How to do in order to have the content display within my container regions?

Thanks a lot

Hey hackspider! For the first issue, you will have to set the responsive mode to

responsive: 'none'
in order to stop resizing with respect to images.

This way, it will maintain the height you set via CSS (you can also make it responsive with media queries), and the background will always cover the container.

Can you send me a demo with the second issue so I’ll know what to suggest?

Thank you for your interest!

Hi there :) Great stuff, but i have a question.
I need the fullscreen slider, where can i see any info about this option? Can’t find it. Thanks!

Hey, here’s the simplest way to achieve what you’re looking for:

  • Set the responsive mode to none in the slider settings:
  • responsive: 'none'
  • Add the following jQuery script:
  • $(window).resize(function(){
        var winheight = $(window).height();
        $('#strapslide .strapslide-container').height(winheight);
    });
  • Remove padding where needed
  • Remove/Override min-height of span class.

Let me know if you have any problems. Thank you for purchasing, would also appreciate a good rating. Enjoy!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey