BloggerGeek

اضافة أداة اشتراك الايميل و الفايسبوك و تويتر أسفل كل موضوع

Mar 1st, 2017
174
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  <section class="newsletter">
  2. <h2>
  3. هـل تعبـت من انتضار مواضيع جديدة ؟ اشترك الآن
  4. </h2>
  5. <div id="form-newsletter">
  6. <div class="social facebook">
  7. <a href="https://www.facebook.com/BloggerGeeks-1457278414302876" target="_blank">
  8.       <img src="http://1.bp.blogspot.com/-HiD7bFwl-fM/U3nB1ozGbKI/AAAAAAAACb0/5_nqyCGPN8Q/s1600/nl-facebook@2x.png" />
  9.     </a>
  10.     <iframe allowtransparency="true" class="social-box fb-like" frameborder="0" scrolling="no" src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FAllBloggerTricks&amp;width=90&amp;height=21&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=false&amp;send=false&amp;appId=519648428126767&amp;locale=en_US" style="border: none; height: 21px; overflow: hidden; width: 90px;">
  11.     </iframe>
  12.   </div>
  13. <div class="social twitter">
  14. <a href="https://twitter.com/AllBloggerTrick" target="_blank">
  15.       <img src="http://2.bp.blogspot.com/-NPqgpxxxV1s/U3nB1GvOtwI/AAAAAAAACbw/CmH7ymTRpR4/s1600/nl-twitter@2x.png" />
  16.     </a>
  17.     <iframe allowtransparency="true" class="social-box twitter-follow-button twitter-follow-button" data-twttr-rendered="true" frameborder="0" id="twitter-widget-0" scrolling="no" src="http://platform.twitter.com/widgets/follow_button.1399599786.html#_=1399785529920&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=AllBloggerTrick&amp;show_count=false&amp;show_screen_name=false&amp;size=m" style="height: 20px; width: 60px;" title="Twitter Follow Button">
  18.     </iframe>
  19.     <script>
  20.       !function(d,s,id){
  21.         var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;
  22.         if(!d.getElementById(id)){
  23.           js=d.createElement(s);
  24.           js.id=id;
  25.           js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);
  26.     </script>
  27.   </div>
  28. <div class="newsletter-form">
  29. <fieldset>
  30. <h2>
  31.        اشترك الآن ببريدك الالكتروني و كن دائماً على اطلاع
  32.       </h2>
  33. <div class="fields">
  34. <form action="http://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.openundefined'http://feedburner.google.com/fb/a/mailverify?uri=AllBloggerTricks', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow">
  35. <input class="email" id="email" name="email" onblur="ifundefinedthis.value=='')this.value=this.defaultValue;" onfocus="ifundefinedthis.value==this.defaultValue)this.value='';" type="text" value=".. قم بادخال بريدك الالكتروني هنا" />
  36.           <input name="uri" type="hidden" value="AllBloggerTricks" />
  37.           <input name="loc" type="hidden" value="en_US" />
  38.           <input class="subscribe" name="commit" type="submit" value="اشترك الآن" />
  39.         </form>
  40. </div>
  41. </fieldset>
  42. </div>
  43. </div>
  44. </section>
  45. <style>
  46. .newsletter{text-align:center;margin:20px 0;}
  47. .newsletter .social.facebook{background:none repeat scroll 0 0 #3661A0}
  48. .newsletter .social{padding-top:20%;width:20%;float:left;position:relative}
  49. .newsletter #form-newsletter{display:block;width:90%;max-width:900px;min-width:500px;margin:0 auto}
  50. .newsletter:before,.newsletter:after{content:&quot; &quot;;display:table}
  51. .newsletter:after{clear:both}
  52. .newsletter h2{color:#3B434D;font-family:Open Sans,sans-serif;font-size:1.5em;font-weight:300;width:65%;margin:1em auto}
  53. .newsletter .social.twitter{background:none repeat scroll 0 0 #00ACED}
  54. .newsletter .social a{display:block;left:30%;position:absolute;top:20%;width:40%}
  55. .newsletter .social a img{max-width:100%;width:100%;transition: transform 0.3s ease-out 0s}
  56. .newsletter .social a:hover img{transform:scale(1.1)}
  57. .newsletter .social .social-box{bottom:20px;left:50%;position:absolute}
  58. .newsletter .social .social-box.fb-like{margin-left:-45px}
  59. .newsletter .social .social-box.twitter-follow-button{margin-left:-30px}
  60. .newsletter .newsletter-form{background:none repeat scroll 0 0 #1E293B;float:left;padding-top:20%;position:relative;width:60%}
  61. .newsletter .newsletter-form fieldset{height:38px;left:10%;position:absolute;top:10%;width:80%;border:none}
  62. .newsletter .newsletter-form fieldset h2{color:#FFF;font-family:Open Sans, sans-serif;font-weight:300;width:100%;margin:0 0 1.5625em;font-size:16px;}
  63. .newsletter .newsletter-form fieldset .fields{position:relative}
  64. .fields .email{border-radius:10px 0 0 10px;outline:0 none;width:84%;border:0;left:0;position:absolute;padding:10.5px;text-align: center}
  65. .fields .subscribe{background:none repeat scroll 0 0 #F0553B;border:medium none;border-radius:0 10px 10px 0;color:#FFF;right:0;position:absolute;padding:10px;transition:all ease 0.6s;}
  66. .fields .subscribe:hover {background: none repeat scroll 0 0 #161616;}
  67. </style>
  68. <script type="text/JavaScript">
  69. fontsize = function () {
  70.     var abtSubs = $(".newsletter #form-newsletter").width() * 0.025; // 10% of container width
  71.     $(".newsletter .newsletter-form fieldset h2").css('font-size', abtSubs);
  72. };
  73. $(window).resize(fontsize);
  74. $(document).ready(fontsize);
  75. </script>
RAW Paste Data