Using Bootstrap's popover .
But I can only see popover when I click it, but I want to float it right away if I raise the mouse (hover.
I think the document says it's possible with hover, but I don't know how to use it. How do I squeeze it?
bootstrap javascript jquery
<a id="popover" data-trigger="hover">Popover</a>
You can put hover instead of click in the data-trigger.
Or you can write it in JavaScript as below.
$("#popover").popover({ trigger: "hover" });
For more information, see Demo page .
© 2024 OneMinuteCode. All rights reserved.