SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 702 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

The technique is the same as that already explained for placing
named anchors, but with one minor difference when it comes to linking. Instead of placing a hash mark
and name to denote the named anchor, you must first include the URL of the linked page.
Suppose you want to call the disclaimer section of a legal page from your table of contents. You could insert
something like the following in the Link text box of the Property inspector:
legal.htm#disclaimer
This link, when activated, first loads the referenced Web page (legal.htm) and then goes directly to the
named anchor place (#disclaimer). Figure 10-7 shows how you enter this in the Property inspector.
Keep in mind that you can use any form of addressing prior to the hash mark and named anchor.
FIGURE 10-7
You can link to any part of a separate Web page by using named anchors.
TIP TIP
350
Designing and Crafting Core Pages Part II
Creating null links
One of the more obscure uses for named anchors comes into play when you are trying to use Dreamweaver??™s
JavaScript Behavior feature. Because JavaScript needs to work with a particular type of tag to perform
onMouseOver and other events, a useful trick is to create a null link??”a link that doesn??™t actually link to
anywhere.
You create a null link by marking some text or an image with a link to #nowhere.


Pages:
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714