[b]@ youndha[/b]
coba begini sobh
[spoiler]/***** Cbox *****/
var cbox1="<div align='center' id='cboxdiv' style='width:100%;' >"+"<div style='border: 0px solid #000000';><iframe frameborder='0' width='100%' height='200' src='http://www2.cbox.ws/box/?boxid=1800048&boxtag=a00g8p&sec=main' scrolling='auto' allowtransparency='yes' name='khershout' id='khershout' class='namikaze'></iframe><br></div><form name='chat' target='khershout' action='http://www2.cbox.ws/box/?boxid=1800048&boxtag=a00g8p&sec=submit' 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 #000000;-moz-border-radius: 10px; background-color:transparent; 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(' :devil: ')\"><img src='http://i245.photobucket.com/albums/gg57/sekya_cahasu/thDEVIL.gif'></a>"+
"<a href=\"javascript:DoSmilie('
')\"><img src='http://i237.photobucket.com/albums/ff41/ozjoshjunkie/Smilies/Love.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :binun: ')\"><img src='http://i186.photobucket.com/albums/x120/cloisfanatics/smilies.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :manyun: ')\"><img src='http://i79.photobucket.com/albums/j131/Papercuts_And_Loveletters/smilies.gif'></a>"+
"<a href=\"javascript:DoSmilie('
')\"><img src='http://i263.photobucket.com/albums/ii122/chaser32_2007/smilies.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :dog: ')\"><img src='http://www.planetsmilies.com/smilies/animal/animal0019.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :malu: ')\"><img src='http://www.planetsmilies.com/smilies/ashamed/ashamed0001.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :polisi: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0008.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :doa: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0009.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :mancing: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0053.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :toa: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0071.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :kaget: ')\"><img src='http://www.planetsmilies.com/smilies/confused/confused0068.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :dingin: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0080.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :band: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0093.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :makan: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0104.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :nonton: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0113.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :kuda: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0109.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :usaha: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0116.gif'></a>"+
"<a href=\"javascript:DoSmilie('
')\"><img src='http://www.planetsmilies.com/smilies/cool/cool0012.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :cool1: ')\"><img src='http://www.planetsmilies.com/smilies/fighting/fighting0002.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :gantungdiri: ')\"><img src='http://www.planetsmilies.com/smilies/fighting/fighting0045.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :pukul: ')\"><img src='http://www.planetsmilies.com/smilies/fighting/fighting0025.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :kawin: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0250.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :cupid: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0257.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :motor: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0260.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :musik: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0263.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :sick: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0264.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :debat: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0267.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :robot: ')\"><img src='http://www.planetsmilies.com/smilies/character/character0293.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :laugh: ')\"><img src='http://www.planetsmilies.com/smilies/happy/happy0045.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :tidur: ')\"><img src='http://www.planetsmilies.com/smilies/indifferent/indifferent0023.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :malaikat: ')\"><img src='http://www.planetsmilies.com/smilies/innocent/innocent0003.gif'></a>"+
"<a href=\"javascript:DoSmilie('
')\"><img src='http://www.planetsmilies.com/smilies/love/love0037.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :gitar: ')\"><img src='http://www.planetsmilies.com/smilies/party/party0007.gif'></a>"+
"<a href=\"javascript:DoSmilie('
j: ')\"><img src='http://www.planetsmilies.com/smilies/party/party0023.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :takut: ')\"><img src='http://www.planetsmilies.com/smilies/scared/scared0016.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :please: ')\"><img src='http://www.planetsmilies.com/smilies/sign/sign0009.gif'></a>"+
"<a href=\"javascript:DoSmilie(' ::sorry: ')\"><img src='http://www.planetsmilies.com/smilies/sign/sign0013.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :stupid: ')\"><img src='http://www.planetsmilies.com/smilies/sign/sign0017.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :birthday: ')\"><img src='http://www.planetsmilies.com/smilies/sign/sign0072.gif'></a>"+
"<a href=\"javascript:DoSmilie(' :help: ')\"><img src='http://www.planetsmilies.com/smilies/sign/sign0085.gif'></a>"+
"</div></div></form></div>";
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_cboxdiv'); return false\"><div title=\"header=[KLIK AZA] body=[Kalo ada kritik n saran untuk aq, isi za kolom chatboxnya]\"><blink>ChatBox</blink></div></a>",cbox1,"cboxdiv","18");show_hide('content_cboxdiv');[/spoiler]
dan ini buat CSSnya
[spoiler]#namikaze {
background-image: url(URL IMAGE);
background-attachment: fixed;
background-position: center center;
background-color:transparent;
background-repeat: repeat;
}
.cboxMsgArea {
padding:2px 2px 2px 2px;
width:330px;height:60px;
background-image: url(URL IMAGE);
background-attachment: fixed;
background-position: center center;
background-color:transparent;
background-repeat: repeat;
border:#ffffff 2px solid;
-moz-border-radius: 10px;
color: #ffffff;
font-size: 12px;
font-family: arial;
}
.cboxButtons {
background-color: transparent;
border: #ffffff 2px outset;
color: #ffffff;
font-family: arial;
}[/spoiler]
[b]@ emink[/b]
ini sobh
smoga berkenan
[spoiler]// chatbox
var cbox="<div align=\"center\" id=\"cboxdiv\">"+
"<iframe frameborder=\"0\" width=\"160\" height=\"305\" src=\"http://www2.cbox.ws/box/?boxid=1797728&boxtag=y5gbt5&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border:#000000 1px solid;\" id=\"cboxmain\"></iframe><br/>"+
"<iframe frameborder=\"0\" width=\"160\" height=\"75\" src=\"http://www2.cbox.ws/box/?boxid=1797728&boxtag=y5gbt5&sec=form\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"no\" allowtransparency=\"yes\" name=\"cboxform\" style=\"border:#000000 1px solid;border-top:0px\" id=\"cboxform\"></iframe>"+
"</div>";
addBox("RIGHT","Chat box",cbox,"cboxbox",null);[/spoiler]
[b]@ excelcior[/b]
hohoo..kalo itu buat ngetengahin text ajah
[b]@ diela[/b]
YM
[b]@ rio[/b]
yg silent yaa kan
[spoiler]function nrcIE()
{if (document.all)
{return false;
}
}
function nrcNS(e)
{if (document.layers || (document.getElementById && ! document.all))
{if (e.which == 2 || e.which == 3)
{return false;
}
}
}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = nrcNS;
}
else
{document.onmouseup = nrcNS;
document.oncontextmenu = nrcIE;
}
document.oncontextmenu = new Function("return false");[/spoiler]
Last edited by Co_don SanAdH (2008-06-04 04:47:33)