karna udah banyak yang request, dan maksa maksa,,akhirnya topic ini dirilis juga..
[align=center][quote]:rose: [color=red][b]BACA DENGAN SEKSAMA[/b]:rose:
for educational purpose only[/color][/quote]
[/align]
ok,,syarat pertama, register terlebih dahulu di [b][url]http://www.cbox.ws[/url][/b]. gratis kok,
dapatkan code cbox yang bentuknya seperti ini:
[quote]<!-- BEGIN CBOX -
www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="160" height="305" src="[color=red]
http://www.cbox.ws/box/?boxid=1041333&boxtag=9690&sec=main[/color]" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="160" height="75" src="[color=green]
http://www.cbox.ws/box/?boxid=1041333&boxtag=9690&sec=form[/color]" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->[/quote]
temukan di code cbox kmu cbox [color=red]main[/color] dan [color=green]form[/color] nya..
copy dan paste code tersebut ke notepad. edit cbox [color=green]form[/color] menjadi [color=blue] submit[/color]. contoh:
[quote][color=red]
http://www.cbox.ws/box/?boxid=1041333&boxtag=9690&sec=main[/color]
[color=green]
http://www.cbox.ws/box/?boxid=1041333&boxtag=9690&sec=[/color][color=blue]submit[/color][/quote]
masukkan kedua url di atas ke dalam code cbox yang ini:
[quote]var cbox1="<div align='center' id='cboxdiv' style='width:100%;' >"+"<div style='border: 0px solid #000000';><iframe frameborder='0' width='100%' height='200' src='[color=red][b]URL_CBOX_MAIN[/b][/color]' scrolling='auto' allowtransparency='yes' name='khershout' id='khershout'></iframe><br></div><form name='chat' target='khershout' action='[color=green][b]URL_CBOX_SUBMIT[/b][/color]' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><textarea style='color: #CCCCCC; border: 1px solid #808080; background-color: #404040; padding: 4px; overflow:hidden' class='cboxMsgArea' cols='42' rows='4' name='pst'></textarea><br \><input type='submit' class='tombol' value='Submit' name='submit'><input class='tombol' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='tombol' value='Refresh' name='khershout' onClick='window.khershout.location.href=document.getElementById(\"khershout\").src'><br>"+"<div id='show' style='display: inline'><a href='javascript:showForm()'><font color='#ff6666'>[= show smilies =] </font></a></div>"+
"<div id='close' style='display: none'><a href='javascript:showForm()'><font color='#ff6666'>[= hide smilies =]</font></a></div>"+
"<div id='hide' style='display: none'>"+
"<div width='100%' style='border:0px solid #000000; background:transparent;padding:4px' align='center'>"+
"<a href=\"javascript:DoSmilie(' [b]:code:[/b] ')\"><img src='[b]URL_SMILIESNYA[/b]'></a>"+
"<a href=\"javascript:DoSmilie(' [b]:code:[/b] ')\"><img src='[b]URL_SMILIESNYA[/b]'></a>"+
"<a href=\"javascript:DoSmilie(' [b]:code:[/b] ')\"><img src='[b]URL_SMILIESNYA[/b]'></a>"+
"</div></div></form></div>";
addBox("RIGHT",pageOwnerFName+"'s ChatBox",cbox1,"cboxdiv",null);[/quote]
perhatikan tag ini:
[quote]"<a href=\"javascript:DoSmilie(' [b]:code:[/b] ')\"><img src='[b]URL_SMILIESNYA[/b]'></a>"+[/quote]
[b]URL_SMILIESNYA[/b] dan [b]:code:[/b] harus sesuai dengan yang di account cbox kmu..
contoh:
[quote][img]http://theftalk.com/img/smilies/biggrin.gif[/img] --> [b]:biggrin:[/b] --> [b]
http://theftalk.com/img/smilies/biggrin.gif[/b][/quote]
[b]:biggrin:[/b] adalah code smiliesnya, [b]
http://theftalk.com/img/smilies/biggrin.gif[/b] adalah URL_SMILIESNYA.
masuk ke [color=blue][u]SMILIES di account cbox kmu[/u][/color] untuk mengetahui code beserta url smiliesnya.
[i]note: code dan url smilies bisa diganti kok.[/i]
pastekan code yang telah kmu edit di atas ke [b]BAGIAN B[/b] sesuai referensi bang Kanal.
[quote]function onProfileLoad () {
[b]//DISINI[/b]
}[/quote]
langkah terakhir,,dan merupakan hal terpenting untuk smiliesnya.
copy code ini dan paste ke [b]BAGIAN C[/b] sesuai referensi bang Kanal.
<">thats all,,selamat mencoba.......
Last edited by KaNaLiTnUk (2008-03-10 13:38:11)