popup modal for ads is added and some hyperlink need to be review
This commit is contained in:
26
popup.html
Normal file
26
popup.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Fancybox Simple Example</title>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" media="screen">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>This is my wordpress project</h1>
|
||||
|
||||
<a href="./assets/image/man.png"
|
||||
rel="lightbox"
|
||||
id="popup"
|
||||
style="display:none">popup image</a>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#popup").fancybox().trigger('click');
|
||||
});
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user