|
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
|