Monday, 4 March 2019

PopUp onload page

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example of Auto Loading Bootstrap Modal on Page Load</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myModal").modal('show');
});
</script>
</head>
<body>
<div id="myModal" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">POPUP TITLE HERE</h4>
            </div>
            <div class="modal-body">
<p><img src="https://aksharmty.in/hanuman.jpg"width="200px"height="250px">
<br>Visit AKSHAR MANTRA TANTRA YANTRA<br>
<br>look to Lord Hanuman Murti(statue) and pray to success<br>
and Complete your wish<br>
<b>Visiting fee 100% Free</b></p>
<form>
<input type="button" value="More Details"onclick="window.location.href='https://aksharmty.in/hanuman.php'"/>
</form>
            </div>
        </div>
    </div>
</div>
</body>
</html>                           

No comments:

Post a Comment