Next youll create a dynamic link so that the item name on the specials menu links to a page containing a picture of the item.
If youre on a Windows computer, the option is located at the top of the dialog box. If youre on a Macintosh computer, the option is located at the bottom of the dialog box.
Dreamweaver creates a dynamic link. In the XML file, each link element points to an HTML page containing a picture of the respective menu item.
NOTE |
|
If you open the specials.xml file and look at the code, youll see that each <link> element contains the name of the HTML file containing the picture of the corresponding menu item. This is in fact the path to the HTML file, because the HTML pages containing the pictures are in the same xml directory as the XSLT page youre working on. The link element is always a full path to the linked page, and is often written out in the form of an HTTP address. |
The browser displays the page with a live link. If you click the link it will take you to a new page.