Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Null Links
Your Ad Here

Null Links


Note: This tutorial is done by Macromedia Dreamweaver MX.

1. First of all, when you design a website you will take some steps to make sure your website is viewed without an error. That is why when I am attaching behaviors, I set the Show Events For to 4.0 and Later Browsers. Well this is a good precaution in preventing errors, but it has some disadvantages. For example when you set to 4.0 and Later Browsers you will loose many Behaviors, thus you won't be able to apply it to the texts. But that is not a problem. There is a simple way to solve this problem. That is with the use of Null Links.

2. Ok first set your Show Events For to 4.0 and Later Browsers. Highlight the text you want to add a behavior and see how many behaviors you can apply. Not much isn't it. Here is what I have.

image 1

3. OK to solve this problem here is what you have to do. If your word is not highlighted, highlight it and go to properties panel and type javascript: void(0) or # either of them will work.

image 2

4. That is all you have to do to bring most of the behaviors back... Go to Behaviors panel and click + to see how many behaviors are available now.

image 3



Author's URL: Ades Tynyshov
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Null Links"

Only registered users can write comment

No comments yet...