Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bego Mario Garde

    (@pixolin)

    Hello mdawg32,

    thank you for your feedback. According to the documentation, Bootstrap uses anchor tags for their accordion, which conflicts with the animation of this plugin. I’ll try to find a solution to exclude the Bootstrap anchors in a future release of the plugin.

    Best regards, Bego

    Thread Starter mdawg32

    (@mdawg32)

    Actually the solution is SUPER simple – just figured it out this morning.

    If you add

    $.noConflict();

    To the very beginning of the scroll-to-anchor.min.js file it fixes the problem.

    Any chance you could update the plugin with that?

    Thanks for your quick response too.

    Plugin Author Bego Mario Garde

    (@pixolin)

    Hello mdawg32,

    I just release an update of the plugin which adds a settings field in which you can set CSS classes of sections, that should be excluded. I think this is a cleaner way to handle the conflicts. I also added .accordion a[href*="#"] as an exception to handle the conflict with Bootstrap’s accordion. I hope that helps.

    Kind regards, Bego

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bootstrap Conflict’ is closed to new replies.