In article <m9********************************@4ax.com>, Geoff Cox
<ge*******@dontspamblueyonder.co.uk> writes:
Is it possible to use javascript to swop between css files?
<link rel="stylesheet" type="text/css" href="testFile1.css" id="linkTag">
Add an id attribute to your link tag and then change its .href property..
function changeCSSFile(newFile){
document.getElementById('linkTag').href = newFile;
}
Works in IE6.0, Firebird 1.4 and Opera 7.
Test page at <URL:
http://members.aol.com/_ht_a/hikksno...ile/index.html />
--
Randy