how do you write a script?, i want to make my own scripts |
how do you write a script?, i want to make my own scripts |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Dec 2004 Member No: 73,063 ![]() |
can anyone help me? i cant figure out how to make my own scripts. all i can do is copy and paste other peoples scripts and if they dont work then im srewed cuz i dont know how to fix them.
|
|
|
![]() |
![]()
Post
#2
|
|
![]() hi, my name is brianna! =] ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,764 Joined: Jun 2004 Member No: 22,114 ![]() |
Well, every script starts with
<script type="text/javascript"> and ends with </script> If you would want to write a simple sentence, you would enter document.write("Createblog rocks!") and put the title and footer between it It would come out as Createblog rocks! Though some older browsers do not support scripts and will display the javascript as just content, so you'll want to put these in between the title and footer scripts: <!-- and //--> ^ That's just very basic javascript, tell me if you want to learn more. ^^ |
|
|
![]() ![]() |