Last change
on this file since 92 was 84, checked in by Kris Deugau, 14 years ago |
/trunk
Finally find a clean workspace to commit a (mostly) complete collapsible
group tree adapted from http://www.thecssninja.com/css/css-tree-menu.
Works in Opera, Firefox, Safari, probably works in recent Konqueror,
as coded it will provide a gracefully degraded always-open tree in IE 8
(and probably 7, but I don't have that handy). It will likely fail
horribly in IE6 as is since IE6 apparently does not support the
special <! if [IE] > tags in the <head> section. Feh.
Due to this IE limitation, I may switch to detecting the browser in the
script, and fiddling the header to include one group tree file or the other.
|
File size:
1.0 KB
|
Line | |
---|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
---|
5 | <title>tinyDNS Administration</title>
|
---|
6 | <!-- General stylesheet for most content, all browsers -->
|
---|
7 | <link rel="stylesheet" type="text/css" href="templates/dns.css">
|
---|
8 |
|
---|
9 | <!-- Load a secondary stylesheet for the group tree for IE ... -->
|
---|
10 | <![if IE]>
|
---|
11 | <title>css tree test page - Internet Exploder</title>
|
---|
12 | <link rel="stylesheet" type="text/css" href="templates/grouptree-ie.css">
|
---|
13 | <![endif]>
|
---|
14 |
|
---|
15 | <!-- ... and now override the IE glop with the nifty CSS-only collapsing tree -->
|
---|
16 | <![if !IE]>
|
---|
17 | <title>css tree test page - Real Browsers(TM)</title>
|
---|
18 | <link rel="stylesheet" type="text/css" href="templates/grouptree.css">
|
---|
19 | <![endif]>
|
---|
20 | </head>
|
---|
21 | <body>
|
---|
22 | <div id="header">
|
---|
23 | <p>fobie bar bletch</p>
|
---|
24 | </div>
|
---|
25 | <div id="main">
|
---|
Note:
See
TracBrowser
for help on using the repository browser.