• ARCHIVES 
  • » Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Pages: 12

Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments inside your own box [spoiler][b][update 13-09-2008][/b] Adding How to make your own Tab Image How to put your HTML string [b][update 11-09-2008][/b] Fixing so that IE user can use it Forgot to put var arrTabsComments in the codes at my prev update :wallbash: Already tested locally for IE, if anyone already test this online. Please share the result [b][update 09-09-2008][/b] JS Codes : Function changes, adding Effect Options, n Duration Options CSS Codes : Nothing Changes[/spoiler] [b]Credits:[/b] tekfatliu, [color=skyblue]Moo[/color]Tools =) [b]Live preview:[/b] -- [url=http://profiles.friendster.com/50738231]Profile Tester[/url] [quote][b]Usage:[/b] var strMyTCLayout = "Your HTML string"; var arrTabsComments = []; tflTabsComment(arrTabsComments,strMyTCLayout,[optEffect],[optDuration],[optOwnBox]);[/quote] optEffect = [b]'slide'[/b] atau 'fade' optDuration = number (500, [b]1000[/b], 1500, ...) optOwnBox = [b]'18'[/b] or Box ID from your addBox(..) function [b]Bold[/b] == Default Options If you're using own box, make sure you call addBox() before tflTabsComment() [quote]addBox("RIGHT","BoxHeader","Box Content","[b]MyBoxID[/b]","2"); var strMyTCLayout = ""; var arrTabsComments = []; tflTabsComment(arrTabsComments,strMyTCLayout,'fade',1500,'[b]MyBoxID[/b]');[/quote] [b]Ex:[/b] tflTabsComment(arrTabsComments,strMyTCLayout); - Effect 'slide', duration 1000 tflTabsComment(arrTabsComments,strMyTCLayout,'fade'); - Effect 'fade', duration 1000 tflTabsComment(arrTabsComments,strMyTCLayout,'fade', 1500); - Effect 'fade', duration 1500 tflTabsComment(arrTabsComments,strMyTCLayout,'', 1500,'MyBoxID'); [b]Incorrect:[/b]: tflTabsComment(arrTabsComments,strMyTCLayout,, 1500); [b]Correct:[/b] tflTabsComment(arrTabsComments,strMyTCLayout, [b]""[/b], 1500); [b]JS Codes:[/b] <">[b]CSS Codes:[/b] <">[hr] How to make your own Tab Image: [spoiler]Tab Image file must size [b]35x75px[/b]. The image that we seen on public comments, sizing 35x25px. The trick is to slide the position of the image up n down. Which can be seen from CSS Codes. [quote].tfltpwrapper li a{ background-position: left [b]bottom[/b] .tfltpwrapper li a:hover{ background-position: left [b]top[/b] .tfltpwrapper li a.selected{ background-position: left [b]center[/b][/quote] [img]http://tekfatliu.web44.net/FS/images/3dtabxexp.gif[/img] Make 3 transparent GIF files size 35x25px. Make a rounded rectangle so it looks like a tab. Color each file according the status of your tab. Then make one transparent GIF file size 35x75px, Copy n Paste 3 files before, arrange all these files vertically, like this: Tab Image Status [img]http://tekfatliu.web44.net/FS/images/3dtabxexpfin.gif[/img] Finished, upload to your server. Don't forget to [b]change[/b] the [b]URL[/b] of CSS. [quote]... background-image: url("http://tekfatliu.web44.net/FS/images/3dtabx.gif"); //replace with background-image: url("[b]URL of your Tab Image[/b]"); ...[/quote] This are 2 ready to use Tab Image: -- [url=http://tekfatliu.web44.net/FS/images/3dtabx.gif]Tab Image[/url] -- [url=http://tekfatliu.web44.net/FS/images/3dtabx1.gif]Tab Image[/url][/spoiler] How to put your HTML string in var strMyTCLayout: [spoiler][quote]var strMyTCLayout= "<table align='center'><tr><td width='150px'bgcolor='#C8E458'><div align='center'>[color=red]Insert your HTML here[/color]</div></td><td width='300px'><div style='text-align:center'>[color=blue]Insert your HTML here[/color]</div></td></tr></table>";[/quote] You can make your own layout using HTML editor like Dreamweaver. But here i already prepared one for you, a table with 2 columns. Change red color n blue color text with your HTML string. [color=red]Red[/color] for left side column [color=blue]Blue[/color] for right side column One thing to remember, don't use double quote [color=red][b]"[/b][/color] in your HTML string. Like when you writing an URL: <img src =[color=red][b]"[/b][/color]http://...[color=red][b]"[/b][/color]> Instead use single quote [b]'[/b] or backslash double quote[b]\"[/b] <img src =[b]'[/b]http://...[b]'[/b]>[/spoiler] Script issues, questions, ideas & suggestions please post a reply Thanks.

Last edited by tekfatliu (2008-10-18 04:54:19)

suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

nice trick.. thx 4 share...
tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

at your service :)
tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

I've done a lot of mistakes today, it's my fault :wallbash: :wallbash: :wallbash: Should've read the [b]RULES[/b]first. [url]http://theftalk.com/misc.php?action=rules[/url]
rhownjohn
» FTalker
FTalk Level: zero
185
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Wew! nice trick.. and i lyk ur profy dude! hehe...:thumbsup:
Lordheinz
» FTalkElite
FTalk Level: zero
4377
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

interesting code bro....very nice indeed...and your profile is so unique... so this trick is the comment part..wow..rock! Got now your trick buddy..my problem right now is to center the tabs..and the background..it messed up the tabs..:wallbash:

Last edited by Lordheinz (2008-09-06 09:39:38)

bobcbar
» FTalkElite
FTalk Level: zero
5223
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Nice trick but please edit ur subject to say for FF only =)
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

cool trick.. nice 1 for a newbie.. maybe you are a web designer?
dark-knight87
» n00b
FTalk Level: zero
56
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Proud to see you here my bro'. I'll try to apply this one on my profile. But only works in FF? :wallbash:
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

^ yes works perfect in FF..
tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

[quote=bobcbar]please edit ur subject to say for FF only[/quote] Sorry, i'll update [quote=dark-knight87]But only works in FF?[/quote] I'll working on IE ver, but minus the Effect
dale
» FTalkAgent
FTalk Level: zero
2122
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

ohhh bad! im using IE =( BTW thanks for sharing dude!! :cool:
suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

nice script.... its working... thx 4 share...
agam78
» FTalker
FTalk Level: zero
261
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

[b]nice trick.. thx 4 share...[/b] :):thumbsup:
tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

[quote=dark-knight87]But only works in FF?[/quote] Please try this on IE don't forget to put code inside attachOnLoadHandler Something like this : [spoiler]<">[/spoiler] Otherwise it might not works

Last edited by tekfatliu (2008-09-10 22:50:47)

rhownjohn
» FTalker
FTalk Level: zero
185
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

hmmm..is diz will work if i am using pop-up testimonial box by feruzz??:question:
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

thnxx it is now working in IE =):thumbsup:
tekfatliu
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

[quote=rhownjohn]hmmm..is diz will work if i am using pop-up testimonial box by feruzz??[/quote] dunno, why don't ou give it a try =) and let others know if it's working
naddnadd
» FTalkElite
FTalk Level: zero
4593
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

wew nice one :D
temaTema
» n00b
FTalk Level: zero
89
0
1969-12-31

Re: Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

thanks for sharing. nice one.:D:D
  • ARCHIVES 
  • » Making a Tabs Comment Will make your comments more compact, by putting it in a separate tab for each comment. [b][update 20-09-2008][/b] Adding optOwnBox option, so you can put your Public Comments i

Pages: 12

Board footer

© 2024 F Talk

Current time is 19:00

[ 10 queries - 0.615 second ]
Privacy Policy