Your Ad Here

Wednesday, December 2, 2009

HOW TO ADD ORKUT SHARE BUTTON TO BLOGGER

Follow the steps given below to add orkut share button to blogger blogs:
(Note : Before following this procedure, please take a backup of your template)

  • First of all sign in to your blogger blog and go to Layout -> Edit HTML.
  • Now click on Expand Widget templates.
  • Now copy and paste the following code above </head>

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('orkut.share', '1');
google.setOnLoadCallback(function() {
var params = {};
params[google.orkut.share.Field.TITLE] = 'Interesting Page!';
params[google.orkut.share.Field.DESTINATION_URL] = '<data:post.url/>';
var connection = new google.orkut.share.Connection(params);
document.getElementById('orkut-share').onclick =
function(e) { connection.send('orkut.com', {}); };
}, true);


Now search for the following code in your template :

<div class='post-header-line-1'>


and paste the following code below it :


<span id="orkut-share" style="cursor:pointer;">
<img src="http://i48.tinypic.com/2d98wtg.gif"/>
</span>

</script>



That’s all. Save your template and see the changes.

0 comments:

Post a Comment

Your Ad Here

RECENT VISITORS