• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Assembly-Line Acceleration: R... > The Dark Side of Editable Attributes

The Dark Side of Editable Attributes

Okay, so I’ve waxed poetic about editable attributes for the last couple of tips. Does sliced bread still wear the crown as the coolest thing? Unfortunately, yes. You should also note that, in my view, editable attributes have a significant design flaw: After you make an attribute editable, it no longer is rendered when editing the template. Suppose, for example, that you make the background color of a table cell editable—you even choose a reasonable default color. When editing the template, the attribute will look like this: bgcolor= "@@(tdcolor)@@". Dreamweaver doesn’t properly interpret the variable name as the bgcolor value (unlike with template instances), so it acts as if it isn’t there. This is particularly noticeable when your design actually includes the attribute. Unfortunately, there’s really not a workaround for this problem. You can, however, kvetch about it by writing wish-dreamweaver@macromedia.com and gain a minor bit of satisfaction.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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