Adobe Extending Dreamweaver CS4 Uživatelský manuál Strana 333

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 387
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 332
327
EXTENDING DREAMWEAVER CS4
Server models
Description
This function returns the name that should appear in the user interface for this server model. You can access this value
from JavaScript by calling the
dom.serverModel.getDisplayName() function.
Arguments
None.
Returns
Dreamweaver expects a string, such as "ASP JavaScript".
getServerModelFolderName()
Availability
Dreamweaver MX.
Description
This function returns the folder name to use for this server model within the Configuration folder. You can access this
value from JavaScript by calling the
dom.serverModel.getFolderName() function.
Arguments
None.
Returns
Dreamweaver expects a string, such as "ASP_JS".
getServerSupportsCharset()
Availability
Dreamweaver MX.
Description
This function returns a true value if the current server supports the specified character set. From JavaScript, you can
determine whether the server model supports a specific character set by calling the
dom.serverModel.getServerSupportsCharset() function.
Arguments
metaCharSetString
The metaCharSetString argument is a string that holds the value of the document’s "charset=" attribute.
Returns
Dreamweaver expects a Boolean value.
Zobrazit stránku 332
1 2 ... 328 329 330 331 332 333 334 335 336 337 338 ... 386 387

Komentáře k této Příručce

Žádné komentáře