MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Specifiche Pagina 72

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 692
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 71
Chapter 772
windowDimensions()
Description
Sets specific dimensions for the Parameters dialog box. If this function is not defined, the window
dimensions are computed automatically.
Note: Do not define this function unless you want a dialog box larger than 640 x 480 pixels.
Arguments
platform
The value of the argument is either "macintosh" or "windows", depending on the users
platform.
Returns
Dreamweaver expects a string of the form "widthInPixels,heightInPixels".
The returned dimensions are smaller than the size of the entire dialog box because they do not
include the area for the OK and Cancel buttons. If the returned dimensions do not accommodate
all options, scroll bars appear.
Example
The following example of windowDimensions() sets the dimensions of the Parameters dialog box
to 648 x 520 pixels:
function windowDimensions(){
return "648,520";
}
Vedere la pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 691 692

Commenti su questo manuale

Nessun commento