1
Good morning. I have a div that when clicked, opens a page. So far so good and is working.
Now how do I make so that when the user hovers over that DIV, appear a Popover with the message "To edit click here".
My code is like this:
<div class="card-body card-padding container editar">
meu conteudo xxxxxxxxxxxx
</div>
When I click on this div, I have a javascript that opens the page I want:
<script type="text/javascript">
$(document).ready(function () {
document.querySelector('.editar').onclick = function(){
window.location = 'http://minhapagina.com';
}
});
</script>
I’m sorry the silly question... how do I stop when I hover the mouse, pop up the?
Grateful
Amanda I gave you an answer using the standard component of Bootstrap3 that is in the tag of your question. But there are ways to do only with CSS also in the element :Hover
– hugocsl