Wednesday 13 June 2012

WordPress Style Social Subscription Widget For Blogger


I added this widget in past but deleted because of some errors but now it's back. This time it's even more easier to add this widget on your Blogger.

Just use our widget generator to generate widget code and after adding it you can also change readers/followers/fans count....

Making Pages Inside Blogger Posts


Finally after so much search on google and other places i found how to make pages inside a blogger posts aka sub posts ....

Tips:
1.First create your post and copy html of your post in notepad application of your computer.

2.After pasting the above code (The ol list) in the Edit HTML Tab, if you go to the Compose Tab and then go back to Edit HTML tab ,you will see the links have changed in the href , if you don't revert them back to only # ones, then this will not work. So either add this code just at the end of writing your Post or don't switch to Compose tab :(
  • Create A Post > Choose HTML Option And Paste The Below Script 
<div class="content11" id="page-1">

Content Of Page One

</div>
<div class="content11" id="page-2">


Content Of Page Two


</div>
<div class="content11" id="page-3">

Content Of Page Three

</div>

<ol id="toc">
<li><a href="#page-1">1</a></li>
<li><a href="#page-2">2</a></li>
<li><a href="#page-3">3</a></li>
</ol>
  • Replace Content Of Page One/Two/Three with the HTML of your page one/two/three content.
  • Now after completing above step just post this script below it

<style>
div.content11 {clear: left;padding: 1em;}
div.content11.inactive {display: none;}
ol#toc {height: 2em;list-style: none;margin: 0;padding: 0;}
ol#toc a {padding: 0px 8px 0px;margin: 1px 4px;text-decoration: none;border:1px solid #999;-webkit-border-radius:3px;-moz-border-radius:3px;}
ol#toc a:hover {background-color: #DBECF8;padding: 0px 8px 0px;border:1px solid #204e73;}
ol#toc a:hover span {background-position: 100% -120px;}
ol#toc li {float: left;margin: 0 6px 0 0;}
ol#toc li a.active {background-color: #48f;background-position: 0 -60px;color: #fff;font-weight: bold;}
ol#toc li a.active span {background-position: 100% -60px;}
ol#toc span {background: url(tabs.gif) 100% 0;display: block;line-height: 2em;padding-right: 10px;}
</style>
 <script src="http://widcraft.googlecode.com/svn/Pages-In-Posts.js" ></script>
<script type="text/javascript">
activatables('page', ['page-1', 'page-2','page-3' ]);
</script>

  •  Now your post in ready to get published.....you can add more pages on your post by editing  activatables('page', ['page-1', 'page-2','page-3' ]); section in last script and by adding more page option on first script.
If you liked this hack then give up credits and comment :D

SuperBox Lightbox For Blogger


Superbox/Lightbox is a cool option for all bloggers to display some pics , external links and iframe in this cool window with close option.....you can add this features on your pics , gallery and iframe .

Now you all are thinking how to add this widget......it's simple just follow some simple steps......
  • Go To Your Blog > Template > Edit HTML 
  • Just above ]]></b:skin> post css given below
/* Base Superbox Styles */
#superbox-overlay{position:fixed;top:0;left:0;z-index:9998;width:100%;height:100%;}
#superbox-wrapper{position:fixed;z-index:9999;top:0;display:table;width:100%;height:100%;}
#superbox-container{position:relative;display:table-cell;width:100%;height:100%;margin:0;padding:0;vertical-align:middle;}
#superbox{margin:0 auto;padding:0;}
#superbox-container .loading{margin:0;text-align:center;}
/* IE7 */
*:first-child+html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
*:first-child+html #superbox{position:relative;top:-50%;display:block;}
/* IE6 - Thanks to Thickbox for IE expressions */
* html #superbox-container{position:absolute;top:50%;display:block;height:auto;}
* html #superbox{position:relative;top:-50%;display:block;}
* html #superbox-overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight + 'px' : document.body.offsetHeight + 'px');}
* html #superbox-wrapper{position:absolute;margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');}
/* Default Theme */
#superbox-overlay{background:#000;}
#superbox-container .loading{text-align:center;font-size:40px;color:#fff;}
#superbox{padding:10px;background:#fff;}
#superbox-innerbox{padding:10px 0;}
#superbox.image{text-align:center;}
#superbox .close,
#superbox .nextprev{overflow:hidden;margin:0;}
/* Container */
#container{position:relative;overflow:hidden;width:820px;margin:0 auto;padding:0 20px 50px;background:#fff;}
pre{overflow:auto;padding:5px;background:#a7dbd8;}
code{background:#a7dbd8;}
pre code{font:12px monospace;}
ul{list-style-type:square;}
img{border:0}
blockquote{margin:50px 40px 0;font-size:30px;quotes:"\201C" "\201D";}
blockquote p:before{content:open-quote;font-weight:bold;}
blockquote p:after{content:close-quote;font-weight:bold;}
cite{float:right;margin-right:40px;display:inline;}
.translations{float:right;margin-right:20px;top:0;margin:0;padding:0;display:inline;}
.translations dt{margin:0;padding:0;text-indent:-9999px;}
.translations dd{margin:0;padding:0;height:19px;}
.translations dd a{float:right;padding-right:20px;line-height:19px;text-align:right;background:url(flags.png) no-repeat 100% 0;}
.translations dd strong a{text-decoration:none;}
.translations dd.en a{background-position:100% -19px;}
.translated-by{position:absolute;top:46px;right:35px;width:150px;padding:10px;text-align:justify;background:#fff;border:1px solid #fa6900;}
  • Just above </head> post the below script
<style type="text/css">
/* Custom Theme */
#superbox-overlay{background:#e0e4cc;}
#superbox-container .loading{width:220px;height:90px;margin:0 auto;text-indent:-9999px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJRqI5dGWfrHV46PyaCYqx4We1McP_p2qtzFPrirZEvZM2ZbI3BcjzvMXtOWT18nv6oaeh9BJD3IpAT9cJDuKaRhP3g7NftKJQVl2artrjjYIZu0OVe1_MIXKcs9dAKDF9JBF5pv4Z2rA/s1600/Loading.gif) no-repeat 0 0;}
#superbox .close a{float:right;padding:0 5px;line-height:20px;background:#333;cursor:pointer;}
#superbox .close a span{color:#fff;}
#superbox .nextprev a{float:left;margin-right:5px;padding:0 5px;line-height:20px;background:#333;cursor:pointer;color:#fff;}
#superbox .nextprev .disabled{background:#ccc;cursor:default;}
</style>
<script src="http://widcraft.googlecode.com/svn/jquery.js" type="text/javascript">
</script>
<script src="http://widcraft.googlecode.com/svn/JSuperbox.js" type="text/javascript">
</script>
<script type="text/javascript">
$(function(){
$.superbox.settings = {
closeTxt: "Close",
loadTxt: "Loading...",
nextTxt: "Next",
prevTxt: "Previous"
};
$.superbox();
});
</script>
  • Click on Save and you're done with this part.
  • Now to add superbox effect on your content add these following code on your image/iframe/gallery -

------------------------------------------------------------

On Images
rel="superbox[image]"

For Adding Gallery:
rel="superbox[gallery][GalleryName]" In all the elements of the Gallery

For Adding Links/iFrame:
rel="superbox[iframe]"

For Inline Content:
el="superbox[content]"

For AJAX Content
rel="superbox[ajax]"

------------------------------------------------------------

Some Example Codes -

On Images -


<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" rel="superbox[image]">Image Title</a> 

On Gallery -

<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" rel="superbox[gallery][my_gallery]"><img alt="" height="75" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" width="75" /></a>&nbsp;&nbsp;<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" rel="superbox[gallery][my_gallery]"><img alt="" height="75" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" width="75" /></a>&nbsp;&nbsp;<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" rel="superbox[gallery][my_gallery]"><img alt="" height="75" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgInulwTgAy_ju2yc6CfWJ25Nx-IvR0Jze-Zapf0GB1_cmUGQOPkw3tVNtzEjZDlIycTaOgsOuQ3mXz6LO7b3YqxBrTN_eOnAFZPkdxy3PwnT21WuVn5GhJ05n9TxaH9mygnP4rSk-BGcY/s1600/Popunder.jpg" width="75" /></a>

On Links/iFrame(default dimensions) -


<a href="http://widcraft.blogspot.com" rel="superbox[iframe]">Iframe Superbox (default dimensions)</a>

On Links/iFrame(defined dimensions) -

<a href="http://widcraft.blogspot.com" rel="superbox[iframe] [750x500]"> Iframe Superbox (definded dimensions)</a>

Inline -


<div id="mode-content">
Generates a box containing an element of the page.
The link will be external, and will point to an element of the page using its <code>id</code> attribute.
This element will be copied to appear in Lighbox.
</div>
<a href="#mode-content" rel="superbox[content]">Superboxox element</a>
<a href="#mode-content" rel="superbox[content][500x400]">Superbox element (dimensions)</a>

Ajax -

<a href="http://pierrebertet.net/projects/jquery_superbox/crockford.html" rel="superbox[ajax][crockford-ajax.html]">AJAX SuperBox</a>

Sunday 10 June 2012

Spinning , Fading Social Sharing Icon Widget For Blogger


This spinning and fading widget is damn cool for blogger......it'll 100% attract your visitors and it's possible if they spend half of there time to just spin these icons again again and again :p
  • Go To  Your Blog > Template > Edit HTML and paste this code just above  </b:skin>

#followIcons a  {
display:inline-block;
width:48px;
height:48px;
text-indent:-3000px;
background-position:0 0;
background-repeat:no-repeat;
z-index:2000;
overflow:hidden;
position:absolute;
}
#followIcons a  {
-webkit-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
-o-transition-duration: 0.8s;
transition-duration: 0.8s;
-webkit-transition-property: -webkit-transform;
-moz-transition-property: -moz-transform;
-o-transition-property: -o-transform;
transition-property: transform;
}
#iconRSS  { background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFv0FNaArJ-2Ec7TC6BWOw-eveAwdFhR7Ew4d2xvwZef824qKzbHtpGlx1mTVGVutBvGUhO8spmUEvOxiVb3ptblFfJcUfPc6tKEFtEW3dFkC_9k7gWaYrJx55o8sLE3hPZwf4f6bs0UM/s1600/RSS.png); }
  #iconTwitter { background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJh3-4uDz4C-YuDWwtr_GfDks-wUcz9eeXAXlvTVXX6NHI7DwV1ivdL5t3h1H0hVzF_NPz32zNJlawLidTyWhs0D1clH8pd9jJmP75H8vCwNWEX1iHuM16cjbPdIw2zaPteJ-2OKUkALE/s1600/Twitter.png); }
#iconPlus { background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNf_mgRK8bzH-PbNnwxEPm7bUcnx44bgMwu4tUi5p5UrctC3ONsN1HGCm-eYskBW4-Pyn2UZcLCJEkUDyXRlzEs9msIjih7iUmYCibr4zI-4JAp8GtuY4cQs5AaNeEGimzX3slYARZ1Sk/s1600/Google++.png); }
  #iconFacebook { background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3TssP4JvWmYvLit7YbdXer_EMTKsE8Q1TH5IXl4_mgZYoIfIWBHRl_WZcOW4utmNPh6yeR1yudTDrV7UI62nysKHYTFucMaJ9e7uWeNrd6ApJNN619y12gE68plCDtJtTdNymItiQT50/s1600/Facebook.png); }

  • Now paste the below JavaScript code just above </head>

<script src=”http://widcraft.googlecode.com/svn/jquery.js”></script>
 <script>
  jQuery(document).ready(function() {
   // “Globals” – Will make things compress mo-betta
   var $random = function(x) { return Math.random() * x; };
   var availableWidth = 400, availableHeight = 40;
      // Get the proper CSS prefix
   if(jQuery.browser.webkit) {
    cssPrefix = “webkit”;
   }
   else if(jQuery.browser.mozilla) {
    cssPrefix = “moz”;
   }
   else if(jQuery.browser.opera) {
    cssPrefix = “o”;
   }
   // Apply opacity
   var zIndex = 1000;
      // Randomize each link
   jQuery.each(jQuery(“#followIcons a”),function(index) {
    var startDeg = $random(360);
    var element = jQuery(this);
    var resetPlace = function() {
     element.fadeTo(250,0.6).css(“-” + cssPrefix + “-transform”,”rotate(” + startDeg + “deg)”);
    };
    element.attr(“style”,”top:” + $random(availableHeight) + “px; left:” + $random(availableWidth) + “px; z-index:” + zIndex).hover(function() {
     element.fadeTo(250,1).css(“zIndex”,++zIndex).css(“-” + cssPrefix + “-transform”,”rotate(0deg)”);
    },resetPlace);
    resetPlace();
   });
     });
 </script>
  • Now Go To Layout > Add A Gadget > HTML/Java Script and paste this code
<div id=”followIcons”>
  <a href=”http://feeds.feedburner.com/WidgetCraft” id=”iconRSS”>RSS Feed</a>
  <a href=”http://twitter.com/HardeepAsrani” id=”iconTwitter”>@HardeepAsrani Twitter</a>
 <a href=”http://plus.google.com/USERNAME” id=”iconPlus”>Google Plus</a>
  <a href=”http://facebook.com/HardeepAsrani” id=”iconFacebook”>Hardeep Asrani Facebook</a>
</div> 


Now just replace URL's with your profile URL's :p

For any help/request or reporting bug just comment thanks

How To Get Your Google Adsense Account Unbanned


This post will be about how to get your Google Adsense Account unbanned! First off, let my start by saying that if your Google Adsense Account was banned because you violated the Google Adsense Terms Of Service (TOS), your up the proverbial creek without a paddle. Chances are you’ll not get your Adsense account unbanned.However, if you feel the Google Adsense gang unfairly banned your account, here are 5 simple steps to follow that may help you get it unbanned. (this means you have read the Adsense TOS and have determined without a doubt you did not violate their terms)Remember, most bans come from an automated machine. Something went wrong and it caused a Red flag to pop up at G Headquarters. 

Your goal now is to to have a human review it.Try and determine why your account was banned. This is important because you need to know what happened before you can gather evidence. Google will not always tell you and many times they’ll tell you it’s because of “Invalid Clicks” which can mean anything under the moon. I’ve heard of accounts being banned because of a sudden increase in clicks due to a site hitting the front page of Digg and because a previous owner of a domain had his Adsense account banned.Contact the Google Adsense team and be nice about it. If you’re email starts with “You Jerks at Google Banned My Account For No Good Reason,” then you’ll not likely get it unbanned before Hell freezes over. Your emails should be very nice and non-judgemental. Assume it was an honest mistake by Google, because it may very well have been.Provide Proof Of Your Innocence.If you have a good idea of why your Adsense was banned, offer to give it to Google. This could be everything from server logs, a letter from the webhost or a WhoIs file. Be nice and politely show Google where they went wrong.Have some patience.The folks at Adsense won’t be tripping over their self to get to your case. I’d be sending follow up emails every other day or so and checking on the status of the human review. Remember to keep them nice and polite. You may also want to keep offering to give them evidence. Try and show you really want to help in the investigation.Persistence pays off. 

If you give up only after an email or two, then chances are you may never hear from them again. Stay with the follow up emails! Eventually they’ll get tired of you and either give you a Yea or Nay. Remember, the squeaky wheel gets the oil!There is no guarantee that these tips will help. But if you’re going to fight to get your account reinstated, this is the way to begin.I can’t stress this enough, read the damn Adsense TOS before you cry about getting banned. After you get your account banned is not the time to familiarize yourself with the Google Adsense TOS.You’ll be surprised at the type of things you account can be banned for. I’m always amazed at people in the forums who’ve had their account banned because of something they did that was against the TOS. Then they proceed to tell everyone they “didn’t know.”And if you can’t get you Adsense account unbanned, you can always use one of your other Adsense accounts…right?

Send your email to adsense-support@google.com

Saturday 9 June 2012

Show Recent Posts From A Label On Blogger



It's easy to show latest posts from a label of your blog..... just follow these easy steps :D
  • In your Blogger Dashboard click > Design > Edit Html 
  • Find the ]]></b:skin> code in your blogs Html : (Click Ctrl and F for a search bar to help find the code
  • Copy and paste the following code Directly Above / Before ]]></b:skin>
/*** Recent Labels Gadget Css ***/
img.label_thumb{
float:left;
padding:5px;
border:1px solid #8f8f8f;
background:#D2D0D0;
margin-right:10px;
height:55px;
width:55px;
}
img.label_thumb:hover{
background:#f7f6f6;
}
.label_with_thumbs {
float: left;
width: 100%;
min-height: 70px;
margin: 0px 10px 2px 0px;
adding: 0;
}
ul.label_with_thumbs li {
padding:8px 0;
min-height:65px;
margin-bottom:10px;
}
.label_with_thumbs a {}
.label_with_thumbs strong {}
  • Find the </head> code in your blogs Html : (Click Ctrl and F for a search bar to help find the code
  • Copy and paste the following code Directly Above / Before </head>

<script type='text/javascript'>
//<![CDATA[
function labelthumbs(json){document.write('<ul class="label_with_thumbs">');for(var i=0;i<numposts;i++){var entry=json.feed.entry[i];var posttitle=entry.title.$t;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k<entry.link.length;k++){if(entry.link[k].rel=='replies'&&entry.link[k].type=='text/html'){var commenttext=entry.link[k].title;var commenturl=entry.link[k].href;}
if(entry.link[k].rel=='alternate'){posturl=entry.link[k].href;break;}}var thumburl;try{thumburl=entry.media$thumbnail.url;}catch(error)
{s=entry.content.$t;a=s.indexOf("<img");b=s.indexOf("src=\"",a);c=s.indexOf("\"",b+5);d=s.substr(b+5,c-b-5);if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")){thumburl=d;}else thumburl='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidhPxUFZ-CQvsvlHMg_JXUtd7Hw-cEeSd5irVvVaXeQpa-iK0TCOUAxML4OB9O-Ktd8QhvK5rMG8e9inY6o4yRAiYzaoANpL_mIf2tGIAjK2xFtSuNXeA3zB5OnusuW8r-NNJY29rVJoqn/';}
var postdate=entry.published.$t;var cdyear=postdate.substring(0,4);var cdmonth=postdate.substring(5,7);var cdday=postdate.substring(8,10);var monthnames=new Array();monthnames[1]="Jan";monthnames[2]="Feb";monthnames[3]="Mar";monthnames[4]="Apr";monthnames[5]="May";monthnames[6]="Jun";monthnames[7]="Jul";monthnames[8]="Aug";monthnames[9]="Sep";monthnames[10]="Oct";monthnames[11]="Nov";monthnames[12]="Dec";document.write('<li class="clearfix">');if(showpostthumbnails==true)
document.write('<a href="'+posturl+'" target ="_top"><img class="label_thumb" src="'+thumburl+'"/></a>');document.write('<strong><a href="'+posturl+'" target ="_top">'+posttitle+'</a></strong><br>');if("content"in entry){var postcontent=entry.content.$t;}
else
if("summary"in entry){var postcontent=entry.summary.$t;}
else var postcontent="";var re=/<\S[^>]*>/g;postcontent=postcontent.replace(re,"");if(showpostsummary==true){if(postcontent.length<numchars){document.write('');document.write(postcontent);document.write('');}
else{document.write('');postcontent=postcontent.substring(0,numchars);var quoteEnd=postcontent.lastIndexOf(" ");postcontent=postcontent.substring(0,quoteEnd);document.write(postcontent+'...');document.write('');}}
var towrite='';var flag=0;document.write('<br>');if(showpostdate==true){towrite=towrite+monthnames[parseInt(cdmonth,10)]+'-'+cdday+' - '+cdyear;flag=1;}
if(showcommentnum==true)
{if(flag==1){towrite=towrite+' | ';}
if(commenttext=='1 Comments')commenttext='1 Comment';if(commenttext=='0 Comments')commenttext='No Comments';commenttext='<a href="'+commenturl+'" target ="_top">'+commenttext+'</a>';towrite=towrite+commenttext;flag=1;;}
if(displaymore==true)
{if(flag==1)towrite=towrite+' | ';towrite=towrite+'<a href="'+posturl+'" class="url" target ="_top">More »</a>';flag=1;;}
document.write(towrite);document.write('</li>');if(displayseparator==true)
if(i!=(numposts-1))
document.write('');}document.write('</ul>');}
//]]>
</script>
  • Now save your template 
  • Go to Layout > Add A Gadget > HTML /Java Script and post the following code
<script type='text/javascript'>var numposts = 3;var showpostthumbnails = true;var displaymore = false;var displayseparator = false;var showcommentnum = false;var showpostdate = false;var showpostsummary = true;var numchars = 80;</script>
<script type="text/javascript" src="/feeds/posts/default/-/LABEL?orderby=updated&alt=json-in-script&callback=labelthumbs"></script>

You must add the name of the label you want to to the above code.Replace LABEL in red with the label name.

Example - If i wanted to display posts from the gadgets label i would replace LABEL with Widgets.
(http://www.widcraft.blogspot.com/search/label/ Widgets /)

If your label is made up of more than one word it can get confusing as the space between the words will be filled automatically as shown below :

http://www.widcraft.blogspot.com/search/label/Blogger%20Widgets 

If you are going to use a label with more than one word make sure to first see how the label appears.

  • Save the gadget and you can drag and drop it into the position you want it displayed on your blog.

HTML Parse Encoder

HTML Editor

Edit your HTML codes and test our Widget in this HTML editor.....
 

Tuesday 5 June 2012

Blogger Widget Code Generator


Enter Widget Title


Enter Your Blog Url


Enter Your Logo Image Logo Url


Paste The Widget Content Value (HTML/Javascript)


Copy The Form & Paste In Post 


Featured Content Slider For Blogger


Featured Content Slider is one of the best way to featured some of the best content from your blog to your users.....to add this just follow the following steps.....
  • Go to your blogger > Template > Edit Html
  • Just above the </head> paste this script

<script src="http://widcraft.googlecode.com/svn/jquery.js" type="text/javascript">
</script>
<script type="text/javascript">
$(document).ready(function() {

 //Execute the slideShow
 slideShow();
});
function slideShow() {
 //Set the opacity of all images to 0
 $('#gallery a').css({opacity: 0.0});

 //Get the first image and display it (set it to full opacity)
 $('#gallery a:first').css({opacity: 1.0});

 //Set the caption background to semi-transparent
 $('#gallery .caption').css({opacity: 0.7});
 //Resize the width of the caption according to the image width
 $('#gallery .caption').css({width: $('#gallery a').find('img').css('width')});

 //Get the caption of the first image from REL attribute and display it
 $('#gallery .content').html($('#gallery a:first').find('img').attr('rel'))
 .animate({opacity: 0.7}, 400);

 //Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
 setInterval('gallery()',6000);

}
function gallery() {

 //if no IMGs have the show class, grab the first image
 var current = ($('#gallery a.show')?  $('#gallery a.show') : $('#gallery a:first'));
 //Get next image, if it reached the end of the slideshow, rotate it back to the first image
 var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery a:first') :current.next()) : $('#gallery a:first'));

 //Get next image caption
 var caption = next.find('img').attr('rel');

 //Set the fade in effect for the next image, show class has higher z-index
 next.css({opacity: 0.0})
 .addClass('show')
 .animate({opacity: 1.0}, 1000);
 //Hide the current image
 current.animate({opacity: 0.0}, 1000)
 .removeClass('show');

 //Set the opacity to 0 and height to 1px
 $('#gallery .caption').animate({opacity: 0.0}, { queue:false, duration:50 }).animate({height: '1px'}, { queue:true, duration:300 });

 //Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect
 $('#gallery .caption').animate({opacity: 0.7},100 ).animate({height: '100px'},500 );

 //Display the content
 $('#gallery .content').html(caption);
}
</script>
  • Now Save and after saving close that edit html window and click on  Customise/Customize 
  • Click On Advance > Add CSS and paste the script from below

.clear{clear:both}
#gallery{position:relative;width:500px;height:400px}
#gallery a{float:left;position:absolute;}
#gallery a img{border:none;}
#gallery a.show{z-index:500}
#gallery .caption{z-index:600;background-color:#000;color:#ffffff;height:100px;width:100%;position:absolute;bottom:0;}
#gallery .caption .content{margin:5px}
#gallery .caption .content h3{margin:0;padding:0;color:#1DCCEF;}

  • Click on Apply To Blog 
  • Now paste the script from below to where you want to add this widget example in template/posts/pages/gadget

<div id="gallery">
<a href="#" class="show">
<img src="IMAGE_URL" alt="Flowing Rock" width="580" height="360" title="" alt="" rel="<h3>TITLE 1</h3>Description 1 "/>
</a>
<a href="#">
<img src="IMAGE_URL" alt="Grass Blades" width="580" height="360" title="" alt="" rel="<h3>TITLE 2</h3>Description 2 "/>
</a>
<a href="#">
<img src="IMAGE_URL" alt="Ladybug" width="580" height="360" title="" alt="" rel="<h3>TITLE 3 3</h3>Description 3"/>
</a>
<a href="#">
<img src="IMAGE_URL" alt="Lightning" width="580" height="360" title="" alt="" rel="<h3>TITLE 4</h3>Description 4"/>
</a>
<div class="caption">
<div class="content">
</div>
</div>
<div style="clear: both;">
</div>
</div>
  • Change IMAGE_URL with the url of your image and # with your post/page url and TITLE and Description with your content title and description and you're done :D

Popular Posts

 
Powered by Blogger.