[quote=vhan_ra7ul]bro yg jago smuah,,,
tolongin donk,,,
sy mw buat chatbox,,
da seminggu blajar di tutor,,,
gak bisa"...
buatin sy cbox kalo bs niy,,,,
ni kode cbox saiyah,,,
<">dan ini kode css ma txt saya....
[url]http://h1.ripway.com/ichancasual/ungu.css[/url]
[url]http://h1.ripway.com/ichancasual/ungu2.txt[/url]
mohon bantuanx ya kaka ,,,,,
[/quote]
kode kamu yang d atas itu kode dapet dari cbox...
harus d edit dlo klo mo d jadiin box sendri..
coba liad d sni:
[quote]<!-- BEGIN CBOX -
www.cbox.ws -->
<div align="center" id="cboxdiv">
[b]<iframe frameborder="0" width="160" height="305" src="http://www3.cbox.ws/box/?boxid=2111691&boxtag=5211&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="160" height="75" src="http://www3.cbox.ws/box/?boxid=2111691&boxtag=5211&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe>[/b]
</div>
<!-- END CBOX -->[/quote]
dari kode d atas...
yg d butuhkan hanya yang dee tebelin...
abis itu d kasih fungsi add box:
[quote]var cbox="<div align='center' id='cboxdiv'>"+
"<[b]----paste kode cbox main d sni----[/b]>"+
"<[b]----paste kode cbox form d sni----[/b]>"+
"</div>";
addBox("[b]Chat Box[/b]",cbox,"cboxbox","right");[/quote]
dan ntar jadi nya:
[quote]var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder="0" width="160" height="305" src="http://www3.cbox.ws/box/?boxid=2111691&boxtag=5211&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><br/>"+
"<iframe frameborder="0" width="160" height="75" src="http://www3.cbox.ws/box/?boxid=2111691&boxtag=5211&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe>"+
"</div>";
addBox("Chat Box",cbox,"cboxbox","right");[/quote]
copas az d JS setelah onload handler
klo d bagian JS kmu,d bawah my link klo nggak d navigasi...
terserah
^_^
smoga brhasil..
smoga jua ngebantu..
^_^
Last edited by deeucul (2008-02-21 12:38:24)