|
| 08 Oct 2012 11:54 AM |
| Where do You Implement it? Like how on ROBLOX You have to be in ROBLOX Studio for RBX.lua |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 08 Oct 2012 12:01 PM |
If I am correct (probably not) in the HTML of a page you put: <----script----> javascript code <----/script----> Remove the -, I just added so it can get past Roblox filter. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 12:04 PM |
HTML of a Page... Mmk,
Where's That?
[I'm just starting Javascript sooo =P ] |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 08 Oct 2012 12:08 PM |
| Well you need to know HTML (I'm assuming? o.O), or you can just find a practice page or something :3 |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 12:09 PM |
| But how do I make this "Practice Page"? =( |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 08 Oct 2012 12:15 PM |
| I probably got it wrong, idk o.O |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 12:17 PM |
| I'm just asking because I want to Practice with the Real thing, like how I can make "Scipt" Objects in Studio and make Them do all Kinds of Stuff. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 08 Oct 2012 12:22 PM |
make a .txt then open it in a Web Browser. I reccomend checking some sites for guides on web design to start. |
|
|
| Report Abuse |
|
|
usama8800
|
  |
| Joined: 29 Dec 2009 |
| Total Posts: 225 |
|
|
| 08 Oct 2012 12:22 PM |
<-html> <-body> <-script type="text/javascript"> document.write("Balh Blah Blah") <-/script> <-/body> <-/html>
without the -'s |
|
|
| Report Abuse |
|
|
usama8800
|
  |
| Joined: 29 Dec 2009 |
| Total Posts: 225 |
|
| |
|
|
| 08 Oct 2012 12:54 PM |
| I saved 'em as HTML and ran Them, Thanks. =) |
|
|
| Report Abuse |
|
|
killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 08 Oct 2012 01:19 PM |
a good place to learn javascript is at codecademyx.xcom (remove x's) |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Oct 2012 03:39 PM |
| Know HTML5 and CSS3 before learning Javascript. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 05:02 PM |
There are two ways to "inject" JavaScript into a web page. The first way is through external injection. You load an external js file into your HTML document. The second way is through internal injection (not recommended). Internal injection loads javascript in an HTML document using the script tag.
< script type = "text/javascript" > // Code here document.write("Hello, world!"); < /script >
To run a script after while the page loads, you can load the script in the BODY of the HTML document. To run a script that stores functions for later use, load the script in the HEAD of the HTML document.
I can't remember how to inject external JavaScript, but it is usually done in the head of the document. |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 08:36 PM |
How to inject external JavaScript.
<- head > <- script src="script.js" type="text/javascript" > <-/script > <- /head > |
|
|
| Report Abuse |
|
|
|
| 08 Oct 2012 09:58 PM |
"search w3school for help"
NONONONONONO.
this is badbadbad.
google "w3fools" |
|
|
| Report Abuse |
|
|