sorich87 / bootstrap-tour

Quick and easy product tours with Twitter Bootstrap Popovers
http://bootstraptour.com
MIT License
4.43k stars 941 forks source link

No text and title #733

Open asprunger opened 4 years ago

asprunger commented 4 years ago

Hi ! I'm using BootstrapTour V.0.12.0 and i'm having an issue with the title and text of the popover, it doesn't display. Here is how i implement my tour : var tourCollaborateur = new Tour({ name: "tourCollaborateur", steps: [ { element: ".intro-collaborateur[data-step='1']", title: "MY TITLE", content: 'MY CONTENT.' } ] });

And I start it : tourCollaborateur.start();

IGreatlyDislikeJavascript commented 4 years ago

Tour doesn't support jQuery selectors, you may only provide a DOM id as string literal to the element option.

Try my fork Bootstrap Tourist .

It's a drop in replacement for Tour, and accepts a function returning a jq object for the element option.