Google +1 Button |
Google +1 Button |
rkorzuch |
Mar 25 2012, 01:55 PM
Post
#1
|
Group: Members Posts: 3 Joined: 25-February 10 Member No.: 11,221 |
I don't know what I'm doing wrong and I can't seem to get this working.
I created a new blank html page and added the Google +1 per the following link: http://www.google.com/webmasters/+1/button/ Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test Page</title> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> </head> <body> <g:plusone annotation="inline" width="450"></g:plusone> </body> </html> Here is a link to the live page: https://www.illgo.org/test.html Thank you for any help. This post has been edited by rkorzuch: Mar 25 2012, 02:02 PM |
Lo-Fi Version | Time is now: 20th April 2024 - 12:21 AM |