• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Editing Code > Using the Code Reference

Using the Code Reference

When you want to figure out what a tag or other piece of code does, you can read a basic description and some usage rules in the Reference panel.

To show context-sensitive help for a specific tag

1.
In Code view or the Code inspector, select Syntax Coloring from the View Options menu (Figure 4.25).

Figure 4.25. Make sure the Syntax Coloring option in the View Options menu is turned on so that the Code Reference's context-sensitive feature will work.


In MX 2004, you must be in Code view or the Code inspector to properly use the Reference panel, and you must turn on Syntax Coloring in order for the Reference to recognize a tag.

2.
Click on a tag that you want to learn more about.

3.
Press F1. The Reference panel will appear, displaying information about your selection.

You can press Shift+F1 to open the Reference panel for an object in Design view, but the panel will open and close each time you press this key combination to switch to a different tag.

To browse the Reference

1.
In the Reference panel, select a topic from the Book drop-down menu (Figure 4.26). Standard Web topics are HTML, CSS, JavaScript, and Accessibility. Dynamic site topics include ASP, ASP.NET, JPS, CF (ColdFusion), CFML, PHP, and SiteSpring.

Figure 4.26. You can choose from several different topics.


2.
Select a tag, code object, or data category from the drop-down menu on the left.

3.
Select any additional attributes or subcategories from the Description drop-down menu (Figure 4.27).

Figure 4.27. The Reference panel provides handy information about most HTML tags and attributes.


✓ Tips

  • You can right-click (Ctrl+click) any tag and select Reference from the context menu that appears. In MX 2004, you must be in Code view or the Code inspector to get Reference material this way.

  • This material is also available in the Edit Tag dialog box. See Using the Edit Tag Dialog Box later in this chapter for details.

  • The word wrapping function within this panel isn't executed very well in Dream weaver MX 2004, which makes the text scroll off screen. You may find the text easiest to read if you undock the panel, as in Figure 4.8.


  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint