I have this Popover
and I would like that when loading the page it was opened, and only closed after the user clicked on Entendi
ThecodeI'musingisthisScript
:
$(document).ready(function(){//Associaoeventodopopoveraoclicarnolink.$('#Responsivo').popover({//trigger:'manual',placement:'bottom',html:true,title:'Oqueéumsiteousoftwareresponsivo?',content:$('#div-popover').html()//Adicionaoconteúdodadivocultaparadentrodopopover.}).click(function(e){e.preventDefault();//Exibeopopover.$(this).popover('show');});});
thetextofTag
:
<h4><b>CriaçãodeSiteseSoftwares<spanid="Responsivo" >responsivos</span>:</b></h4>
and this Modal
to Popover
:
<div id="div-popover" class="hide">
Dizer que um site ou um software é repsonsivo, indica que ele pode ser utilizado em computadores, tablets, tvs e celulares smartphones. o conteúdo do seu site, se ajusta de acordo com a tela do disposivo.
<br /><br />
<button id="close" class="btn btn-primary">Entendi</button>
</div>
I tried to do script
that made hide
in div
, but it did not roll, I believe that div
is only being displayed in Popover
, so I would have to close Popover
and not div
.
$('#close').click(function () {
$('#div-popover').hide();
});