Home » » avatar mybloglog

avatar mybloglog



ehm.. ehm.. salam metal! hehehe...
kali ini, aku mo mosting cara buat foto/avatar mybloglog.
gunanya, ntar kalo kita ngirim komentar, foto/avatarnya bukan foto/avatar yg ada pada profilemu, melainkan foto/avatar mybloglogmu.

...so, yg lum punya account mybloglog, buruan klik Join My Community at MyBloglog! untuk join. hii

# pertama, langsung aja masuk ke edit HTML (jangan lupa tuk nyentang expand widget templates)

# kedua, masukin kode dibawah sebelum kode </head>

<script type='text/javascript'>
//<![CDATA[
/*
Merlinox and Napolux MyBlogLog Avatar Creator
created by Merlinox (blog.merlinox.com)
helped by Napolux (www.napolux.com)
version 0.1 (20061214)
version 0.2 (20061215)
compatible with all blogger blog
*/
if(typeof(myLayer)!='function'){
function myLayer (x){
//individuo l'oggetto
if(document.layers){ // browser="NN4";
lay=document.layers[x];
}
if(document.all){ // browser="IE";
lay=eval("document.all." + x);
}
if(!document.all && document.getElementById){ // browser="NN6+ or IE5+ if you're willing to dump the !document.all stuff";
lay=document.getElementById(x);
}
return lay;
}
}
//lo prendo da blogger
function myBlogAvatar(codiceCommento,autore,stile){
//scrivo lo span
//var myBlogSpan = "myBlog-" + codiceCommento;
//document.write("<span id='" + myBlogSpan + "'><i>myBlogLog...</i></span>");
//metto tutto minuscolo perchè indexOf è case sensitive
if (autore != ""){
alt="MyBlogLog: " + autore;
myBlog = "<a target='_blank' href=\"http://www.mybloglog.com/buzz/co_redir.php?href=" + autore + "\" rel='nofollow'><img src=\"http://pub.mybloglog.com/coiserv.php?href=" + autore + "\" alt=\"" + alt + "\" title=\"" + alt + "\" border=\"1\" class=\"myBlogAvatar\"></a>";
//myLayer(myBlogSpan).innerHTML = myBlog + myLayer(myBlogSpan).innerHTML;
//myLayer(myBlogSpan).innerHTML = myBlog;
document.write(myBlog);
}
}
//]]>
</script>

# tyuz, tyuz, cari kode <b:loop values='data:post.comments' var='comment'>
lau masukin kode ini setelah kode tadi:

<div style='border:0;float:left;margin: 0 5px 0 0;'>
<script>
myBlogAvatar('<data:comment.id/>','<data:comment.authorUrl/>');
</script>
</div>

...udah? ...kalo udah, ya udah.
wkwkwk

selamad mencoba
Share this article :

+ komentar + 13 komentar

Anonymous
Wednesday, December 02, 2009 4:50:00 PM

pertamaxxxxxxx

oche aq coba yowww master!!!

Wednesday, December 02, 2009 6:19:00 PM

belom punya akun mybloglog

Wednesday, December 02, 2009 7:36:00 PM

mantap dan ok deh..

Wednesday, December 02, 2009 7:37:00 PM

apa tidak berat blog mas??

Thursday, December 03, 2009 3:43:00 PM

salam sobat
trims ilmunya
pingin coba juga ah..buat foto/avatar mybloglog,
semoga ngga kesulitan ,,

Thursday, December 03, 2009 4:46:00 PM

@ omzen, haha! iya tuch! hii :c:

@ Nova, ...npa gk buat? :d:

@ rmah blogger, mksiih... :m:

@ sabirinnet, ...nggak kok maz. :h:

@ NURA, iya. amin. :d:

Thursday, December 03, 2009 6:48:00 PM

makasih infonya ya sob :f:

Thursday, December 03, 2009 7:10:00 PM

thanks for share ta bro

Thursday, December 03, 2009 8:33:00 PM

@ asep canda + rifky, he'eh. :c:

Saturday, December 05, 2009 8:59:00 AM

keren nie... bagus bagus bagus...
makasih yah...

Saturday, December 05, 2009 3:38:00 PM

iia mbak inaaa.. :m:

Sunday, December 06, 2009 6:46:00 PM

salam sobat
trims ilmunya
pingin coba nich ya,,
avatar mybloglognya

Tuesday, December 08, 2009 3:39:00 PM

:j: mantab infonya....maju teyus ya... :l:

Post a Comment

Silahkan berkomentar dengan baik, sopan, bijak dan membangun demi kepentingan bersama.

 
Support : My personal blog - Yusron Krista
Copyright © 2011. Leciku - Portal Berita Anak Muda - All Rights Reserved
Proudly powered by Blogger