前の記事 ≪:「Remember the Milk」をタスクトレイに常駐させて使う方法
次の記事 ≫:選択中のINPUT要素をハイライトしてくれるJavascriptライブラリ「Highlight a...

HTMLのリスト要素を視覚的に階層表示する「StyleMap」

2006年11月08日-はてなブックマーク

スポンサード リンク
[PR] 英単語を忘却曲線アプリを使って超効率よく記憶する方法
Scott Jehl, Designer/Developer, Boston, MA | Process: StyleMap: Visual Sitemap
If you've ever had to produce a sitemap for a client using tools like Visio or OmniGraffle, you know that it can be tedious to visual organize a complex hierarchy of pages. Having experienced this myself, I developed a simple and efficient way to make a sitemap through the benefits of standards-based HTML and CSS.

HTMLのリスト要素を視覚的に階層表示する「StyleMap」。
dl, dd, dt で定義したリストを次の図のように視覚的に階層表示することが可能です。



HTMLソースは次のようにシンプルかつクリーンなリスト。

 <dl id="sitemap">
  <dt class="root"><a href="#">Homepage</a></dt>
  <dd class="first">
   <dl>
    <dt><a href="aboutUs.html">aaaAbout Us</a></dt>
    <dd class="first"><a href="company.html">Company</a></dd>
    <dd><a href="staff.html">Staff</a></dd>
    <dd><a href="location.html">Location</a></dd>
    <dd class="last"><a href="careers.html">Careers</a></dd>
   </dl> 
  </dd>

検索クローラにも人間にも分かりやすいサイトマップが比較的、お手軽に作れてしまいますね。
これはかなり面白いです。

関連の記事検索:HTML, デザイン
スポンサード リンク

By.KJ : 2006年11月08日 14:09 livedoor Readerで購読 Twitterに投稿

間違いの指摘をしていただける方はメール、あるいはTwitter/FBでお願いします(クリック)