MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifikace Strana 300

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 504
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 299
300 Floating Panels
Example
The following example of the initialPosition() function specifies that the first time the
floating panel appears, it should be 420 pixels from the left and 20 pixels from the top in
Windows, and 390 pixels from the left side of the screen and 20 pixels from the top of the
screen on the Macintosh:
function initialPosition(platform){
var initPos = "420,20";
if (platform == "macintosh"){
initPos = "390,20";
}
return initPos;
}
initialTabs()
Description
Determines which other floating panels are tabbed together the first time that this floating
panel appears. If any listed floating panel has appeared previously, it is not included in the tab
group. To ensure that two custom floating panels are tabbed together, each panel should
reference the other with the
initialTabs() function.
Arguments
None.
Returns
Dreamweaver expects a string of the form
"floaterName1,floaterName2,...floaterNameN".
Example
The following example of the initialTabs() function specifies that the first time the
floating panel appears, it should be tabbed with the scriptEditor floating panel:
function initialTabs(){
return "scriptEditor";
}
Zobrazit stránku 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 503 504

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

Žádné komentáře