To support the higher end of the custom-object scale, Dreamweaver includes proprietary extensions to
JavaScript and a Document Object Model (DOM) that combines a subset of Netscape Navigator 4.0??™s DOM, a
subset of the DOM Level 1 established by the W3C, and a host of custom Dreamweaver extensions. You
explore these techniques later in this chapter in the section ???Putting JavaScript to Work in Custom Objects.???
As the following section shows, however, many objects don??™t require any JavaScript and are easy to construct.
Although it??™s possible to split off the bulk of the JavaScript functionality into an included .js
file, as Adobe does for many objects, it??™s not absolutely necessary. This separation of the user
interface (the HTML file) and the underlying code (the JavaScript file) is usually undertaken for localization
purposes and to allow one developer to work on the interface while another works on the code.
NOTE NOTE
BC 8
Creating and Using Objects
continued
Massimo??™s Corner of the Web
www.massimocorner.com
Massimo Foti produces high-quality extensions that fulfill many specific functions faced by a Web developer.
For example, his site features extensions devoted to redirecting browsers as well as controlling remote windows
and scrolling layers.
Pages:
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870