Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:02:06 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155550 Posts in 21714 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Droplet Google +1  (Read 789 times)
LonelyWolf

Offline Offline

Posts: 33



WWW
« on: July 14, 2011, 04:03:32 PM »

Dal backend Admin tools->droplets->aggiungi droplet

Nome: googleplus1
Descrizione: bottone google +1
codice:
Code:
$button = '<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: \'it\'}</script>';
$button .= '<div id="plusone-div" class="plusone"></div>';

$button .= '<script type="text/javascript">';
$button .= 'gapi.plusone.render(\'plusone-div\',{"size": "small", "count": "true"});';
$button .= '</script>';

return $button;

Usate come al solito: [[googleplus1]]

Valida strict!
Logged

maverik

Offline Offline

Posts: 1568



WWW
« Reply #1 on: July 14, 2011, 11:03:55 PM »

funziona perfettamente
Logged

Signatur wird geladen...
Harry P.

Offline Offline

Posts: 90


« Reply #2 on: August 09, 2011, 01:34:04 PM »

Sono d'accordo. Bella idea di mettere il codice in una droplet!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!