MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifications Page 247

  • Download
  • Add to my manuals
  • Print
  • Page
    / 504
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 246
The toolbar command API 247
Returns
Dreamweaver expects a Boolean value: true if the item appears; false otherwise.
Example
function showif()
{
var retval = false;
var dom = dw.getDocumentDOM();
if(dom)
{
var view = dom.getView();
if(view == ‘design’)
{
retval = true;
}
}
return retval;
}
Page view 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 503 504

Comments to this Manuals

No comments