2007-12-31 15:59:01

☻KaNaLiTnUk☻
» Banned
FTalk Level: zero
45
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=pulasara]iya nich bang aku juga ga tau kenapa??? :( klw ga slh penyebabnya aku hapus good bye alert dari visitor oiyya bang thanks ya? pengen tanya lagi bang gmna sich caranya naruh WMV cbox di atas photo primary? :eh:[/quote] Itu harus diedit posisi dari WVMCBOX nya. Coba perhatikan disini OK script WVMCBOX yg asli dibawah ini dan lihat yg bagian tebal hitam dan biru. Sesuaikan deh dengan warnanya OK :thumbsup: [quote]if (!attachOnLoadHandler(function() { whoview();})) window.onload = function() { whoview();}; function whoview(){ WVMCBOX.init(); } if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; } WVMCBOX = { wvmcbox: [], message: ""+Date().replace(/\(.+\)/,"")+"", base: { "cboxdiv": ["www","boxID","boxtag"] }, init: function() { for (val in this.base) { this.wvmcbox = "<iframe frameborder=\"0\" width=\"100%\" height=\"95\" src=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"wvm_submit\" id=\"wvm_submit\">"+ "</iframe>"+ "<br />"+ "<div style=\"display:none\">"+ "<form id=\"cform\" target=\"wvm_submit\" action=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=submit\" method=\"post\">"+ "<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+ "<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+ "<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+this.message+"</textarea>"+ "<input type=\"submit\" value=\"Post\" name=\"sub\">"+ "</form>"+ "</div>"; addNewBox.HTML("Recent Visitor","<div id=\""+val+"\" align=\"center\">"+this.wvmcbox+"</div>","wvmcbox",[b]/friends/i[/b],"[color=blue][b]below[/b][/color]"); } if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { document.getElementById("cform").submit(); } } }; if (typeof addNewBox == "undefined") { addNewBox = {}; } addNewBox = { //addNewBox v2.2 /* header: HTML string name null - no header x: [color=blue][b]"above" - HTML string: at the above of sibling box "below" - HTML string: at the below of sibling box null - HTML string: at the very bottom of box[/b][/color] sibling:[b]- /controlpanel/i - /photos/i - /blogs/i - /reviews/i - /moreabout/i - /publiccomments/i - /scrapbook/i - /meettrail/i - /friends/i - /ads/i - /fanof/i - /groups/i[/b] */ li: [], ul: [], HTML: function(head,code,id,sibling,x) { this.li = document.createElement("LI"); if (!head) head = ""; else head = "<h2>"+head+"</h2>"; this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li); else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li); else if (x == "above") { this.ul = this.getModuleByClassName(sibling)[0]; this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode); } }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } };[/quote] Jadi nanti kalau mau WVMCBOX nya ada di atas CP scriptnya jadi begini. Ingat jadikan WVMCBOX JS tersendiri dan masukkan ke JS utama pakai script JS injection OK :) Ini script jadinya : [quote]if (!attachOnLoadHandler(function() { whoview();})) window.onload = function() { whoview();}; function whoview(){ WVMCBOX.init(); } if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; } WVMCBOX = { wvmcbox: [], message: ""+Date().replace(/\(.+\)/,"")+"", base: { "cboxdiv": ["www","boxID","boxtag"] }, init: function() { for (val in this.base) { this.wvmcbox = "<iframe frameborder=\"0\" width=\"100%\" height=\"95\" src=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=main\" marginheight=\"2\" marginwidth=\"2\" scrolling=\"auto\" allowtransparency=\"yes\" name=\"wvm_submit\" id=\"wvm_submit\">"+ "</iframe>"+ "<br />"+ "<div style=\"display:none\">"+ "<form id=\"cform\" target=\"wvm_submit\" action=\"http://"+this.base[val][0]+".cbox.ws/box/?boxid="+this.base[val][1]+"&boxtag="+this.base[val][2]+"&sec=submit\" method=\"post\">"+ "<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+ "<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+ "<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+this.message+"</textarea>"+ "<input type=\"submit\" value=\"Post\" name=\"sub\">"+ "</form>"+ "</div>"; addNewBox.HTML("Recent Visitor","<div id=\""+val+"\" align=\"center\">"+this.wvmcbox+"</div>","wvmcbox",[b]/controlpanel/i[/b],"[color=blue][b]above[/b][/color]"); } if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { document.getElementById("cform").submit(); } } }; if (typeof addNewBox == "undefined") { addNewBox = {}; } addNewBox = { //addNewBox v2.2 /* header: HTML string name null - no header x: "above" - HTML string: at the above of sibling box "below" - HTML string: at the below of sibling box null - HTML string: at the very bottom of box sibling:- /controlpanel/i - /photos/i - /blogs/i - /reviews/i - /moreabout/i - /publiccomments/i - /scrapbook/i - /meettrail/i - /friends/i - /ads/i - /fanof/i - /groups/i */ li: [], ul: [], HTML: function(head,code,id,sibling,x) { this.li = document.createElement("LI"); if (!head) head = ""; else head = "<h2>"+head+"</h2>"; this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li); else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li); else if (x == "above") { this.ul = this.getModuleByClassName(sibling)[0]; this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode); } }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } };[/quote]

Last edited by ☻KaNaLiTnUk☻ (2007-12-31 16:04:40)

Board footer

© 2024 F Talk

Current time is 23:38

[ 12 queries - 0.152 second ]
Privacy Policy