Friday, 8 July 2011

Script For How To Add Google +1 button to blog or website




The  Google +1 button appears in Google search result for recommendation. 



Now You Can Use This Button In Your Own Blog or Website
the Iframe code for this is:
<iframe allowtransparency="true" frameborder="0" hspace="0" id="phoenix_r1"
marginheight="0" marginwidth="0" name="tsetscript1" scrolling="no" 

src="https://plusone.google.com/u/0/_/+1/button?hl=en-US&amp;jsh=s;plusone:googleapis.client%4021550740_8d71de52/client;
googleapis.proxy%4021550740_8d71de52/proxy;
plusone:googleapis.client:iframes-styles-bubble%4021550740_8d71de52/bubble;
iframes-styles-bubble!plusone:googleapis.client%4021550740_8d71de52/bubble_only;
plusone-unsupported%4021550740_8d71de52/unsupported#url=PAGE_LINK&amp;
size=medium&amp;
count=true&amp;
id=phoenix_r1&amp;
parent=SITE_LINK&amp;
rpctoken=982298531&amp;
_methods=_ready,_close,_open,_resizeMe" 

style="width: 82px; height: 20px; position: static; left: 0px; top: 0px; visibility: visible;" tabindex="-1" vspace="0" width="100%"> 
</iframe>


NOTE:-
Replace PAGE_LINK With The Page You Want To Recommend 
e.g http://hackedcracked.blogspot.com/2011/07/script-for-how-to-add-google-1-button.html
Replace SITE_LINK With Your Site URL e.g http://hackedcracked.blogspot.com/

If You Want To Change The Id Of Frame.
Change tsetscript1 or just leave it .

Source Script Is Here


How To Add In Blogger

LogIN In Blogger 
Go to Design >> Page Element  >> Add a Gadget  >> Select HTML/JavaScript 
Paste Above Code Therein and save