Hope someone can help.
First let me start be telling you all I know nothing about coding / Html and designed my site in Dreamweaver.
My problem is that some pages are showing an error when viewed in I.E. giving the little yellow error triangle in the bottom left of the screen. Apparently there are errors in some lines : "Error - Object expected", and the object appears the be the web address for the page it is actually on???
Always try to keep your site JavaScript free unless you really need them. Adding codes like below will only make your site unpleasant to visitors. They will never help you to protect your source codes.
Quote:
<script language="JavaScript">
<!--
// By JavaFile! http://www.javafile.com
// Permission granted to SimplytheBest.net to feature the script in the
// DHTML script collection at http://simplythebest.net/info/dhtml_scripts.html.
var message="Thank you for right clicking. However, that is not allowed on this page!";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
__________________ Please login or register to view this content. Registration is FREE