2007-10-21 09:15:24

ruslan
» n00b
FTalk Level: zero
52
0
1969-12-31

Re: nah.. d snii temen2 skalian bisa nanya mengenai problem2 FS.. [jangan problem cinta.. itu mah lain. . :P hwehwehwehwe].. ya? byr ga ad SPAMMER d section Indo..hewhehwe.. :eh: peace and love,.. :

[quote=ayunk_razchal]Atau bro Aan bisa coba pakai code berikut dengan fungsi lain : [quote]function scoobydoo(){ var box1 = " <div align=\"left\" id=\"cboxdiv\">"+ "<iframe frameborder=\"0\" width=\"300\" height=\"305\" src=\"http://www3.cbox.ws/box/?boxid=2760482&boxtag=6145&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"cboxmain\" style=\"border:#EDDEDB 1px solid;\" id=\"cboxmain\"></iframe><br/>"+ "<iframe frameborder=\"0\" width=\"300\" height=\"75\" src=\"http://www3.cbox.ws/box/?boxid=2760482&boxtag=6145&sec=form\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"no\" allowtransparency=\"yes\" name=\"cboxform\" style=\"border:#EDDEDB 1px solid;border-top:0px\" id=\"cboxform\"></iframe>"+ "</div>"; addSideBar("NILMA CHATBOX",box1,"[color=red][b]2[/b][/color]"); var box2 = "<div align='left'><embed allowScriptAccess='never' src='http://www.myspaceprodesigns.com/RedDragon/3.swf' menu='false' quality='high' width='200px' height='300px' name='index' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' flashvars='playList=http://www.myspaceprodesigns.com/xml/aan.xml' wmode='transparent' /><br />"+ "</div>"; addSideBar("MP3",box2,"[color=red][b]2[/b][/color]"); }setTimeout("scoobydoo()",6000); //addSideBar SCRIPT function addSideBar(head,htm,div_id) { var innerHtm=htm; var cont= "<div id='"+div_id+"' class='commonbox "+div_id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+div_id+"'>"+ innerHtm+ "</div>"+ "</div>"; try { var obj=document.createElement("<li>"); } catch(e) { var obj=document.createElement("li"); } var x=document.getElementById("2"); x.parentNode.parentNode.appendChild(obj); obj.innerHTML=cont; }[/quote] Perhatikan [color=red][b]div_id[/b][/color] yang dicetak tebal. Codenya bekerja di profile testq kok :D , Untuk mengetest code tsb sebaiknya bro aan tdk memasang code js lain untuk mengecheck code addsidebarnya bekerja apa nggak =) Setelah dah dicheck dan bekerja barulah tambahkan code ekstensi JS yang lain diluar atau didalam fungsi onload handlernya.[/quote] bro makasih jga nih dah ngasi saran na :thumbsup: add sidebarna skr dah gak masalah lgi, tinggal visitorna aja nih yg lom jalan :wallbash: :wallbash: ...kira2 bro ayunk bisa bantuin gak nih :ninja:

Board footer

© 2024 F Talk

Current time is 22:35

[ 12 queries - 0.104 second ]
Privacy Policy