Auto load pop up Facebook like box
How do I make an auto load pop up facebook like box?
By ibrahimjabbari.com. What is a auto load pop up facebook like box? How do you make a auto load pop up facebook like box? This script and codes were developed by Ibrahim Jabbari on 12 August 2022, Friday.
Auto load pop up Facebook like box - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Auto load pop up Facebook like box</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="ij-box">
<div style="top: 199.5px; left: 551.5px; display: none;" id="dialog" class="window"> <a href="http://ibrahimjabbari.com"><strong>Join us</strong></a> and recive updates via Facebook
<a href="#" class="close"><img src="http://ibrahimjabbari.com/english/images/ij-close.png"></a> <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FIbrahimJabbariBlog&width=575&height=258&colorscheme=light&show_faces=true&header=false&stream=false&show_border=false&appId=160446860688696" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:575px; height:212px;" allowTransparency="true"></iframe>
</div>
<!-- Mask to cover the whole screen -->
<div style="width: 100%; height: 100%; display: none; opacity: 0.8;" id="mask"></div>
</div> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js'></script> <script src="js/index.js"></script>
</body>
</html>
Auto load pop up Facebook like box - Script Codes CSS Codes
body {
font-family:Arial, Georgia, verdana;
font-size:12px;
}
.close {text-decoration:none; float: right;}
.close:hover {opacity:0.4;}
#mask { position:absolute; left:0; top:0; z-index:9000; background-color:#ded5f0; display:none;
}
#ij-box .window { position:absolute; left:0; top:0; width:570px; height:245px; display:none; z-index:9999; padding:20px; -moz-box-shadow: 0 0 5px 5px #9285ae;
-webkit-box-shadow: 0 0 5px 5px#9285ae;
box-shadow: 0 0 5px 5px #9285ae; text-align:center;
}
#ij-box #dialog { width:570px; height:245px; padding:10px; background-color:#ffffff;
}
/* Read more: Ibrahimjabbari.com
Auto load pop up Facebook like box - Script Codes JS Codes
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() { var id = '#dialog'; //Get the screen height and width var maskHeight = $(document).height(); var maskWidth = $(window).width(); //Set heigth and width to mask to fill up the whole screen $('#mask').css({'width':maskWidth,'height':maskHeight}); //transition effect $('#mask').fadeIn(1000); $('#mask').fadeTo("slow",0.8); //Get the window height and width var winH = $(window).height(); var winW = $(window).width(); //Set the popup window to center $(id).css('top', winH/2-$(id).height()/2); $(id).css('left', winW/2-$(id).width()/2); //transition effect $(id).fadeIn(2000); //if close button is clicked $('.window .close').click(function (e) { //Cancel the link behavior e.preventDefault(); $('#mask').hide(); $('.window').hide(); }); //if mask is clicked $('#mask').click(function () { $(this).hide(); $('.window').hide(); });
});
Developer | Ibrahim Jabbari |
Username | ibrahimjabbari |
Uploaded | August 12, 2022 |
Rating | 3 |
Size | 2,762 Kb |
Views | 26,312 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
IbrahimJabbari-Effect14 | 1,919 Kb |
CSS3 Paper Folding Effect | 3,037 Kb |
IbrahimJabbari-Effect11 | 1,799 Kb |
IbrahimJabbari-Effect13 | 1,833 Kb |
Sample of various effects with CSS3 and Web Fonts | 1,923 Kb |
Responsive Menu Using Trunk.js | 37,723 Kb |
Responsive Email Subscription Widget for Feedburner | 2,606 Kb |
IbrahimJabbari-Effect17 | 1,902 Kb |
IbrahimJabbari-Effect10 | 1,892 Kb |
IbrahimJabbari-Effect20 | 1,998 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pure CSS Tooltip | APinix | 2,815 Kb |
Flexbox Grid - equal height | DaveOrDead | 2,855 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
Save for later... | Victorfreire | 1,359 Kb |
Loading animation with css | Icebob | 2,947 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Toggle menu | Seyedi | 2,279 Kb |
Layout 11 | Altynai | 1,690 Kb |
CSS Letter animations | Sladix | 2,116 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!