Jump to content

vitalnet

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vitalnet

  • Rank
    Newbie
  1. I posted my question / bug report separately to stackoverflow and got two helpful answers, one of which seems to work correctly on cross-browser testing. I did multiple tests with with four recent desktop browsers, with iphone safari browser, and with android chrome, and have concluded that the following modification of the change_button function (from the original post) gets rid of the persistent tooltip, at least with my tests: function change_button(button_id, bool_val) { var button_obj = document.getElementById(button_id); button_obj.disabled = bool_val; if (bool_val) {
  2. Could you please run the following html test case, to help figure out how to make bootstrap 4 tooltip go away when a button is disabled while the tooltip is over the button? All the details concerning my question are in the source code for display when the HTML is displayed. Any help appreciated. Thanks <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 4 Tooltip Persists, Looks Terrible</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/h
  3. I decided to just insert data-html=true into the HTML code. Thanks
  4. I can enable all bootstrap 4 tooltips with: $('[data-toggle="tooltip"]').tooltip(); I can add trigger option as follows: $('[data-toggle="tooltip"]').tooltip({trigger:'hover'}); How do I use several options? I want to enable all tooltips with both trigger:'hover' and html:true options. I tried some things, but it did not work. I know I could insert data-html=true into the HTML code, but it seems better to enable all the tooltips in one place. Thank you
  5. Thanks for the replies. Again, I find shifting all the following text jarring. To me, that is "somewhat obtrusive". It breaks up the main text. And everything shifts. I would not call it a "bug", because it seems to work exactly as designed. But I would suggest it might be the wrong design. Again, to me (and in common usage) a tooltip is a bubble or callout. Again, when entering text into the editor for the w3schools forum, you can hover over the text entry area and see "Enter your text..." as a little box that unobtrusively appears. That is a tooltip. Nothing is shifted. Maybe my comment migh
  6. I'm disappointed not to hear anything back. If I need to clarify my question, please let me know. I thought it was a clearly expressed and helpful post. But beggars cannot be choosers. 😊 In any case, thanks for the incredibly great w3schools website. I have learned a lot through the excellent tutorials and references. And maybe I will eventually hear back.
  7. I have been going through the w3.css documentation and see many things I like. However, the tooltip https://www.w3schools.com/w3css/w3css_tooltips.asp page is different from what I expected. To me, a tooltip is as described on https://en.wikipedia.org/wiki/Tooltip - when you hover over (mouse over) an item a bubble appears with some text in it. Even when writing this post, there is a tooltip saying "Enter your text". But when I hover over "is the capital" in the w3.css tooltip "London is the capital" example, the text "(9 million inhabitants)" instead pushes the following text to the right to
  8. How popular is w3.css framework currently? In other words, about what percent of websites use it? w3.css seems good, and I like w3schools a lot. Thanks
×
×
  • Create New...