MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificaciones Pagina 136

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 504
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 135
136 The Dreamweaver Document Object Model
To find the specific version of Dreamweaver, check first for the existence of appVersion and
then for the version number, as shown in the following example:
if (dreamweaver.appVersion && ¬
dreamweaver.appVersion.indexOf('3.01') != -1){
// execute code
}
The dreamweaver object has a property called systemScript that lets you query the
language of the user’s operating system. Use this property if you need to include special cases
in your extension code for localized operating systems, as shown in the following example:
if (dreamweaver,systemScript && (dreamweaver.systemScript.indexOf('ja')!=-
1){
SpecialCase
}
The systemScript property returns the following values for localized operating systems:
Operating systems for all European languages return
'en'.
The site object
The site object has no properties. For information about the methods of the site object, see
the Dreamweaver API Reference.
Language Value
Japanese
ja
Korean
ko
TChinese
zh_tw
SChinese
zh_cn
Vista de pagina 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 503 504

Comentarios a estos manuales

Sin comentarios