CBT Cafe Logo  

CBT Cafe > Dreamweaver > Links, HTML & JavaScript

Dreamweaver: Understanding Null Links

Null links are undesignated links. They are needed to attach behaviors to text.

For example: Open a new document and type out the word "link".

Now, going to the Behavior Panel, click the plus sign (+) to access the drop down menu and you'll notice most of the behaviors are unavailable. What if you wanted to launch a pop up window from the word "link"?

You could type the javascript in by hand but that's why we're using Dreamweaver: to avoid handcoding routine html/javascript.

To access the Behaviors, you need to first create a null link out of the text "link".

You do this by selecting the word (in this case "link") and going up to the Properties Inspector, input the following line in the Link Field:

javascript: void(0) OR you can type the pound sign: #

Properties Inspector

Properties Inspector

Either way will work.

Now, after you've input either code into the Link Field, go back to your Behaviors Palette and click the plus sign (+) and notice how many new behaviors are available!




Home | Dreamweaver | Fireworks | Flash | Photoshop | Elements | PowerPoint| Ebay | QuickTime Pro | Flash 5 CD | Fireworks MX CD | QuickTime Support | Contact

Copyright © 1999-2011 CBT Cafe, All rights reserved

Flash®, Fireworks™, and Dreamweaver® are registered trademarks of Macromedia, Inc. in the United States and/or other countries
Photoshop®, Photoshop Elements® and Illustrator® are registered trademarks of Adobe Systems, Inc.
QuickTime® is a registered trademark of Apple Computer, Inc.
Ebay® is a registered trademark

CBT Cafe | Multimedia Learning | Interactive Graphics