Currently using bootstrap.min.js in my share point slider web-part.

i have custom property "Speed" ,trying to control speed of carousel from code behind

how to do it?

  • Please update your question with what you have done so far, Your question doesn't fit here properly. – Pradip R. Jun 8 '15 at 5:28

Some R&D ,find solution for solution click here

Data Attributes Method Add data-interval="3000" to your carousel div like this.

<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="3000">

If you are using bootstrap carousel, then you need to provide the data-interval attribute on your main carousel div to change the speed of carousel. Ex.

<div id="my-carousel" class="carousel slide" data-interval="3000" data-ride="carousel"></div>

Here the value 3000 is in msec.

If you are not using bootstrap carousel, then specify more details what exactly you have done so far.

  • have you tried this? – Ganesh Sanap Nov 15 '18 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.