Use a hints menu, Edit code with the tag selector, Edit or delete a tag – Adobe Dreamweaver CC 2015 User Manual
Page 406: Select an object corresponding to a tag, Write and edit scripts in design view
399
Coding
Last updated 6/3/2015
Use a hints menu
1
Do one of the following:
• Begin to type a tag or attribute name. The selection in the Code Hints menu jumps to the first item that starts
with the letters you typed.
• Use the Up and Down Arrow keys to select an item.
• Use the scroll bar to find an item.
2
Press Enter to insert the selected item, or double-click an item to insert it.
3
To close the hints menu without inserting an item, press Escape or continue typing.
Disable the hints menu or change the delay before it appears
1
Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh) and select Code Hints.
The Code Hints Preferences dialog box appears.
2
To disable the hints menu, deselect the Enable Code Hints option.
3
To change the delay before the menu appears, adjust the Delay slider, and click OK.
Edit code with the tag selector
You can use the tag selector to select, edit, or remove tags without leaving Design view. The tag selector is located in the
status bar at the bottom of the Document window and shows a series of tags, as follows:
Edit or delete a tag
1
Click in the document.
The tags that apply at the insertion point appear in the tag selector.
2
Right-click (Windows) or Control-click (Macintosh) a tag in the tag selector.
3
To edit a tag, select Edit Tag from the menu. Make your changes in the Quick Tag Editor. For more information, see
Edit code with the Quick Tag Editor
.
4
To delete a tag, select Remove Tag from the menu.
Select an object corresponding to a tag
1
Click in the document.
The tags that apply at the insertion point appear in the tag selector.
2
Click a tag in the tag selector.
The object represented by the tag is selected on the page.
Use this technique to select individual table rows (tr tags) or cells (td tags).
Write and edit scripts in Design view
You can work with client-side JavaScripts and VBScripts in both Code and Design views, in the following ways:
• Write a JavaScript or VBScript script for your page without leaving Design view.