JorgyRom Admin
Posts : 49 Points : 78 Reputation : 3 Join date : 2009-07-26 Age : 31 Location : Manila
| Subject: Tutorial on how to have Javascript(.js). Fri Jul 31, 2009 12:55 am | |
| Guys,
This is Very Important to Us. Specially to those who are newbie in Terms of Javascript.
Making Your Own .js file
Steps:
1) Open a NOTEPAD.
2) After opening the notepad, Just put yer JS codes on the txt area.
ex: LOL
Paste this example code below in the Notepad: (Force Log-IN)
- Code:
-
if(pageViewerID==""){ alert("Please log in your FRIENDSTER account to view this page!"); top.location.href="http://www.friendster.com"; }
that will be your 1st js trick (yay)
3) After placing the code in Notepad go to File and Save As.
4) After clicking "Save As" type your file name add a .js on it. so this would be like:mycodes.js
5) Then save your file.
How To Host:
1) Find a Web-Hosting Site. like fileave,ripway etc. I suggest that if ye find it hard to signup with those given, try to search for other hosting sites @ yahoo or google.
Popular Host For You: Fileave Stormpages Ripway
2) After yer done signin' up peeps, just go to "MY FILES" then "UPLOAD FILES".
3) After selecting "Upload files", you'll see "BROWSE" button. Click "BROWSE" and select the mycodes.js(or whatever filename,js ye used), The click "OPEN" Button, Then click "UPLOAD".
4) After that get the direct link of yer JS: somethin' like: - Code:
-
http://whatever.fileave.com/mycodes.js How To Apply?
Credits To: Fstalk And Me | |
|