2008-02-01 09:30:06

dadung
» FTalkManiac
FTalk Level: zero
970
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=yanstupid][quote=dadung]tulung iah :thumbsup: :thumbsup:[/quote] km sudah punya fungsi addbox ga ?? boleh saya liat?[/quote] ini broth :// PEMANGGILAN FUNGSI DEKLARASI BOX if(!attachOnLoadHandler(function() { boxbaru_ke1(); boxbaru_ke2(); } ) ) parent.onload = function() { boxbaru_ke1(); boxbaru_ke2(); } //PEMBUATAN FUNGSI DEKLARASI VARIABEL BOX KE-1 function boxbaru_ke1() { //AWAL DEKLARASI VARIABEL BOX KE-1 var box1 = "<div id='box1div'>"+ "<img src='http://www.geocities.com/darkfreed/moodicon/5.gif'>"+ "</div>"; addSideBar("HEADER1",box1,"box_ke1"); // DEKLARASI VAR BOX-1 SELESAI }setTimeout("boxbaru_ke1()",10000); // AKHIR DARI PEMBUATAN FUNGSI DEKLARASI VARIABEL BOX KE-1 // PEMBUATAN FUNGSI DEKLARASI VARIABEL BOX KE-2 function boxbaru_ke2() { //AWAL DEKLARASI VARIABEL BOX KE-2 var box2 = "<div id='box2div'>"+ "<object width='300' height='80'><param name='movie' value='http://media.imeem.com/m/Zbq3eSnrCg/aus=false/'></param><param name='wmode' value='transparent'></param><embed src='http://media.imeem.com/m/Zbq3eSnrCg/aus=false/' type='application/x-shockwave-flash' width='300' height='80' wmode='transparent'></embed></object>"+ "</div>"; addSideBar("HEADER2",box2,"box_ke2"); // DEKLARASI VAR BOX-2 SELESAI }setTimeout("boxbaru_ke2()",10000); // AKHIR DARI PEMBUATAN FUNGSI DEKLARASI VARIABEL BOX KE-2 //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; } lom diapa2in :( pngen nya sech ma tracker .js.. tapi g bisa edit nya :cry:

Last edited by dadung (2008-02-01 09:40:24)

Board footer

© 2024 F Talk

Current time is 19:19

[ 12 queries - 0.133 second ]
Privacy Policy