To find the specific version of Dreamweaver, check first for the existence of
then for the version number, as shown in the following example:
if (dreamweaver.appVersion && ¬
dreamweaver.appVersion.indexOf('3.01') != -1){
// execute code
}
The
object has a property called
dreamweaver
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
property returns the following values for localized operating systems:
systemScript
Language
Japanese
Korean
TChinese
SChinese
Operating systems for all European languages return
The site object
The
object has no properties. For information about the methods of the
site
the Dreamweaver API Reference.
136
The Dreamweaver Document Object Model
systemScript
Value
ja
ko
zh_tw
zh_cn
.
'en'
appVersion
that lets you query the
object, see
site
and
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers