• ARCHIVES 
  • » [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

Pages: 12

[b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

KaNaLiTnUk
» FTalkFreak
FTalk Level: zero
1911
0
1969-12-31

[b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

[b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for commentor box (PS : I remove the smileys :D) and also make your comment slide automatically. Just add this script into you main JS :) :arrow: [b]FF user script :[/b] [spoiler]comLinks=content_18.getElementsByTagName("div")[0].innerHTML document.getElementById("18").style.display="none" navBg.innerHTML+="<div id='myComments' class='commonbox myComments'>" +"<h2>Testimonials and Comments for "+pageOwnerFName+"</h2>" +"<div id='content_myComments'>" +"<div class='viewall'>" +comLinks +"</div>" +"<div class='fitem1wrapper' id='fitem1wrapperCom'>" +"</div>" +"</div>" +"</div>" document.getElementById("6").parentNode.appendChild(myComments) testiCount=0 slideTesti=new Array() function getComments(){ a=content_18 b=a.getElementsByTagName('table') for(x=0;x<b.length;x++){ slideTesti[x]=b[x].innerHTML } tickComments() } function tickComments(){ if(testiCount<b.length){ fitem1wrapperCom.innerHTML=slideTesti[testiCount] testiCount++ if(testiCount==slideTesti.length){ testiCount=0 } setTimeout("tickComments()",5000) } } if(navigator.appName.indexOf("Netscape")!=-1){ getComments() } if (!attachOnLoadHandler(function(){COMMENTOR.init();})) window.onload = function(){COMMENTOR.init();}; if (typeof COMMENTOR == "undefined") { COMMENTOR = {}; } COMMENTOR = { comment: [], init: function() { this.comment = document.getElementById("content_myComments").getElementsByTagName("div")[0]; this.comment.innerHTML = "<div class=\"viewall\" id=\"quickreply\"><center>"+ "<form name=\"testimonial_form\" method=\"post\">"+ "<input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\">"+ "<input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\">"+ "<input type=\"hidden\" name=\"_submitted\" value=\"1\">"+ "<table class=\"formtable\"><tr><td class=\"value\">"+ "<textarea id=\"thingy\" rows=\"5\" cols=\"100\" name=\"body\"></textarea>"+ "</td></tr><tr><td class=\"value\">"+ "<input readonly type=\"hidden\" name=\"inputcount\" size=\"4\" maxlength=\"4\" value=\"1000\">"+ "<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff' type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Submit\"> "+ "<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff' class=\"cancelButtons\" type=\"reset\" name=\"cancel\" value=\"Clear\" maxlength=\"25\"><br>"+ "</td></tr></table></form></center></div><br><hr><br>"; } };[/spoiler] :arrow: [b]IE user script :[/b] [spoiler]comLinks=content_18.getElementsByTagName("div")[0].innerHTML document.getElementById("18").style.display="none" navBg.innerHTML+="<div id='myComments' class='commonbox myComments'>" +"<h2>Testimonials and Comments for "+pageOwnerFName+"</h2>" +"<div id='content_myComments'>" +"<div class='viewall'>" +comLinks +"</div>" +"<div class='fitem1wrapper' id='fitem1wrapperCom'>" +"</div>" +"</div>" +"</div>" document.getElementById("6").parentNode.appendChild(myComments) testiCount=0 slideTesti=new Array() function getComments(){ a=content_18 b=a.getElementsByTagName('table') for(x=0;x<b.length;x++){ slideTesti[x]=b[x].innerHTML } tickComments() } function tickComments(){ if(testiCount<b.length){ fitem1wrapperCom.innerHTML=slideTesti[testiCount] testiCount++ if(testiCount==slideTesti.length){ testiCount=0 } setTimeout("tickComments()",5000) } } getComments() if (!attachOnLoadHandler(function(){COMMENTOR.init();})) window.onload = function(){COMMENTOR.init();}; if (typeof COMMENTOR == "undefined") { COMMENTOR = {}; } COMMENTOR = { comment: [], init: function() { this.comment = document.getElementById("content_myComments").getElementsByTagName("div")[0]; this.comment.innerHTML = "<div class=\"viewall\" id=\"quickreply\"><center>"+ "<form name=\"testimonial_form\" method=\"post\">"+ "<input type=\"hidden\" name=\"testimonial_firstname\" value=\""+pageOwnerFName+"\">"+ "<input type=\"hidden\" name=\"testimonial_uid\" value=\""+pageViewerID+"\">"+ "<input type=\"hidden\" name=\"_submitted\" value=\"1\">"+ "<table class=\"formtable\"><tr><td class=\"value\">"+ "<textarea id=\"thingy\" rows=\"5\" cols=\"100\" name=\"body\"></textarea>"+ "</td></tr><tr><td class=\"value\">"+ "<input readonly type=\"hidden\" name=\"inputcount\" size=\"4\" maxlength=\"4\" value=\"1000\">"+ "<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff' type=\"button\" name=\"Submit\" onMouseOver=\"window.status='Post';return true;\" onClick=\"document.testimonial_form.action='http://www.friendster.com/testimonials.php?uid="+pageOwnerID+"&action=add';document.testimonial_form.submit();\" value=\"Submit\"> "+ "<input style='padding: 4px 0; margin: 10px 0 6px 0;font-family:Arial;font-weight:bold;color:#17728f;border:1px solid #196B91;background-color:#ffffff' class=\"cancelButtons\" type=\"reset\" name=\"cancel\" value=\"Clear\" maxlength=\"25\"><br>"+ "</td></tr></table></form></center></div><br><hr><br>"; } };[/spoiler] [b]Addition:[/b] if you want to control the size of the images posted in your slide comment, just add this CSS extension : [quote]#fitem1wrapperCom .data img { width:[b]320[/b]; }[/quote] Just edit the bold part OK. Happy tweaking FTalk'ers :thumbsup: [b][u]UPDATE[/u] :[/b] Due to FS updates recently, you must add this script inside your CSS extension to hide the default testimonial box : [quote]head:first-child + body .publiccomments{display:none!important}[/quote]

Last edited by KaNaLiTnUk (2008-10-14 12:38:11)

Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

So i think comments shouldnt be approved automatically...correct me if im wrong buddy.. Do visitors can post comments as well? or only your added friends? anyway,.thanks for sharing it here buddy..am gona try this one for sure..:thumbsup: thanks to feruzz and angell de ville as well..great coders..:thumbsup:

Last edited by lordheinz (2008-08-25 08:27:54)

kacang`z
» FTalkWhiz
FTalk Level: zero
Some FTalkers ♥ My Threads!
2662
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nice bro...... :thumbsup: i come back....... in the your treed =) thanks for sharing... :thumbsup:
KaNaLiTnUk
» FTalkFreak
FTalk Level: zero
1911
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

[quote=lordheinz]anyway,.thanks for sharing it here buddy..am gona try this one for sure..:thumbsup: thanks to feruzz and angell de ville as well..great coders..:thumbsup:[/quote] Only addded friends can comment with this commentor box LH and please don't approve comment automatically :) You're right LH. Angell and Feruzz are really great coders. I just try to make something new by using their codes coz I'm just a tweaker :D [quote=kacang`z]nice bro...... :thumbsup: i come back....... in the your treed =) thanks for sharing... :thumbsup:[/quote] You're welcome bro Kacang :)

Last edited by KaNaLiTnUk (2008-08-25 10:11:40)

miztahz
» FTalker
FTalk Level: zero
228
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

[quote=KaNaLiTnUk]This a simple JS trick combination for commentor box (PS : I remove the smileys ) and also make your comment slide automatically. Just add this script into you main JS (FF only script)[/quote] how to use for IE user?? like me??
joenathan
» FTalkAddict
FTalk Level: zero
375
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

ahahah i use in my js external :D and is working in my profile =) thanks 4 sharing the code senor kanalitnuk :thumbsup:
cklahrckiey
» FTalkFreak
FTalk Level: zero
1891
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

bang you did it again! :D :thumbsup: green colored button is on the way =D
KaNaLiTnUk
» FTalkFreak
FTalk Level: zero
1911
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

[quote=miztahz]how to use for IE user?? like me??[/quote] OK then I will update the script bro Miztahz coz for the IE user the slide comment script will be slightly different. [b]1st post updated for IE user also[/b] :thumbsup:

Last edited by KaNaLiTnUk (2008-08-25 10:59:08)

gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

thanks bang Kanal, i'm really2 confuse find this script before. but now i got it :D thanks again :thumbsup: edit : i had a problem with form. this little solved my problem, but not sure : [spoiler]//taken from artviper.eu | with little modifications //strip <script , & # 6 0;script , &lt;script var aText = $('thingy'); $$('#thingy').addEvent('keyup',function(){ if(aText.value.contains("<script")){ aText.value = aText.value.replace("<script",""); } //[b]& # 6 0;[/b] without spaces if(aText.value.contains("& # 6 0;scriptscript")){ aText.value = aText.value.replace("& # 6 0;scriptscript",""); } if(aText.value.contains("&lt;script")){ aText.value = aText.value.replace("&lt;script",""); } });[/spoiler] or this : [spoiler]//taken from artviper.eu | secure ajax form //no html tag var aText = $('thingy'); $$('#thingy').addEvent('keyup',function(){ if(aText.value.contains("<")){ aText.value = aText.value.replace("<",""); } });[/spoiler] any idea to securing/validating form with other ways ? please gimme :ninja:

Last edited by gumscumbag (2008-08-25 22:47:09)

mabuhay
» FTalkManiac
FTalk Level: zero
849
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

I think this is a very nice tricks, and u really have a very cool profile. :D keep it up sir [b]KaNaLiTnUk[/b] =) :thumbsup: :thumbsup: :thumbsup: hit the grin for u...

Last edited by mabuhay (2008-08-26 02:05:57)

na_puk
» n00b
FTalk Level: zero
2
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

NICE2 :) :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:
losher29
» FTalkElite
FTalk Level: zero
5917
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

okay thanks for sharing. but there was an error when i send a comment on the test page. Im gonna try to clean up my cookies and try it again though haha keep um up.
jm_djing
» n00b
FTalk Level: zero
25
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nicE tRicK! =) =)=)
oby_nagnar
» FTalkGeek
FTalk Level: zero
1373
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

wow.... bang kanal is very2 cool... nice trick bang... thnks for share... :thumbsup::thumbsup:
christiandelacruz09
» n00b
FTalk Level: zero
58
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

thanks for sharing this code! to us =)...
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nice trick bro.. another from you.. =)
banoCore
» n00b
FTalk Level: zero
95
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

cool i love it :wow:
slashedkite
» FTalkManiac
FTalk Level: zero
973
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nice one sir.. you made the commentor box combined to slide comment.. nice one! ;):thumbsup:
suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nice script sir... thx 4 share... its working...
Jur3
» n00b
FTalk Level: zero
35
0
1969-12-31

Re: [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

nice one! tnx 4 sharin! :)

Last edited by Jur3 (2008-09-13 04:11:47)

  • ARCHIVES 
  • » [b]Credits[/b] : Angell de Ville (Slide Comment) and Feruzz (Commentor Box) [b]Preview[/b] : [url]http://profiles.friendster.com/bangkanal[/url] (FF view) This a simple JS trick combination for comme

Pages: 12

Board footer

© 2024 F Talk

Current time is 19:15

[ 10 queries - 0.513 second ]
Privacy Policy