DOM element hinting


show more DOM element hinting provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5.5 New Features show less
please wait ...

DOM element hinting

If you've spent any amount of time hand-coding sites, you understand that often it's the little things that mean a lot. So Dreamweaver's new code hinting for DOM element scripting may seem minor at first, but it's something that can really speed up your JavaScript coding. Let's take a look at how it works. So I have the resources.htm open from the 02_05 folder. Now, the first thing I want to point out is that I have a link to a JavaScript file called hinting_test.js in the code of my document.

So if I switch over to Source Code and scroll up, you guys can see there is the link to my external script file. Okay. So I am going to switch over to hinting_test.js. And the reason that I externalized this JavaScript is not only is that usually a good idea, but it's also going to show you that Dreamweaver will go ahead and introspect documents that are linked to this and provide different IDs and class names for us from the parent document. So here I have a function called ...

DOM element hinting
Video duration: 5m 22s 1h 50m Intermediate

Viewers:

DOM element hinting provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5.5 New Features

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...