Alshabh

كودان نافذة مبثقة للفيس بوك

Jun 27th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. كود نافذة فيس بوك منبثقة مع كل تحميل في المدونة
  2.  
  3.  
  4. <!-- Facebook Popup Widget START --><!-- Brought to you by http://www.abou-nizar.com/ -->
  5. <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
  6. <style>
  7. #fanback {
  8. display:none;
  9. background:rgba(0,0,0,0.8);
  10. width:100%;
  11. height:100%;
  12. position:fixed;
  13. top:0;
  14. left:0;
  15. z-index:99999;
  16. }
  17. #fan-exit {
  18. width:100%;
  19. height:100%;
  20. }
  21. #Burptech {
  22. background:white;
  23. width:420px;
  24. height:270px;
  25. position:absolute;
  26. top:58%;
  27. left:63%;
  28. margin:-220px 0 0 -375px;
  29. -webkit-box-shadow: inset 0 0 50px 0 #939393;
  30. -moz-box-shadow: inset 0 0 50px 0 #939393;
  31. box-shadow: inset 0 0 50px 0 #939393;
  32. -webkit-border-radius: 5px;
  33. -moz-border-radius: 5px;
  34. border-radius: 5px;
  35. margin: -220px 0 0 -375px;
  36. }
  37. #Burp {
  38. float:right;
  39. cursor:pointer;
  40. background:url(http://3.bp.blogspot.com/-NRmqfyLwBHY/T4nwHOrPSzI/AAAAAAAAAdQ/8b9O7O1q3c8/s1600/Burp.png) repeat;
  41. height:15px;
  42. padding:20px;
  43. position:relative;
  44. padding-right:40px;
  45. margin-top:-20px;
  46. margin-right:-22px;
  47. }
  48. .remove-borda {
  49. height:1px;
  50. width:366px;
  51. margin:0 auto;
  52. background:#F3F3F3;
  53. margin-top:16px;
  54. position:relative;
  55. margin-left:20px;
  56. }
  57. #linkit,#linkit a.visited,#linkit a,#linkit a:hover {
  58. color:#80808B;
  59. font-size:10px;
  60. margin: 0 auto 5px auto;
  61. float:center;
  62. }
  63. </style>
  64. <script type='text/javascript'>
  65. //<![CDATA[
  66. jQuery.cookie = function (key, value, options) {
  67. // key and at least value given, set cookie...
  68. if (arguments.length > 1 && String(value) !== "[object Object]") {
  69. options = jQuery.extend({}, options);
  70. if (value === null || value === undefined) {
  71. options.expires = -1;
  72. }
  73. if (typeof options.expires === 'number') {
  74. var days = options.expires, t = options.expires = new Date();
  75. t.setDate(t.getDate() + days);
  76. }
  77. value = String(value);
  78. return (document.cookie = [
  79. encodeURIComponent(key), '=',
  80. options.raw ? value : encodeURIComponent(value),
  81. options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
  82. options.path ? '; path=' + options.path : '',
  83. options.domain ? '; domain=' + options.domain : '',
  84. options.secure ? '; secure' : ''
  85. ].join(''));
  86. }
  87. // key and possibly options given, get cookie...
  88. options = value || {};
  89. var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
  90. return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
  91. };
  92. //]]>
  93. </script>
  94. <script type='text/javascript'>
  95. jQuery(document).ready(function($){
  96. if($.cookie('popup_user_login') != 'yes'){
  97. $('#fanback').delay(1000).fadeIn('medium');
  98. $('#Burp, #fan-exit').click(function(){
  99. $('#fanback').stop().fadeOut('medium');
  100. });
  101. }
  102. });
  103. </script>
  104. <div id='fanback'>
  105. <div id='fan-exit'>
  106. </div>
  107. <div id='Burptech'>
  108. <div id='Burp'>
  109. </div>
  110. <div class='remove-borda'>
  111. </div>
  112. <iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?
  113. href=https://www.facebook.com/313.Ghosts&width=402&height=255&colorscheme=light&show_faces=true&show_border=false&stream=false&header=false'
  114. style='border: none; overflow: hidden; margin-top: -19px; width: 402px; height: 230px;'></iframe><center>
  115. <span id="linkit">Powered by - <a href="http://www.abou-nizar.com/">Facebook Like Box</a></span></center>
  116. </div>
  117. </div>
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. ===================================================
  125. نافذة فيس بوك منبثقة تنبثق اول تحميل فقط في المدونة
  126.  
  127.  
  128. <script type="text/javascript">
  129. var adfly_id = 71779;
  130. </script>
  131. <script src="https://cdn.adf.ly/js/display.js"></script>
  132. <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
  133. <style>
  134. #fbox-background {
  135. display: none;
  136. background: rgba(0,0,0,0.8);
  137. width: 100%;
  138. height: 100%;
  139. position: fixed;
  140. top: 0;
  141. left: 0;
  142. z-index: 99999;
  143. }
  144.  
  145. #fbox-close {
  146. width: 100%;
  147. height: 100%;
  148. }
  149.  
  150. #fbox-display {
  151. background: #eaeaea;
  152. border: 5px solid #828282;
  153. width: 350px;
  154. height: 242px;
  155. position: absolute;
  156. top: 32%;
  157. left: 37%;
  158. -webkit-border-radius: 5px;
  159. -moz-border-radius: 5px;
  160. border-radius: 5px;
  161. }
  162.  
  163. #fbox-button {
  164. float: right;
  165. cursor: pointer;
  166. position: absolute;
  167. right: 0px;
  168. top: 0px;
  169. }
  170.  
  171. #fbox-button:before {
  172. content: "CLOSE";
  173. padding: 5px 8px;
  174. background: #828282;
  175. color: #eaeaea;
  176. font-weight: bold;
  177. font-size: 10px;
  178. font-family: Tahoma;
  179. }
  180.  
  181. #fbox-link,#fbox-link a.visited,#fbox-link a,#fbox-link a:hover {
  182. color: #aaaaaa;
  183. font-size: 9px;
  184. text-decoration: none;
  185. text-align: center;
  186. padding: 5px;
  187. }
  188. </style>
  189. <script type='text/javascript'>
  190. //<![CDATA[
  191. jQuery.cookie = function (key, value, options) {
  192. // key and at least value given, set cookie...
  193. if (arguments.length > 1 && String(value) !== "[object Object]") {
  194. options = jQuery.extend({}, options);
  195. if (value === null || value === undefined) {
  196. options.expires = -1;
  197. }
  198. if (typeof options.expires === 'number') {
  199. var days = options.expires, t = options.expires = new Date();
  200. t.setDate(t.getDate() + days);
  201. }
  202. value = String(value);
  203. return (document.cookie = [
  204. encodeURIComponent(key), '=',
  205. options.raw ? value : encodeURIComponent(value),
  206. options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
  207. options.path ? '; path=' + options.path : '',
  208. options.domain ? '; domain=' + options.domain : '',
  209. options.secure ? '; secure' : ''
  210. ].join(''));
  211. }
  212. // key and possibly options given, get cookie...
  213. options = value || {};
  214. var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
  215. return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
  216. };
  217. //]]>
  218. </script>
  219. <script type='text/javascript'>
  220. jQuery(document).ready(function($){
  221. if($.cookie('popup_facebook_box') != 'yes'){
  222. $('#fbox-background').delay(1000).fadeIn('medium');
  223. $('#fbox-button, #fbox-close').click(function(){
  224. $('#fbox-background').stop().fadeOut('medium');
  225. });
  226. }
  227. $.cookie('popup_facebook_box', 'yes', { path: '/', expires: 7 });
  228. });
  229. </script>
  230. <div id='fbox-background'>
  231. <div id='fbox-close'>
  232. </div>
  233. <div id='fbox-display'>
  234. <div id='fbox-button'>
  235. </div>
  236. <iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?
  237. href=https://www.facebook.com/313.Ghosts&width=402&height=255&colorscheme=light&show_faces=true&show_border=false&stream=false&header=false'
  238. style='border: none; overflow: hidden; background: #fff; width: 350px; height: 200px;'></iframe>
  239. <div id="fbox-link">www.313-Ghosts.blogspot.com<a style="padding-left: 0px;" href="#" rel="nofollow">sudan4tech</a></div>
  240. </div>
  241. </div>
Add Comment
Please, Sign In to add comment