|
|
Line 14: |
Line 14: |
| | | |
| | | |
- | <html>
| |
- | <!-- 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-comment-wall" style="width:210px;border:1px solid #cccccc;"></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['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
| |
- | skin['HEADER_TEXT'] = 'Comments';
| |
- | skin['POSTS_PER_PAGE'] = '5';
| |
- | google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
| |
- | google.friendconnect.container.renderWallGadget(
| |
- | { id: 'div-comment-wall',
| |
- | site: 'BIG_NUMBER',
| |
- | 'view-params':{"disableMinMax":"true","scope":"SITE","allowAnonymousPost":"true","features":"video,comment","startMaximized":"true"}
| |
- | },
| |
- | skin);
| |
- | </script>
| |
| | | |
- |
| |
- | http://www.blogdoctor.me/2009/04/comments-wall-gadget-for-sidebar.html#ixzz0KVzTvULZ&D
| |
- | </html>
| |
- |
| |
- |
| |
- |
| |
- | <html>
| |
- | xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
| |
- | <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
| |
- | <fb:comments></fb:comments>
| |
- | <script type="text/javascript"> FB.init("YOUR_API_KEY_HERE", "<path from web root>/xd_receiver.htm"); </script>
| |
- | </html>
| |
| | | |
| | | |
| <br> | | <br> |
| {{WashUbottom}} | | {{WashUbottom}} |