[thelist] link rel disabled attribute

Charles F. Johnson charles at littlegreenfootballs.com
Sat Feb 24 20:46:03 CST 2001


Mark Hadley <mail at mark-hadley.freeserve.co.uk> typed:

> Does anyone know anything about the disabled attribute of the link tag. You
> can use it like this:
> 
> <link rel="stylesheet" type="text/css" href="a.css" id="style1" disabled />
> 
> You can then set it to true or false using javascript i.e.
> 
> if (document.getElementById){
> document.getElementById('style1').disabled=false;
> }

it looks like a cool trick, but as far as i can tell from the HTML 4.01
documentation, the link element does not (officially) support the "disabled"
attribute.

http://www.w3.org/TR/html4/interact/forms.html#adef-disabled

charles johnson
lgf web design
http://littlegreenfootballs.com





More information about the thelist mailing list