HTMLのリスト要素を視覚的に階層表示する「StyleMap」
2006年11月08日-
スポンサード リンク
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>
検索クローラにも人間にも分かりやすいサイトマップが比較的、お手軽に作れてしまいますね。
これはかなり面白いです。
スポンサード リンク
Advertisements
SITE PROFILE
最新のブログ記事(新着順)
- 2012年2月10日 管理人のブックマーク
- ブラウザ上でPDFを表示するJSライブラリ「PDF.js」
- 次世代の検索フォームを作成するjQuery&CSS3サンプル
- 2012年2月9日 管理人のブックマーク
- faviconを書き換えてfacebookの通知っぽくしてくれるfaviconアラート実装ライブラリ「Tinycon」
- ページめくりを実現するためのjQueryプラグイン集
- 2012年2月8日 管理人のブックマーク
- HTMLをアップするとCSSのスケルトンを自動生成してくれる「bearcss」
- HTML5で綺麗でインタラクティブなグラフが描けるライブラリ「Flotr2」
- 2012年2月7日 管理人のブックマーク
- 過去のエントリ



















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




