A bit of DOM scripting to the rescue
HTML Code:
<script type="text/javascript" src="css.js"></script>
css.js
HTML Code:
var cssFile = document.createElement('link');
cssFile.type = 'text/css';
cssFile.rel = 'stylesheet';
cssFile.href = '/test.css';
cssFile.media = 'screen';
cssFile.title = 'dynamicLoadedSheet';
document.getElementsByTagName("head")[0].appendChild(cssFile);
set the name of the stylesheet to suit. Maybe change the name of the js file as well.
It won't stop anybody who is determined to steal the design but it will stop the casual onlooker.
Or you could DOM script the entire style sheet though that would take a lot of work.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|