Membuat Widget Email Subscribe Box Melayang di Blog

Membuat Widget Email Subscribe Box Melayang di Blog



Membuat Widget Email Subscribe Box Melayang di Blog
Email Subscribe BoxEmail Subscribe Box berguna agar pengunjung bisa berlangganan dan mendapatkan artikel terbaru suatu blog via email tanpa harus mengunjungi blog tersebut. Widget ini juga merupakan elemen penting dari suatu blog selain navigasi breadcrumb sitemap dan meta tag. 

Selain itu ada berbagai macam cara yang bisa membuat pengunjung tertarik untuk berlangganan artikel di blog kita, salah satu langkahnya adalah dengan cara memasang Widget Email Subscribe Box. Jika mereka menganggap blog kita penting dan berguna bagi "masa depan" nya. Mereka pasti ingin sekali selalu mendapat inovasi dan update terbaru dari blog kita.
Nah pada kesempatan kali ini saya ingin membagikan Cara Membuat Widget Email Subscribe Box Melayang di Blog dengan efek show/hide atau tersembunyi.

Anda tidak usah takut jika nantinya widget ini akan memakanspace yang besar di blog anda, dikarenakan widget ini bersifat pop-up/melayang dan bersifat show/hide atau buka tutup

Untuk DEMOnya bisa anda lihat di pojok kanan bawah blog ini

Ada kotak persegi panjang kecil bertuliskan +Follow, setelah di klik akan muncul Email Subscribtion Box Dan untuk menutupnya lagi anda hanya harus mengklik lagi tombol "+Follow", maka widget tersebut akan menutup dengan sendirinya. 

Membuat Widget Email Subscribe Box Melayang di Blog
Membuat Widget Email Subscribe Box Melayang di Blog

 Screenshot diatas adalah contoh dari Widget Email Subscribe Box Melayang ini. Sungguh menarik bukan? Mungkin ada dari sebagian blogger yang belum tau ada widget seperti ini jadi engan memasangnya anda bisa membuat blogger lain bertanya tanya "Cara memasang Widget Email Subscribe Box yang bisa Melayang dan buka tutup gitu gimana ya??" Hehe 

 

Baiklah tidak usah panjang x lebar x tinggi langsung saja menuju Tutorial Cara Membuat Widget Email Subscribe Box Melayang di Blog


1. Login ke Blogger.

2. Pilih Tata Letak.

3. Klik Add Gadget.

4. Pilih HTML/JavaScript.

5. Letakkan kode dibawah ini kedalam html boxnya!


<style type="text/css">
/*<![CDATA[*/
 #esgfollowSubscribe {background-color: #464646;width: 220px;color: #fff;position: fixed;z-index: 999999;right: 10px;bottom: 0;}
 .followOpened {-webkit-border-radius: 2px 0 0;-moz-border-radius: 2px 0 0;border-radius: 2px 0 0;-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);}
 .esgfollowButton {background: #464646;color: #CCC !important;font-size: 13px;line-height: 28px;padding: 0 10px;text-decoration: none;position: absolute;top: -28px;right: 0;display: block;-webkit-box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);-moz-box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);-webkit-border-radius: 2px 2px 0 0;-moz-border-radius: 2px 2px 0 0;border-radius: 2px 2px 0 0;height: 28px;}
 .esgfollowButton span {background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp3vfkiSgCTPMrwdZuJ54rYNHa9SRfWqhwSjyuWAGMAh2Ci-SCZmA9IH9NXhTcxajJtvNjfKw4Nuw2wZnoDZ2i420tm5UpjrJmi5sOqn4vDZp-wysxi6gj9pGwUvlhGqYYs4eLVv21frU/s1600/follow-bloggertrix.png") no-repeat scroll 0 3px transparent;padding-left: 15px;}
 .esgfollowButton:hover,.followActive {color: #fff !important;}
 .esgfollowButton:hover span,.followActive span {background-position: 0 -37px !important;}
 .followactive {background-color: #333;}
 .esgfollowForm {padding: 15px;}
 .esgfollowForm h3 {font-size: 18px;margin: 0 0 10px;font-weight: normal;}
 .esgfollowForm p {margin: 0 0 10px;}
 .esgfollowForm .emailInput {width: 95%;padding: 2px 4px;margin: 0 auto;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;font-size: 15px;border: 1px solid #444;color: #888;display: block;clear: both;}
 .esgfollowForm form {text-align: center;}
 .esgfollowForm .emailInput:focus {color: #000;border-color: #000;}
 .esgfollowForm .emailSubmit {cursor:pointer;padding: 2px 20px;background: #333;background: -webkit-linear-gradient(top, #333 0%, #111 100%);background: -moz-linear-gradient(top, #333 0%, #111 100%);background: -o-linear-gradient(top, #333 0%, #111 100%);background: -ms-linear-gradient(top, #333 0%, #111 100%);background: linear-gradient(top, #333 0%, #111 100%);color: #ccc;text-shadow: 0 1px 0 #000;border: 1px solid #282828;-webkit-border-radius: 11px;-moz-border-radius: 11px;border-radius: 11px;-webkit-box-shadow: inset 0 1px 0 #444;-moz-box-shadow: inset 0 1px 0 #444;box-shadow: inset 0 1px 0 #444;text-decoration: none;-webkit-transition: all 0.25s ease-in-out;-moz-transition: all 0.25s ease-in-out;-o-transition: all 0.25s ease-in-out;-ms-transition: all 0.25s ease-in-out;transition: all 0.25s ease-in-out;margin: 1em 0 1em 0;}
 .emailSubmit:hover {background: #222;background: -webkit-linear-gradient(top, #333 0%, #222 100%);background: -moz-linear-gradient(top, #333 0%, #222 100%);background: -o-linear-gradient(top, #333 0%, #222 100%);background: -ms-linear-gradient(top, #333 0%, #222 100%);background: linear-gradient(top, #333 0%, #222 100%);color: #fff;-webkit-box-shadow: inset 0 1px 0 #4f4f4f;-moz-box-shadow: inset 0 1px 0 #4f4f4f;box-shadow: inset 0 1px 0 #4f4f4f;text-decoration: none;}
 .emailSubmit:active {background: #111;background: -webkit-linear-gradient(top, #111 0%, #222 100%);background: -moz-linear-gradient(top, #111 0%, #222 100%);background: -o-linear-gradient(top, #111 0%, #222 100%);background: -ms-linear-gradient(top, #111 0%, #222 100%);background: linear-gradient(top, #111 0%, #222 100%);color: #aaa;-webkit-box-shadow: inset 0 -1px 0 #333;-moz-box-shadow: inset 0 -1px 0 #333;box-shadow: inset 0 -1px 0 #333;text-decoration: none;}
 .esgFollowFooter {text-align: center;font: normal 11px "Helvetica Neue", sans-serif;padding: 7px 0;margin: 0 0 -15px !important;border-top: 1px solid #3c3c3c;}
 .esgFollowFooter a {color: #aaa;text-shadow: 0 1px 0 #262626;background: none;text-decoration: none;}
 .esgFollowFooter a:hover {color: #fff;background: none;}
/*]]>*/
</style>
<script type="text/javascript">
/*<![CDATA[*/
;(function(esg){esg(document).ready(function(){esg.extend(esg.easing,{easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b}});var followBox=esg("#esgfollowSubscribe");var followHeight="-"+followBox.outerHeight()+"px";followBox.hide().css({bottom:"-500px"});setTimeout(function(){followBox.show().animate({bottom:followHeight})},500);esg(".esgfollowButton").click(function(e){if(followBox.hasClass("followOpened")){esg(this).removeClass("followActive");followBox.removeClass("followOpened").stop().animate({bottom:followHeight},{duration:300,easing:"easeOutCubic"})}else{esg(this).addClass("followActive");followBox.addClass("followOpened").stop().animate({bottom:"0"},{duration:500,easing:"easeOutCubic"})}e.preventDefault()})})})(jQuery);
/*]]>*/
</script>
<div id="esgfollowSubscribe" style="bottom: -971px;">
<div class="esgfollowForm">
<a class="esgfollowButton" href="#" title="Follow"><b>+ Follow</b></a>
<center>
<h3>Follow Blog Mas Soma</h3>
Get Free Email Updates to your Inbox
</center>
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=blogmassoma', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow">
<input class="emailInput" name="email" placeholder="Enter Your Email..." type="text">
   <input name="uri" value="blogmassoma" type="hidden">
   <input name="loc" value="en_US" type="hidden">
   <input class="emailSubmit" value="Subscribe" type="submit">
  </form>
<div class="esgFollowFooter">
<a href="http://feedburner.google.com/" target="_blank">Delivered by FeedBurner</a><a href="http://newbanie.blogspot.com/2014/01/membuat-email-subscribe-melayang-keren-widget-blog.html" target="_blank">Get This Widget</a>
  </div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
6. Ganti yang berwarna merah dengan ID Feedburner anda
7.Klik Save

Lihat dan rasakan kerennya Widget Email Subscribe Box Melayang di blog kamu!

0 Response to "Membuat Widget Email Subscribe Box Melayang di Blog"

Post a Comment