Log In · Register

 
how do you write a script?, i want to make my own scripts
breaks_newb
post Dec 20 2004, 02:52 PM
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.
 
 
Start new topic
Replies
sweetxsimplicity
post Dec 20 2004, 04:15 PM
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. ^^
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: