coisas de timbauba


SUBMITTED BY: xandinho

DATE: Sept. 11, 2016, 8:01 p.m.

FORMAT: Text only

SIZE: 3.6 kB

HITS: 3111

  1. <!-- jquery popup facebook like box com timer -->
  2. <style type='text/css'>
  3. #popup{
  4. position: fixed;
  5. top:100px;
  6. z-index:9999;
  7. display:none;
  8. padding:0px;
  9. right:600px;
  10. border:10px solid rgba(82, 82, 82, 0.7);
  11. -webkit-background-clip: padding-box; /* for Safari */
  12. background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
  13. -webkit-border-radius:8px 8px 8px 8px;
  14. -moz-border-radius:8px 8px 8px 8px;
  15. border-radius:8px 8px 8px 8px;
  16. width:400px;
  17. height:360px;
  18. overflow:hidden;
  19. }
  20. #popup span{
  21. font-size:20px !important;
  22. font-weight:bold !important;
  23. }
  24. #popup h1{
  25. background:#6d84b4 url(http://4.bp.blogspot.com/-rNUTIpDQ21s/T0NqE_vv6GI/AAAAAAAACps/GSoWE2n9Oy8/s1600/%255Bwww.gj37765.blogspot.com%255Dh1.png) 98% no-repeat;
  26. border:1px solid #3b5998 !important;
  27. color:#FFFFFF !important;
  28. font-size:20px !important;
  29. font-weight:700 !important;
  30. padding:5px !important;
  31. margin:0 !important;
  32. font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
  33. overflow:hidden !important;
  34. }
  35. .htmlarea{
  36. font-size:12px !important;
  37. font-weight:normal !important;
  38. height:265px !important;
  39. padding:1px !important;
  40. background:#fff !important;
  41. border-bottom:2px solid #ddd;
  42. overflow:hidden !important;
  43. }
  44. #mdfooter{
  45. text-align:left;
  46. background:#F2F2F2 !important;
  47. height:56px !important;
  48. padding:10px 10px 10px 10px !important;
  49. overflow:hidden !important;
  50. }
  51. #mdclose{
  52. float:right;
  53. background-color:#eee !important;
  54. border:1px solid #ccc !important;
  55. color:#111 !important;
  56. font-weight:bold !important;
  57. padding:5px 8px 5px 8px !important;
  58. text-decoration:none !important;
  59. display:inline-block !important;
  60. font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
  61. outline:none !important;
  62. position:relative !important;
  63. font-size:18px !important;
  64. margin:1px !important;
  65. }
  66. #mdclose:active{
  67. top:1px;
  68. left:1px;
  69. }
  70. </style>
  71. <script type='text/javascript'>
  72. jQuery(document).ready(function() {
  73. function _ppopup() {
  74. var sec = 20
  75. var timer = setInterval(function() {
  76. $("#mdfooter span").text(sec--);
  77. if (sec == 0) {
  78. $("#popup").fadeOut("slow");
  79. clearInterval(timer);
  80. }
  81. },1000);
  82. var mdwh = jQuery(window).height();
  83. var mdpph = jQuery("#popup").height();
  84. var mdfromTop = jQuery(window).scrollTop()+50;
  85. jQuery("#popup").css({"top":mdfromTop});}
  86. jQuery(window).fadeIn(_ppopup).resize(_ppopup)
  87. //alert(jQuery.cookie('sreqshown'));
  88. //var mdww = jQuery(window).width();
  89. //var mdppw = jQuery("#popup").width();
  90. //var mdleftm = (mdww-mdppw)/2;
  91. var mdleftm = 500;
  92. //var mdwh = jQuery(window).height();
  93. //var mdpph = jQuery("#popup").height();
  94. //var mdfromTop = (jQuery(window).scrollTop()+mdwh-mdpph) / 2;
  95. jQuery("#popup").animate({opacity: "1", left: "0" , left: mdleftm}, 0).show();
  96. jQuery("#mdclose").click(function() {
  97. jQuery("#popup").animate({opacity: "0", left: "-5000000"}, 1000).show();});});
  98. </script>
  99. <div id="popup">
  100. <h1>Curta Nossa Pagina</h1>
  101. <div class="htmlarea">
  102. <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FBlog-Coisas-de-Timbaúba-PE-447297312023880&amp;width=400&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23fff&amp;stream=false&amp;header=false&amp;height=250" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:250px;" allowtransparency="true"></iframe>
  103. </div>
  104. <div id="mdfooter">
  105. Please wait..<span>10</span> Seconds
  106. <a href="#" id="mdclose" onclick="return false;">Fechar</a>
  107. </div>
  108. </div>
  109. <!-- Fim popup -->

comments powered by Disqus