Adobe Extending Dreamweaver CS4 Manual do Utilizador Página 126

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 387
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 125
120
EXTENDING DREAMWEAVER CS4
Insert bar objects
<button id="DW_Blue_Text" image="Editorial\AddBlue.gif name="Blue Text"
file="Editorial\AddBlue.htm"/>
Note: The button tag does not have a separate closing tag; it simply ends with "/>" .
7 End the pop-up menu with the </menubutton> closing tag.
The following code shows your entire category with the pop-up menu and the two objects:
<category id="DW_Insertbar_Editorial" name="Editorial" folder="Editorial">
<menubutton id="DW_Insertbar_Markup" name="markup"
image="Editorial\Strikethrough.gif" folder="Editorial">
<button id="DW_Editorial_Strikethrough"
image="Editorial\Strikethrough.gif" file="Editorial\Strikethrough.htm"/>
<button id="DW_Blue_Text" image="Editorial\AddBlue.gif" name="Blue Text"
file="Editorial\AddBlue.htm"/>
</menubutton>
</category>
Test the new pop-up menu
1 Reload extensions. For information on reloading extensions, see “Reloading extensions” on page 78.
2 Click the Editorial menu.
The following pop-up menu appears:
The objects API functions
This section describes the functions in the objects API. You must define either the insertObject() or the
objectTag() function. For details about these functions, see insertObject()” on page 122. The remaining functions
are optional.
canInsertObject()
Availability
Dreamweaver MX.
Description
This function determines whether to display the Object dialog box.
Arguments
None.
Returns
Dreamweaver expects a Boolean value.
Vista de página 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 386 387

Comentários a estes Manuais

Sem comentários