etting Your Hands Dirty
Explore a Script
When you first start to work with scripts, you’ll probably be editing and adapting existing ones, rather than creating them from scratch.
This script puts a little glowing dot in front of a menu choice when the reader puts the cursor over that menu choice. Click on the line in the code to see what it does. The explanations appear in a new, separate browser window. You can look at the script in action, the script code, and the descriptions of each portion of the script at the same time.
The first part of the script goes into the head of the HTML file:
The second part of the script goes into the body of the file within different elements of the page.
This is what the HTML body that uses this script looks like. Click on any line for an explanation of what it does. The explanations appear in a new separate browser window. You can look at the script in action, the script code, and the descriptions of each portion of the script at the same time.
- One more resource is DevX Search. Go to the scripts section and search for specfic scripting topics from different scripting resources.