Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe Dreamweaver

This chapter is from the book

WATCH OUT FOR KILLER OCTOTHORPES

How many times have you clicked on a link to a popup window and find that when you close the popup, you're back at the top of the page again? Well, you've been attacked by an octothorpe and I bet you didn't even know it! A what-o-thorpe, you ask? Octothorpe comes from the Greek word octo, which means eight. (If you've seen the movie My Big Fat Greek Wedding, you should know that all words come from a Greek word! Joe tells me that the thorpe part comes from James Oglethorpe, Georgia's founder. Should we believe him? The true origin is unkown according to the dictionary, so the world may never know...) Anyway, this is an octothorpe: #. You can call it the number sign, a hash, a pound sign or any other words it may be known as, but I call 'em octothorpes.

Octothorpes are great for some things, but not for creating what is known as a null link. So as you use Dreamweaver's behaviors, keep an eye on the Link field of the Property inspector and make sure that you see javascript:; instead of an octothorpe. If you have a bunch of pages with null links you'd like to fix, you could use Dreamweaver's Find and Replace feature to search for this source code:

And then replace it with this:

This way you'll never subject your site's visitors to killer octothorpes again.

Figure7.2Figure 7.2

  • + Share This
  • 🔖 Save To Your Account