Macam mana cara nak buat Labels ada awan-awan terbang macam blog OdahOne ni? Boleh ajar tak?
Ok, caranya senang jek...Ikut langkah-langkah kat bawah ni step by step sure berjaya buat labels awan nano yang berterbangan kat blog anda...OdahOne suka buat tutorial secara bergambar untuk senang faham...So, jangan pening kepala kalau tengok banyak sangat gambar...KLIK pada gambar untuk lihat image yang lebih besar & jelas...Boleh try & error buatlah sampai anda berjaya...Kita mulakan dari A to Z...
1. Firstly, SIGN IN dulu ke account blogger anda. Then, KLIK pada 'Design' |
2. KLIK 'Template' & seterusnya klik 'EDIT HTML' |
3. KLIK 'Proceed' untuk ke langkah seterusnya |
5. Tekan 'F3' atau 'Ctrl F' supaya keluar menu macam di atas. Kemudian copy code ini; <b:section class='sidebar' id='sidebar' preferred='yes'> & paste diruangan tersebut & press 'ENTER' |
6. CARI code seperti berikut atau yang seakan-akan sama;
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='Label99' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://halotemplates.s3.amazonaws.com/wp-cumulus-example/swfobject.js' type='text/javascript'/>
<div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a> Posted by <a href='http://adesyams.blogspot.com/'>Ade'S Tricks</a></div>
<script type='text/javascript'>
var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");
// uncomment next line to enable transparency
//so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tspeed", "100");
so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");
so.addParam("allowScriptAccess", "always");
so.write("flashcontent");
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://halotemplates.s3.amazonaws.com/wp-cumulus-example/swfobject.js' type='text/javascript'/>
<div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a> Posted by <a href='http://adesyams.blogspot.com/'>Ade'S Tricks</a></div>
<script type='text/javascript'>
var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");
// uncomment next line to enable transparency
//so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tspeed", "100");
so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");
so.addParam("allowScriptAccess", "always");
so.write("flashcontent");
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>
Variable untuk lebar dan tinggi ada pada baris script berikut, cari & edit pada script tersebut mengikut kesesuaian blog anda
var so = new SWFObject("http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf", "tagcloud", "240", "300", "7", "#ffffff");
300 menunjukkan tinggi widget (saiz standard)
#ffffff menunjukkan warna background (warna default ialah White boleh ubah guna code warna sendiri)
so.addVariable("tcolor", "0x333333");
so.addVariable("tspeed", "100");
so.addVariable("tagcloud", "<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>");
//so.addParam("wmode", "transparent");
0 KOMEN:
Post a Comment