MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifiche Pagina 299

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 504
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 298
The Floating panel API 299
getDockingSide()
Availability
Dreamweaver MX.
Description
Specifies the locations at which a floating panel can dock. The function returns a string that
contains some combination of the words
"left", "right", "top", and "bottom". If the label is
in the string, you can dock a floating panel to that side. If the function is missing, you cannot
dock a floating panel to any side.
You can use this function to prevent certain panels from docking on a certain side of the
Dreamweaver workspace or to each other.
Arguments
None.
Returns
Dreamweaver expects a string containing the words "left", "right", "top", and "bottom", or
a combination of them, that specifies where Dreamweaver can dock the floating panel.
Example
getDockingSide()
{
return dock_side = “left top”;
}
initialPosition()
Description
Determines the initial position of the floating panel the first time it is called. If this function is
not defined, the default position is the center of the screen.
Arguments
platform
The platform argument has a value of either "Mac" or "Win", depending on the
user’s platform.
Returns
Dreamweaver expects a string of the form "leftPosInPixels,topPosInPixels".
Vedere la pagina 298
1 2 ... 294 295 296 297 298 299 300 301 302 303 304 ... 503 504

Commenti su questo manuale

Nessun commento