Author Topic: Please help Add Google Friend Connect In my site footer  (Read 869 times)

0 Members and 1 Guest are viewing this topic.

Offline kirula

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Please help Add Google Friend Connect In my site footer
« on: November 06, 2009, 04:51:11 AM »
  Please help Add Google Friend Connect In my site   footer  (http://www.google.com/friendconnect/)

Thanks 
kirula



----www.siyalu.com/videos------

Offline Shave.

  • Development Team
  • Full phpd Member
  • *******
  • Posts: 80
  • Karma: 0
    • View Profile
    • PHPD Mods
Re: Please help Add Google Friend Connect In my site footer
« Reply #1 on: November 06, 2009, 09:47:35 AM »
Hi could you post the code that you need to include so I can try and make it work for you.

Thanks,
James.

Offline kirula

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Please help Add Google Friend Connect In my site footer
« Reply #2 on: November 06, 2009, 10:19:51 AM »
<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-8808099066860071374"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['POSITION'] = 'bottom';
skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
skin['HEADER_TEXT'] = 'Comments';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderSocialBar(
 { id: 'div-8808099066860071374',
   site: '13488708431337050051',
   'view-params':{"scope":"SITE","features":"video,comment","showWall":"true"}
 },
  skin);
</script>