Searching...
Tuesday, 12 March 2013

Email Subscription Slider Widget For Blogger

Email Subscription Slider Widget For BloggerThis widget is inspired from Social Subscription Scrolling Slider Widget. It's feed subscription form, which will slide out after scrolling the page little bit. It's based on jQuery, so don't forget to remove jQuery from our code, if your blog already has it.

I created this widget past Sunday for my blog but then I thought that I should share this with you all. As of writing, this widget will appear on our blog as you scroll down a little bit.





Add This To Blogger:

  • Go To Blogger > Layout > Add A Gadget > HTML/JavaScript
  • Paste following code and click on Save:


<!-- Email Subscription Slider Widget For Blogger by rnhckr.com --> <script type="text/javascript" src="http://widcraft.googlecode.com/svn/jquery.min.js"></script> <script type="text/javascript">$undefinedwindow).scrollundefinedfunctionundefined){ifundefined$undefineddocument).scrollTopundefined)>=$undefineddocument).heightundefined)/4)$undefined"#bwsocialslide").showundefined"slow");else $undefined"#bwsocialslide").hideundefined"slow");});function closebwsocialslideundefined){$undefined'#bwsocialslide').removeundefined);}</script> <style> #bwsocialslide{ background:#f3f3f3; -moz-box-shadow:inset 0 0 1px #333; -webkit-box-shadow:inset 0 0 1px #333; box-shadow:inset 0 0 1px #333; padding:12px 14px 12px 14px; width:250px; position:fixed; bottom:13px;left:0px; display:none; z-index:3; height:65px; } .bw-email{ padding:5px 0 0 5px; float:left; font-size:1.4em; font-weight:bold; margin:0 0 10px 0; color:#686B6C; } .bw-emailsubmit{ background:#9B9895; cursor:pointer; color:#fff; border:none; padding:3px; text-shadow:0 -1px 1px rgbaundefined0,0,0,0.25); font:12px sans-serif; } .bw-emailsubmit:hover{ background:#E98313; } .textarea{ padding:2px; margin:6px 2px 6px 2px; background:#f9f9f9; border:1px solid #ccc; resize:none; box-shadow:inset 1px 1px 1px rgbaundefined0,0,0,0.1); -moz-box-shadow:inset 1px 1px 1px rgbaundefined0,0,0,0.1); -webkit-box-shadow:inset 1px 1px 1px rgbaundefined0,0,0,0.1); font-size:13px; width:170px; color:#666; } </style> <div style="display: none;" id="bwsocialslide"> <a style="position:absolute;top:14px;right:10px;color:#555;font-size:10px;font-weight:bold;" href="javascript:voidundefined0);" onclick="return closebwsocialslideundefined);">undefinedX)</a> <div class="bw-email"> Subscribe via Email <form action="http://feedburner.google.com/fb/a/mailverify" id="feedform" method="post" target="popupwindow" onsubmit="window.openundefined'http://feedburner.google.com/fb/a/mailverify?uri=rnhckr', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"> <input gtbfieldid="3" class="textarea" name="email" onblur="if undefinedthis.value == &quot;&quot;) {this.value = &quot;Enter email address here&quot;;}" onfocus="if undefinedthis.value == &quot;Enter email address here&quot;) {this.value = &quot;&quot;;}" value="Enter email address here" type="text" /> <input type="hidden" value="rnhckr" name="uri"/><input type="hidden" name="loc" value="en_US"/> <input class="bw-emailsubmit" value="Submit" type="submit" /> </form> </div> </div> <div class='clear'></div> <!-- Email Subscription Slider Widget For Blogger by rnhckr.com -->
In above code, replace rnhckr with your feed id. You are free to share this widget with your fans and friends. Please attribute the credits back to our blog as the only favor in return. Don't forget to leave a comment.

0 comments:

Post a Comment