Kali ini saya ingin nge-post bagaimana cara saya
memasang burung twitter pada blog saya.
§
Klik Tata Letak > Tambahkan Gadget > Html/Javascript
§
Dan Copy paste kode ini ke kolom Html/javascript
: <!-- floating twitter Bird --><script
type="text/javascript"
src="http://bloggerpeer.googlecode.com/files/tripleflap.js"></script>
<script type="text/javascript">
var birdSprite="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqVp9LF4Wcv4Hftg0nNHeP61byzWkIw5rukXQ-4RFk-tQ0d_B1G31ZYp8IhoqpeiNz_VV4iR7J5yYPSdU3EAe6gb8pPaM5I5H5tgfWeyytPgny_EJW_X1-kkhdY2mQe0nm_1M7qjfrsMM/s1600/burung+twitter+terbang.png";
var targetElems=new Array("img","hr","table","td","div","input","textarea","button","select","ul","ol","li","h1","h2","h3","h4","p","code","object","a","b","strong","span");
var twitterAccount = "http://twitter.com/UserName";
var tweetThisText = "Twitter - UserID http://bloggerpeer.blogspot.com/";
tripleflapInit();
</script>
<script type="text/javascript">
var birdSprite="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqVp9LF4Wcv4Hftg0nNHeP61byzWkIw5rukXQ-4RFk-tQ0d_B1G31ZYp8IhoqpeiNz_VV4iR7J5yYPSdU3EAe6gb8pPaM5I5H5tgfWeyytPgny_EJW_X1-kkhdY2mQe0nm_1M7qjfrsMM/s1600/burung+twitter+terbang.png";
var targetElems=new Array("img","hr","table","td","div","input","textarea","button","select","ul","ol","li","h1","h2","h3","h4","p","code","object","a","b","strong","span");
var twitterAccount = "http://twitter.com/UserName";
var tweetThisText = "Twitter - UserID http://bloggerpeer.blogspot.com/";
tripleflapInit();
</script>
§
Ganti kode yang berwarna biru dengan nama pengguna
(username) akun Twitter. cth : DenayaNindita
§
Ganti kode yang berwarna merah dengan kode warna
burung yang saya pilih. kode :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2zj9Y6LxaSkMCOlZ1GIsaRzAL9ijeaD8sN_vIhqKwHwV0UHNsnQl0VRmbVoAn-s7VaSDHYj3vr9k-c3WrSGzQQ4kLNbLdoqx0rxa9-Vhv2M9lV1SiGwRGI0fVOmCxgDQ9DsRsvhWj96A/s1600/red+bird.png
§
Simpan dan hasilnya dapat dilihat di blog pribadi saya
ini.
Jadi, saya mendapat kode
seperti ini untuk menambahkan widget burung twitter pada blog pribadi saya
: <!-- floating twitter Bird -->
<script type="text/javascript"
src="http://bloggerpeer.googlecode.com/files/tripleflap.js"></script>
<script type="text/javascript">
varbirdSprite="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2zj9Y6LxaSkMCOlZ1GIsaRzAL9ijeaD8sN_vIhqKwHwV0UHNsnQl0VRmbVoAn-s7VaSDHYj3vr9k-c3WrSGzQQ4kLNbLdoqx0rxa9-Vhv2M9lV1SiGwRGI0fVOmCxgDQ9DsRsvhWj96A/s1600/red+bird.png";
vartargetElems=newArray("img","hr","table","td","div","input","textarea","button","select","ul","ol","li","h1","h2","h3","h4","p","code","object","a","b","strong","span");
var twitterAccount = "http://twitter.com/DenayaNindita";
var tweetThisText = "Twitter - UserID
http://bloggerpeer.blogspot.com/";
tripleflapInit();
</script>
Tidak ada komentar:
Posting Komentar