Pages: 123

  2009-01-26 03:07:46

y4sir
» FTalkFreak
FTalk Level: zero
1976
0
1969-12-31

Re: Membuat Public Comment Box berformat Tabs [b][update 15-09-2008][/b] Menambah option optOwnBox, supaya Public Comment bisa ditaruh di addBox(...) [b]Update Log:[/b] [spoiler][b][update 13-09-2008][/b

[quote=Rikizikami]ka', nyisipin gambar ini : http://tekfatliu.50webs.com/flash/comment.swf dimana ya? trus koq bentuk tab punya ku jadi aneh yah? liat deh : http://www.friendster.com/rikizikami mohon petuah'a kk sekalian...:crybaby:[/quote] klo mw tnya mdingan lgsung k konsul jah !!! klo mw nyelipin itu !!! msukin ksini [spoiler]//Put you text, picture etc. in this HTML string var strMyTCLayout = "<br><br><table align='center'><tr><td width='150px' bgcolor='#C8E458' ><div align='center'>[b]<img src='url_gambar'>[/b]</div></td><td width='300px'><div style='text-align:center'>The greatest pain is <span style='color:skyblue'>Loneliness</span>.<br>I stand in front of everyone, looking for comfort..<br>but all I see are eyes of disgust.<br>Someday I will become Hokage,<br>and let everyone acknowledge my <span style='color:skyblue'>STRENGTH</span>.</div></td></tr></table>"; //Do not edit this var -- arrTabsComments, n don't forget to include this var arrTabsComments = []; tflTabsComment(arrTabsComments,strMyTCLayout,'fade',1500); // function tflTabsComment(v,w,x,y,z){ //tflTabsComment [update 15-09-2008] //by tekfatliu, copyright 2008 http://profiles.friendster.com/47964002 //credits: tekfatliu, mooTools //licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html //Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. //Author will not be liable of ANY damage through the use of this program function tflMakeTab(x,y){ var b=new Array("1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th");var c="";var d="";var f="#"+y+" div.viewall";var e="#"+y+" div.fitem1wrapper";$$(e).each(function(a,i){c+="<li><a href='javascript:void(0)' title='"+b[i]+" Comment'>"+b[i]+"</a></li>";d+="<div id='tfltabcontent"+b[i]+"' class='tfltabcontent'><div class=fitem1wrapper>"+a.innerHTML.replace(/<script(.+?)script>/i," ")+"</div></div>"});$(y).setHTML(x+"<div style='padding:15px'>"+$$(f)[0].innerHTML+"</div><a name='tflWasHere'></a><div><ul id='tfltabpanel' class='tfltpwrapper'>"+c+"</ul></div><div class='tfltcwrapper'>"+d+"</div>")} function tflSetClickEvent(x,y,z){ $$('#tfltabpanel li a').each(function(c,i){(y=='slide')?x.push(new Fx.Slide($$('.tfltcwrapper div.fitem1wrapper')[i],{duration:z})):x.push(new Fx.Style($$('.tfltcwrapper div.fitem1wrapper')[i],'opacity',{duration:z}));c.addEvent('click',function(el){if(!$(c).hasClass('selected')){$$('#tfltabpanel li a').each(function(a,i){if($(a).hasClass('selected')){(y=='slide')?x[i].slideOut():x[i].start(1,0);$(a).removeClass('selected');$$('.tfltcwrapper div.tfltabcontent')[i].removeClass('enabled')}});var b="tfltabcontent"+$(c).innerHTML;$(c).addClass('selected');$(b).addClass('enabled');(y=='slide')?x[i].slideIn():x[i].start(0,1)}});if(i==0){$$('#tfltabpanel li a')[i].addClass('selected');$$('div.tfltabcontent')[i].addClass('enabled')}else{(y=='slide')?x[i].slideOut():x[i].set(0)}})}var u="47964002\"><EMBED pluginspage='http://www.macromedia.com/go/getflashplayer' src='http://tekfatliu.web44.net/FS/flash/testi.swf' width='75' height='75' type='application/x-shockwave-flash' align='middle' wmode='transparent' quality='high'></EMBED></a></div>Hi, " + pageViewerFName + "<br>Did U Notice<br>Something<br><span style='color:#FFCC66'>DIFFERENT?</span>";$('content_18').setHTML($('content_18').innerHTML.replace(/47964002"><img src(.+?)div>/gi, u));x=x||'slide';y=y||1000;z=z||'18';z='content_'+z;if(z!="content_18"){$(z).setHTML($('content_18').innerHTML);$('content_18').setHTML("Moved the Contents")}tflMakeTab(w,z);tflSetClickEvent(v,x,y)} //end of tflTabsComment();[/spoiler] tuch liat yang w boldin :D

Pages: 123

Board footer

© 2025 F Talk

Current time is 22:44

[ 12 queries - 0.019 second ]
Privacy Policy