• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

An Object Love Affair

An extension developer never forgets his or her first time. My first was twins—a matched set of objects to replace the <sup> and <sub> tags missing from Dreamweaver. I was really enamored of objects during that time and picked up some pointers I’m more than willing to pass on to you. First, let me just recommend that for any tag or code that does not require a user interface, you use snippets rather than objects. What, has he completely spurned his first love? No, it’s just that objects require a bit of coding, and snippets are, as we used to say down south, dirt simple. When you do begin to build your objects, remember that you have to place all objects in a folder within the Dreamweaver MX 2004\Configuration\Objects folder; you can use one of the existing folders or create your own. Moreover, the folder structure can go only one level deep. Unlike with custom behaviors, you can’t create submenu items by nesting folders. Finally, if you’re really interested in working with objects, take apart a number of the objects included in Dreamweaver. There are many excellent examples of everything from the most basic to exceedingly advanced objects.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint