a life that deals with.. internet..
Would you like to react to this message? Create an account in a few clicks or log in to continue.


a forum for everyone.
 
HomeLatest imagesSearchRegisterLog in

 

 how to create js files

Go down 
AuthorMessage
_adiksaforums_
Moderator
Moderator
_adiksaforums_


Posts : 10
Join date : 2008-12-03
Age : 29

how to create js files Empty
PostSubject: how to create js files   how to create js files Icon_minitimeSat Dec 13, 2008 5:22 am

don't have any idea about js files?or how to make em? learn here!

learned it from HCG.. credits to them.. I want to share it w/ everyone!

1. find a file hosting site..
you can choose ripway, fileave or stormpages.. etc..

leave that in another tab..

2. Open notepad.. paste this code\/ [this is for typewriter effect on the title bar..]
after placing it.. SAVE AS, type your filename with '.js '
ex. mecodes.js
then SAVE

Code:
function tb10_makeArray(n){
this.length = n;
return this.length;
}

tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "[b]MSG HERE[/b]";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space=" "
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + " " + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}

3. go to yer file hosting site..
SIGN UP
after SIGNING UP, SIGN IN
4. go to MYFILES, UPLOAD FILES
browse your js file 'mecodes.js' or whatever filename.js you used..
click OPEN button, then UPLOAD/CREATE

5. get yer direct link of your JS
ex. http://h1.badwaresite.www/lykahh/scrolltitlebar.js

6. link your code

Code:
<script src="direct link of yer JS"></script>

7. then paste to about me/who I want to meet section..

ENJOY!!
if you have questions.. add me up on my YM.
jhaine_lyka
Back to top Go down
 
how to create js files
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
a life that deals with.. internet.. :: Java Script-
Jump to: