User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin.
 

Top Links

This is the list of links appearing immediately after the <h1>.

They are contained within an unordered list like so:

  <ul>
    <li class="location home-top-link"><a href="/">Home</a></li>
    <li class="checkout-top-link"><a href="/checkout.html">Checkout</a>
    ....
  </ul>

The key things to notice are the .location class and the .xxx-top-link class.

.location is written out when a link's url matches the current location on the website. See the basics location section for styling tips.

.xxx-top-link is /always/ written out on link list <li>s. It is formed from the link name (in lowercase with spaces and non-word characters replaced by hyphens) with -top-link appended to the end. This is useful for adding background images such as icons. See the basics links section for CSS examples.

 
dev/boxes/top-links.txt · Last modified: 2008/02/07 10:43 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki