Pages: 12
ok then..
Orig Code:
[b]Javascript.internet.com[/b]
Credits:
[b]Me.
Paste this outside the loader[/b]
[quote]//HAPPY VALENTINEs EPTOK
function calc() {
first = document.loveform.name1.value.toUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.toUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;
for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2;
if (letter1=='O') LoveCount+=2;
if (letter1=='V') LoveCount+=2;
if (letter1=='E') LoveCount+=2;
if (letter1=='Y') LoveCount+
;
if (letter1=='O') LoveCount+=1;
if (letter1=='U') LoveCount+
;
}
for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2;
if (letter2=='V') LoveCount+=2;
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+
;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+
;
}
amount=0;
if (LoveCount> 0) amount= 5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=110-((firstlength+secondlength)/2)
if (firstlength==0 || secondlength==0) amount= "Err";
if (amount < 0) amount= 0;
if (amount >99) amount=99;
document.loveform.output.value=amount+"%";
}[/quote]
Then use this form to add to HTML replacements or addbox functions.
Example in about me section[/b]
[quote]var dk9 = "<br><b><font size=\"3\" color=\"#ffccff\">LOVE CALCULATOR</font></b><i><font color=\"#ffccff\"> Designed by: Dracoknight09</font></i>"+"<form name=loveform>"+"<img src=\"http://i252.photobucket.com/albums/hh32/Lia-fallied/heart.gif\" />"+
"<input value=\"Lover Boy\" name=\"name1\" type=\"text\" size=\"20\">"+"<img src=\"http://i252.photobucket.com/albums/hh32/Lia-fallied/heart.gif\" />"+
"<input value=\"Lover Girl\" name=\"name2\" type=\"text\" size=\"20\">"+
" <input value=\"CUPIDIZE!\" name=\"calculate\" class=\"wep\" type=\"button\" value=\"calculate\" onclick=\"calc()\"> "+"<input value=\"\" name=\"output\" type=\"text\" size=\"6\">"+"<img src=\"http://i252.photobucket.com/albums/hh32/Lia-fallied/heart.gif\" />"+
"<br>"+
"</form>";
document.getElementById('content_6').style.height='100%';
document.getElementById('content_6').style.overflowY='hidden';
document.getElementById('content_6').innerHTML = "<table width='100%'><tr><td align='center'>"+dk9+"</td></tr></table>";[/quote]
lastly modify the calculated button (looks good in pink)
[b]
Use CSS[/b]
[quote]input.wep{
color:#fcf;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:10;
background-color:#f69;
border:1px solid;
border-color:#f69;}[/quote]
and there your done! easy! isnt it?!
[b]HAPPY VALENTINES TO EVERYONE[/b]
dedicated to the eptok love teams
and again to miss [b]Shy19[/b] :rose:
SEE IT FIRST: [url]http://profiles.friendster.com/56419498[/url]
Last edited by dracoknight09 (2008-02-14 11:31:54)
anyway,,thanks 4 sharing,,
wakokoko
sorry for the late response bro.. i was bc..
nyway... hahaha imma try that love calculator and test you and shyness...
im excited.. hahaa
nyway.. love this trick! mwah! tnx agen!
but now,hers dracko sharing something unique...thanks buddy...
Last edited by lordheinz (2008-02-14 16:28:33)
Thanks for sharing
Last edited by angelalaine (2008-02-14 20:13:28)
thanks
im loving this bro.. i had 83% wakokoko .. hahaha
[/i]
i already used this in my pre-made lay
[b]@shy19[/b]
haha. what's your real name miss [b]shy19[/b]?
i wanna test it.
Last edited by dracoknight09 (2008-02-14 22:22:13)
[b]@shy19[/b]
haha. what's your real name miss [b]shy19[/b]?
i wanna test it.
its a scret
u can ask duch bout dat tho'
... [color=#FFFFFF]or PM me[/color]
Last edited by sHy19 (2008-02-14 23:38:08)