Hi all,
I implemented a hierarchy browser using javascript when available. Whithout javascript, I wanted a full-expanded menu.
I solved with the following code:
<link rel="stylesheet" type="text/css" ref="style.css"></link>
<noscript>
<link rel="stylesheet" type="text/css" href="style_nojs.css"></link>
</noscript>
It conditionally includes a specific stylesheet when javascript is not found. It works well, but there it is no XHTML1.0 compliant (<link> cannot be buried inside <noscript>).
Any idea or suggestion?
Thankyou in advance...
Implementation:
I implemented a hierarchy browser using javascript when available. Whithout javascript, I wanted a full-expanded menu.
I solved with the following code:
<link rel="stylesheet" type="text/css" ref="style.css"></link>
<noscript>
<link rel="stylesheet" type="text/css" href="style_nojs.css"></link>
</noscript>
It conditionally includes a specific stylesheet when javascript is not found. It works well, but there it is no XHTML1.0 compliant (<link> cannot be buried inside <noscript>).
Any idea or suggestion?
Thankyou in advance...
Implementation: