• ARCHIVES 
  • » [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

Pages: 12

[b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

[b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

[b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step 1:[/b] :arrow: Paste above the other codes: [quote]// this parts can be edited var linkurl="[b]YOUR LINK[/b]"; var loadtime=4; var clicktext="Charging Link Please Wait..."; var linkactive="Link Activated" var automaticlink=0; // be careful on what youre changing var doload=0;var doing=0;var loadsize=1; function cont() { if (doload==0 & loadsize>1) loadsize=loadsize- 1; if (doload==1 & loadsize<loadtime*20) loadsize=loadsize- -1; loader.width=Math.round(loadsize/(loadtime*20)*(loadarea.width-2-(loadarea.border*2))); if (loadsize>1 & loadsize<loadtime*20) {setTimeout('cont()', 0050); doing=1} else {doing=0} if (loadsize>=loadtime*20){activeshow.innerHTML=linkactive; if (automaticlink==1)checklink();}else{activeshow.innerHTML=""}} function loading() {doload=1;if (doing==0) cont();} function stopping() {doload=0;if (doing==0) cont();} function checklink(instantly){if (loadsize>=loadtime*20) {window.location.href=linkurl;doing=2} else alert(clicktext)}[/quote] [b] step 2:[/b] :arrow: Use this HTML code inside a content replacement code. Paste inside the loader. [quote]<input type=\"image\" onclick=\"javascript:checklink()\" onmouseover=\"javascript:loading()\" onmouseout=\"javascript:stopping()\" src=\"[b]URL OF BUTTON IMAGE[/b]\"><div border=\"2\" class=\"logout\"><table border=\"3\" id=\"loadarea\" cellspacing=\"0\" width=\"110\" cellpadding=\"0\"><td><table width=\"1\" height=\"12\" id=\"loader\" bgcolor=\"transparent\" BACKGROUND=\"[b]URL OF LOADING IMAGE[/b]\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td></td></table></td></tr></table></div><span id=\"activeshow\" border=\"1\"></span>[/quote] format can be like this: [quote]var aw = "<input type=\"image\" onclick=\"javascript:checklink()\" onmouseover=\"javascript:loading()\" onmouseout=\"javascript:stopping()\" src=\"[b]URL OF BUTTON IMAGE[/b]\"><div border=\"2\" class=\"logout\"><table border=\"3\" id=\"loadarea\" cellspacing=\"0\" width=\"110\" cellpadding=\"0\"><td><table width=\"1\" height=\"12\" id=\"loader\" bgcolor=\"transparent\" BACKGROUND=\"[b]URL OF LOADING IMAGE[/b]\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td></td></table></td></tr></table></div><span id=\"activeshow\" border=\"1\"></span>"; document.getElementById('[b]div_id[/b]').style.height='100%'; document.getElementById('[b]div_id[/b]').style.overflowY='hidden'; document.getElementById('[b]div_id[/b]').innerHTML = "<table width='100%'><tr><td align='center'>"+aw+"</td></tr></table>";[/quote] and its as simple as that... i hope you guys get its purpose. you just have to use your creativity in where to use it.. this can be nice to add delay for logout buttons so people will have a hard time leaving your profile.. LOL! =D :wallbash: my last script muna for the week.. weee... study pa ako.. LOLz.. :P [quote]hehe.. i shared it coz duch is offline i was going to let her share this coz i dont want to type..[/quote] preview :arrow: [url]http://profiles.friendster.com/56419498[/url]

Last edited by dracoknight09 (2008-01-30 09:22:16)

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

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

^ thanks for shariing buddy..
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

hehe.. i shared it coz duch is offline i was going to let her share this coz i dont want to type.. haha! =D aniwei.. ur welcome. :thumbsup:

Last edited by dracoknight09 (2008-01-30 08:41:07)

slashedkite
» FTalkManiac
FTalk Level: zero
973
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

:wow: i'll try this.. thanks for sharing dude.. ;) :thumbsup:
kangkong10
» FTalkManiac
FTalk Level: zero
617
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

thanx for sharing this code!
kyuubi_naruto91
» FTalker
FTalk Level: zero
291
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

nice codes , gonna try it later.. ...
Ephemeral
» FTalkElite
FTalk Level: zero
4669
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

Cool in it's own ways. :lol: :thumbsup:
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

LOLz.. It's a weird code.. [b]@ephe's siggy![/b] that's from NBA live 2006 soundtrack! =D
Ephemeral
» FTalkElite
FTalk Level: zero
4669
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

OT: yeah Remember the name by fort minor =D well it's true :)
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

[b]Off Topic:[/b] you gotta believe it.. hehe.. =D :thumbsup:
duchess
» FTalkElite
FTalk Level: zero
6453
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

@draco: sorry i wasnt OL bro.. :crybaby: anyway.. .weeeee you posted it!! hahaha :wow: good job!! lets make more more more tomorrow .. be OL aight.. :kiss:
dale
» FTalkAgent
FTalk Level: zero
2122
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

cool trick.. :cool:
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

[b]@duch[/b] lol. thats ok sis. yeah. i have another script in mind. im still studying right now so i cant do anything.. exams! :crybaby: im tying myself on the bed so i wont go near the comp.. scripts are tempting. :lol: lets chat elsewhere tomorrow.. :D [b]@topic[/b] you can change the text on the alerts by the way.. :thumbsup: [quote]var clicktext="[b]Charging Link Please Wait..[/b]."; var linkactive="[b]Link Activated[/b]"[/quote] grrrr... why am i not studying????! GRR!! :wallbash:
duchess
» FTalkElite
FTalk Level: zero
6453
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

OT: alrighty bro! God bless in your exams! XD :D :kiss:
gatekeeper
» n00b
FTalk Level: zero
70
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

Nice Code ill try this later :thumbsup: :thumbsup: :arrow:
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

ayt.. be back with more code.. i think.. =)
duchess
» FTalkElite
FTalk Level: zero
6453
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

^ bro... this is for you.. from w3schools wakakaka [quote]var d = new Date(); var time = d.getHours(); if (time<20) { document.write("<b>Jude- eptok mode</b>"); } else if (time>=20 && time<22) { document.write("<b>Jude- study study study!!</b>"); } else { document.write("<b>Jude- gawa nalang ng script.</b>"); }[/quote] XD wakekeke.. :P anyway.. ill put this later in my profile .. ;) :thumbsup:
pulasara
» FTalkAddict
FTalk Level: zero
574
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

aha nice :D :thumbsup:
dracoknight09
» FTalkAddict
FTalk Level: zero
302
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

saw that code earlier sis.. :D its time alert ryt? :lol:

Last edited by dracoknight09 (2008-01-31 09:54:46)

duchess
» FTalkElite
FTalk Level: zero
6453
0
1969-12-31

Re: [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

wahahha :lol: its tuts on ... if..else if.. hahahaha =D
  • ARCHIVES 
  • » [b]Credits:[/b] me and my teammates.. LOL! :lol: ([b]DuchShiKnight2008[/b]) [b]Javascript.internet.com[/b] [b]basic function:[/b] the link doesnt activate until the charging bar is full.. [b] step

Pages: 12

Board footer

© 2024 F Talk

Current time is 09:28

[ 10 queries - 0.052 second ]
Privacy Policy