Created
June 24, 2013 18:35
-
-
Save vinayprajapati/5852343 to your computer and use it in GitHub Desktop.
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - BLACK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- DO NOT REMOVE OR MODIFY THIS CODE BEYOND PERMISSIONS. RESPECT DESIGNER, RESPECT DMCA. | |
Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect - WHITE | |
Source Url: http://www.techprevue.com/2013/06/google-add-to-circles-followers-popup.html | |
This widget is distributed under cc license - BY-NC-ND INT. No-derivatives Allowed. | |
jQuery Colorbox Credit: http://www.jacklmoore.com/colorbox/ | |
Please keep intact this copyright notice if you are using or distributing this widget on your website/site/blog. --> | |
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script> | |
<script src="http://techprevue.googlecode.com/files/jquery.colorbox.min.js"></script> | |
<link rel="stylesheet" href="http://techprevue.googlecode.com/files/colorbox-white1.css" type="text/css" /> | |
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
if (document.cookie.indexOf('visited=true') == -1) { | |
var setDays = 1000*60*60*24*30; | |
var expires = new Date((new Date()).valueOf() + setDays); | |
document.cookie = "visited=true;expires=" + expires.toUTCString(); | |
$.colorbox({width:"440px", height:"450px", inline:true, href:"#tP"}); | |
} | |
}); | |
</script> | |
<div style="display:none"> | |
<div id="tP" style="background:#fff;position:scroll;z-index:99999999"> | |
<div style="text-align:center;padding-top:15px"> | |
<h2 class="tP">Subscribe all latest updates via Google+</h2><br/> | |
<div class="g-plus" data-action="followers" data-height="300" data-href="https://plus.google.com/103741144523748761550" data-source="blogger:blog:followers" data-width="350"> | |
</div> | |
<p style="font-size:xx-small"><a href="http://www.techprevue.com/2013/06/google-add-to-circles-followers-popup.html">Google+ Add to Circles/ Followers Popup Widget with Lightbox Effect</a></p> | |
<!-- DO NOT REMOVE OR MODIFY THIS CODE BEYOND PERMISSIONS. RESPECT DESIGNER, RESPECT DMCA. --> | |
</div></div></div> | |
<style> | |
#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxOverlay{position:fixed;width:100%;height:100%;background:#000}#cboxMiddleLeft,#cboxBottomLeft{clear:left}#cboxContent{position:relative;margin-top:20px;background:#000}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch;border:5px solid #000;background:#fff}#cboxTitle{margin:0;position:absolute;top:-20px;left:0;color:#ccc}#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0;background:#fff}#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#colorbox{outline:0}#cboxError{padding:50px;border:1px solid #ccc}#cboxCurrent{position:absolute;top:-20px;right:0;color:#ccc}#cboxLoadingGraphic{background:url(//goo.gl/YBXu4) no-repeat center center}#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active{outline:0}#cboxSlideshow{position:absolute;top:-20px;right:90px;color:#fff}#cboxPrevious{position:absolute;top:50%;left:5px;margin-top:-32px;background:url(//goo.gl/2te5t) no-repeat top left;width:28px;height:65px;text-indent:-9999px}#cboxPrevious:hover{background:bottom left}#cboxNext{position:absolute;top:50%;right:5px;margin-top:-32px;background:url(//goo.gl/2te5t) no-repeat top right;width:28px;height:65px;text-indent:-9999px}#cboxNext:hover{background:bottom right}#cboxClose{position:absolute;top:5px;right:5px;display:block;background:url(//goo.gl/2te5t) no-repeat top center;width:38px;height:19px;text-indent:-9999px}#cboxClose:hover{background:bottom center} | |
</style> | |
<!-- DO NOT REMOVE OR MODIFY THIS CODE BEYOND PERMISSIONS. RESPECT DESIGNER, RESPECT DMCA. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment