MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Uživatelský manuál Strana 14

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 13
14
<menubar>
Description
Provides information about a menu bar in the Dreamweaver menu structure.
Attributes
name, {app}, id, {platform}
name
The name of the menu bar. Although name is a required attribute, you can give it the value "".
app The name of the application in which the menu bar is available. Not currently used.
id The menu ID for the menu bar. Each menu ID in the menus.xml file should be unique.
platform Indicates that the menu bar should appear only on the given platform. Valid values
are
"win" and "mac".
Contents
This tag must contain one or more menu tags.
Container
None.
Example
The main (Document window) menu bar uses the following menubar tag:
<menubar name="Main Window" id="DWMainWindow">
<!-- menu tags here -->
</menubar>
<menu>
Description
Provides information about a menu or submenu to appear in the Dreamweaver menu structure.
Attributes
name, {app}, id, {platform}
name
The name of the menu as it will appear in the menu bar. To set the menus access key
(mnemonic) in Windows, use an underscore (_) before the access letter. The underscore is
automatically removed on the Macintosh.
app The name of the application in which the menu is available. Not currently used.
id The menu ID for the menu. Every ID in the file should be unique.
platform Indicates that the menu should appear only on the given platform. Valid values are
"win" and "mac".
Contents
This tag can contain one or more menuitem tags, and one or more separator tags. It can also
contain other
menu tags (to create submenus) and standard HTML comment tags.
Container
This tag must be contained in a menubar tag.
Example
<menu name="_File" id="DWMenu_File">
<!-- menuitem, separator, menu, and comment tags here -->
</menu>
Zobrazit stránku 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 27 28

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

Žádné komentáře