Clicky

RapidWeaver Stacks, PlugIns, Themes ...
menu Menu

rjhweb design

rjhweb design

fast, flexible fair

Ninja News

RapidWeaver News & Reviews

The Do-Nothing-Link

There are occasions when you will want a link on your page to do nothing and go nowhere; when you don't want the top item of a menu to do anything more than open the sub-menu, for instance. In such cases you can, as you know, use a script to prevent the button from actually doing anything, or you can enter #void as the link. You'll have noticed that many developers add this as the standard link for their button stacks.

#void

You may also have noticed that clicking a #void link will enter exactly this text into the URL bar. Slightly annoying and completely meaningless. It makes some users wonder what it means.
The # link on its own will cause your browser to scroll up to the top of the page; adding a text to the hash will prevent this action. Instead of #void, you may enter #anything which, when clicked, will cause "#anything" to appear in the URL bar.

Instead of 'void', why not add a text that will make sense to your users, #About, #More or #Partners for instance? Looks much better than #void and doesn't cause your users to wonder what went wrong.

Adapted from Tommy's http://bit.ly/DeFliGra-Blog

Comments

Show more posts

  • Stacks Image 35399
  • Stacks Image 35402
  • Stacks Image 35405
  • Stacks Image 35408
  • Stacks Image 35411
  • Stacks Image 35414
  • Stacks Image 35417
  • Stacks Image 35420
  • Stacks Image 35423
  • Stacks Image 35426
  • Stacks Image 35429
  • Stacks Image 35432
  • Stacks Image 35435
  • Stacks Image 35438
  • Stacks Image 35441
  • Stacks Image 35444
  • Stacks Image 35447
  • Stacks Image 35450
  • Stacks Image 35453
  • Stacks Image 35456
  • Stacks Image 35459
  • Stacks Image 35462
  • Stacks Image 35465
  • Stacks Image 35468
  • Stacks Image 35471
  • weaverthemes
  • Stacks Image 35477
  • Stacks Image 35480
  • Stacks Image 35483

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

x

Don’t miss a post!
Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

* indicates required

Contact Information

My Image

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.

Legal

This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—16

This website was built with loving care on a Mac using Foundation. For more information, contact me.