Giter Site home page Giter Site logo

Comments (7)

clu3 avatar clu3 commented on June 2, 2024

Hi @phillyp , you mean when there's already another popover on the page, the backdrop (modal) doesn't work? If it is the case, you can change the zIndex of the modal backdrop. Currently it is set to 1. (line 18, file bootstro.css)

I guess I should make it an optional parameter for bootstro as well when initializing the backdrop, in this line
$('

').appendTo('body');
in bootstro.js
Could you please do me a pull if you've made it? Many thanks

from bootstro.js.

phillyp avatar phillyp commented on June 2, 2024

@clu3 nah it's basically when you're using both your popover tutorial and a modal, the modal comes in but disappears immediately.

Here's an example of what I'm talking about - click "Take a tour" (does the popover tutorial) - but then the videos don't work.
http://iportservices.com/wellclubtest/docs/dashboard3popover.html

I got a JSFiddle started but couldn't get the popover tutorial working there for some reason:
http://jsfiddle.net/phillyp/HtxJd/26/

By the way - great work - this is exactly what I needed. If I get a fix for it I'd love to contribute.

from bootstro.js.

phillyp avatar phillyp commented on June 2, 2024

And actually if you could get the JSFiddle to go through the popover tutorial I know a few guys that could help us out if we get stuck. Cheers.

from bootstro.js.

clu3 avatar clu3 commented on June 2, 2024

@phillyp had a quick look, 2 problems with your code

  1. You use $ & bootstro before jquery is included. Pls either put js src files at the top of the files or the js code at the bottom, after jquery , The latter is prefered
  2. Those lines are probably not needed if you only trigger the intro via a click button
<!--Boostro Introduction popover walkthrough -->
<script type='text/javascript'>
$(document).ready(function(){
        bootstro.start(demo, options);
      });
</script>

from bootstro.js.

clu3 avatar clu3 commented on June 2, 2024

I removed the following js bits in your fiddle and the code works fine

/* Boostro Introduction popover walkthrough */
$(this).ready(function(){
bootstro.start(demo);
});
Working version : http://jsfiddle.net/HtxJd/28/

from bootstro.js.

phillyp avatar phillyp commented on June 2, 2024

Awesome! Thanks a million and again - great work.

For any others that run into this issue, make sure to remove bootstrap-modal.js too.

from bootstro.js.

clu3 avatar clu3 commented on June 2, 2024

@phillyp my pleasure. Thanks for ur complement

from bootstro.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.