# Contextual menu

HTML mode defines three menu items in the contextual menu.

Html Attributes
The Html Attributes submenu lets you insert new attributes in a tag. Note that attributes which have already been used do not appear in the menu. In this case we have the attributes of the FRAME element. Let us say you select SCROLLING from the menu. This attribute is then inserted into the tag with the insertion point between the quotes to let you type the attribute value.

<FRAME SRC="file.html" SCROLLING="|"•>

But before you type the value of the SCROLLING attribute, ctrl-click the tag again, and select TITLE from the submenu. This attribute is now inserted into the tag, but the insertion point is still between the quotes of the SCROLLING attribute.

<FRAME SRC="file.html" SCROLLING="|" TITLE="•"•>

Edit Tag...
To change the attributes of the tag which you have clicked on. This is done in the way explained in the section Giving attributes to HTML elements, but this time the dialog box (or status bar) contains the current attribute values as default values.

If the element you want to change contains anything HTML mode does not understand, a warning message will first be shown. If you decide to insert a new tag, everything HTML mode does not understand will be removed.

Follow Link
This lets you follow a link of a URL attribute.

A remote URL is opened in you web browser. A relative URL attribute opens a new window with the file if the file exists and is a text file. If it does not exist, a dialog box appears as the one shown below. As you see, a new empty window can be opened with the name of the file. This window is automatically saved in the right place, and if necessary new folders are created. Thus, if you are making a new set of pages, you can make links to the ones you have not written yet and then, by ctrl-clicking, let Alpha make empty files which are saved where you want them.

Following an anchor link <A HREF="#anchor"> jumps to the corresponding <A NAME="anchor"> in the file.

If the URL you click on points to a non-text file like an image, the file is opened in the application which created it. If you don't want to open non-text files this way you can disable this feature by unchecking Cmd-double-clicking on non-text file link opens file in the general preferences dialog.

Previous page Next page