berdasarkan saran dari Bang Kanal,aaf posting kembali

Sebelum Aaf post,aaf mohon izin kepada mods share ni tread :rose: ,kl ga berguna mohon di hapus..

langsung aja

ni kode buat taroh [b][u]CBOX di shoutout Control Panel[/u][/b]

kl ef es test page aaf lemot,ni aaf kasih screenshoot na di page lain na..
[img]http://h1.ripway.com/aaf/gambar/scrensot.jpg[/img]
[spoiler]// End
function shoutoutcus(){
var ephemeral = "<b>chat dng aaf nyok<br>"+pageViewerFName+"</b> <iframe frameborder='15' width='95%' height=270' src='[b]http,boxID,boxTAG CBOX[/b]main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxpst' id='cboxpst'></iframe><br/><form name='chat'style='background-color:transparent;border:3px double #cccccc;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#fffff;' target='cboxpst' action='[b]http,boxID,boxTAG CBOX[/b]submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><br><br><textarea style='overflow:hidden' style='background-color:transparent;border:3px outset #cccccc;font-family:Arial;font-weight:bold;font-size:12;color:#cccccc;'class='cboxMsgArea'cols='35' rows='2' name='pst'></textarea><br /><input type='submit' class='cboxuttons' value='Submit'style='background-color:transparent;border:3px double #cccccc;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:cccccc; name='ctrl'> <input class='cboxButtons' type='reset' value='Clear'style='background-color:transparent;border:3px double #999999;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#ffffff; maxlength='23' onClick='reset()'> <input type='button' class='cboxButtons' value='Refresh'style='background-color:transparent;border:3px double #999999;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#ffffff; name='cboxpst' onClick='window.cboxpst.location.href=document.getElementById(\"cboxpst\").src'></form>";
document.getElementById('cpShoutoutBox').style.height='420';
document.getElementById('cpShoutoutBox').style.overflow='auto';
document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";
}setTimeout("shoutoutcus()",4000);[/spoiler]

yg di bold ntu adalah url cbox,boxID,boxTAG CBOX lo, contoh nya
[b]
http://www5.cbox.ws/box/?[/b]boxid=[b]55555[/b]&boxtag=[b]XXXXX[/b]&sec=
'berdasarkan referensi bang Kanal taroh di bagian c
kl ada yg kurang mohon ditambah,maklum masih newbie...

[u][b]re-edit kode nya dr bang Kanal[/b][/u]
[spoiler]var ephemeral = "<b>chat dng aaf nyok<br>"+pageViewerFName+"</b> <iframe frameborder='15' width='95%' height=270' src='[b]http,boxID,boxTAG CBOX[/b]main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxpst' id='cboxpst'></iframe><br/><form name='chat'style='background-color:transparent;border:3px double #cccccc;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#fffff;' target='cboxpst' action='[b]http,boxID,boxTAG CBOX[/b]submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><br><br><textarea style='overflow:hidden' style='background-color:transparent;border:3px outset #cccccc;font-family:Arial;font-weight:bold;font-size:12;color:#cccccc;'class='cboxMsgArea'cols='35' rows='2' name='pst'></textarea><br /><input type='submit' class='cboxuttons' value='Submit'style='background-color:transparent;border:3px double #cccccc;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:cccccc; name='ctrl'> <input class='cboxButtons' type='reset' value='Clear'style='background-color:transparent;border:3px double #999999;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#ffffff; maxlength='23' onClick='reset()'> <input type='button' class='cboxButtons' value='Refresh'style='background-color:transparent;border:3px double #999999;font-family:Comic Sans MS;font-weight:bold;font-size:12;color:#ffffff; name='cboxpst' onClick='window.cboxpst.location.href=document.getElementById(\"cboxpst\").src'></form>";
document.getElementById('cpShoutoutBox').style.height='420';
document.getElementById('cpShoutoutBox').style.overflow='auto';
document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>";[/spoiler]
kata bang kanal taroh di bagian B referensi nya beliau... :rose:
terima kasih atas bantuan bang Kanal
Last edited by aaf (2008-05-17 22:48:39)