New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add data-original-content and data-original-title #92
Comments
hi rmalenko, i'm sorry, i personally don't really understand the question. the reason why bootstrap swap the attribute title to data-original-title is because browsers create native tooltips and they would interfere with the custom popover/tooltip shown. |
Hi LostCrew, Our developers use Kohana. I made a lot of popover to use bootstrap. Popover have options data-content= which can be used in html. Exsample: Unfortunately I can't add this code
I should write additional method for translate and insert into bootstrap tour although use data-content= from html code may be simple way. |
You could just simply inject it in the constructor that way: tour.addStep({
element: "#example",
title: $("#example").data("original-title"),
content: $("#example").data("content")
}) |
Hi!
May you add possibility to use 'data-original-content' and 'data-original-title' like bootstrap options?
I think it make more simply to use a translation method in html for multilingual sites.
Regards,
Rostyslav
The text was updated successfully, but these errors were encountered: