
Originally Posted by
fobos
norbyson,
ok well this wasnt really hard to figure out. i too use DWCS3, so i will show you how to link your .css to your page?
To link your .css, try this:
<link rel="stylesheet" type="text/css" href="link to .css" />
for the "do not copy my pics" script:
create a .js script and call it something like "_noclick.js" or whatever you want.
<script type="text/javascript">
var message="";
function clickIE() { if (document.all) {(message);return false;}}
function clickNS(e) { if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message); return false;}}}
if (document.layers) { document.capturEvents(Event.MOUSEDOWN); document.onmousedown=clickNS;}
else { document.onmouseup=clickNS; document.oncontextmenu=clickIE;}
</script>
or just load it externaly (which is better for load time on the web page)
<script type="text/javascript" src="location of js script"></script>
there you go let me know it you have anymore problems
Bookmarks