Pages: 1

  2008-08-29 05:38:09

briskicetea
» n00b
FTalk Level: zero
10
0
1969-12-31

This is my first time to share some simple idea. I'm still a noob at this but lemme give it a try. [b]This is only tested in FF 2+[/b] :arrow:[b]PREVIEW:[/b] [url=http://www.friendster.com/jeueljose

This is my first time to share some simple idea. I'm still a noob at this but lemme give it a try. [b]This is only tested in FF 2+[/b] :arrow:[b]PREVIEW:[/b] [url=http://www.friendster.com/jeueljoseph]http://www.friendster.com/jeueljoseph[/url] :arrow:[b]Paste the code below inside your onload handler[/b] <">Make sure to change the [b]URL OF LOADING PIC[/b]. You can change the whole box code but don't leave this out: <">Change this to your preferred loading text (view my profile for some example ideas): lfunc[0] = setTimeout("changeContent('[b]LOADING TEXT 1'[/b])",1000); Change this part to your preferred time (in milliseconds) before the text changes: lfunc[0] = setTimeout("changeContent('LOADING TEXT 1')",[b]1000[/b]); lfunc[1] = setTimeout("changeContent('LOADING TEXT 2')",[b]2000[/b]); lfunc[2] = setTimeout("changeContent('LOADING TEXT 3')",[b]3000[/b]); Never set it above this number: var loadst = setTimeout("detachThis('loadpage')",[i][b]3000[/b][/i]); Example in changing time interval: If you want the text to change every half a second (500 milliseconds) - lfunc[0] = setTimeout("changeContent('LOADING TEXT 1')",[b]500[/b]); lfunc[1] = setTimeout("changeContent('LOADING TEXT 2')",[b]1000[/b]); lfunc[2] = setTimeout("changeContent('LOADING TEXT 3')",[b]1500[/b]); Change this to how long (in milliseconds) you want your loader to appear before auto-remove: var loadst = setTimeout("detachThis('loadpage')",[b]3000[/b]); The Example above is 3 seconds. :arrow:[b]Paste this code at the very bottom of your js file:[/b] <">:arrow:[b]Paste this in your css extension:[/b] <">Lastly, if you want to add more load text just put this: lfunc[[b]4[/b]] = setTimeout("changeContent('[b]LOADING TEXT 1'[/b])",[b]9999[/b]); The first bold should be changed to the last number+1. The example above is 4 because the last number was 3: lfunc[[b]3[/b]] = setTimeout("changeContent('LOADING TEXT 1')",9999); The next load text you add to the 4th should be: lfunc[[b]5[/b]] = setTimeout("changeContent('LOADING TEXT 1')",9999); Make sure to change the other bold texts.

Last edited by briskicetea (2008-08-29 05:56:44)

Pages: 1

Board footer

© 2024 F Talk

Current time is 22:12

[ 12 queries - 0.008 second ]
Privacy Policy