Subject: Beginner Needs Help
Posted By: Leanne Post Date: 9/21/2006 5:24:50 AM
Hi anyone who can help me out.
I am a beginner at javascript writing. I am using Dreamweaver to write my scripts. I really don't fully understand is there a protocall to writing scripts and th order in which you place the functions and other instructions in the script. I have Beginning Javascript 2nd edition and have read it from cover to cover, but am still not clear. Thanks for any assistance.
Reply By: ciderpunx Reply Date: 9/27/2006 9:16:30 AM
Hey Leanne.

This is a Java forum rather than Java<i>script</i>. Believe it or not they are two completely different languages. There's a couple of Javascript forums on this site, where you may get more help:

http://p2p.wrox.com/default.asp?CAT_ID=22

In answer to your question, I'd suggest writing your scripts by hand at first, rather than using dreamweaver, at least until you understand what goes on in the javascript. And, yes, the order in which you place instructions and call functions makes a difference.

Control within a block (i.e. a function, loop, if block, etc.) goes from top to bottom within that block.

Cheers

--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com

Go to topic 49458

Return to index page 163
Return to index page 162
Return to index page 161
Return to index page 160
Return to index page 159
Return to index page 158
Return to index page 157
Return to index page 156
Return to index page 155
Return to index page 154