<a href="http://google.com">Link</a>
How can I open this link in a pop-up window? And prevent the browser to block it
<a href="http://google.com">Link</a>
How can I open this link in a pop-up window? And prevent the browser to block it
Mine is working properly
<style>
td,
th {
border: 2px solid rgb(190, 190, 190);
padding: 20px;
}
td {
text-align: center;
}
tr:nth-child(even) {
background-color: #eee;
}
th[scope="col"] {
background-color: #696969;
color: #fff;
}
th[scope="row"] {
background-color: #d7d9f2;
}
caption {
padding: 20px;
caption-side: bottom;
}
table {
border-collapse: collapse;
border: 2px solid rgb(200, 200, 200);
letter-spacing: 2px;
font-family: sans-serif;
font-size: 1.5rem;
}
JS BELOW
</style>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
Script below
<script>
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
</script>
Code
echo "<td><ul class='list-inline'>";
echo "<li><a href=# title=Increaseby".$d."% ".$h."% ".$k."% data-toggle=popover data-placement=top data-content=".$p4." ".$p6." ".$p8.">View Increase</a></li>";
echo "</ul></td>";
Try This Hopefully it will resolve your issue