Ouch


A

Aaaaaaaa

Guest
http://www.freewebs.com//index.htm

This is my website, now im using CSS

The navbar on the right, on my PC, the achula Writing on the links White, but on on other peoples computers, its blue! What Am i doing wrong?

This is the source

<html>

<head>

<STYLE TYPE="text/css">
<!--
a:link {color:#FFFFFFF;}
a:visited {color:#FFFFFF;}
a:hover {color:#FF0000;}
--> </STYLE>

</head>

<body bgcolor="#003399">
<font color="#FFFFFF" face="comic sans ms">

<script LANGUAGE="JavaScript">
function noRightClick(buttonClicked) {
if (navigator.appName == 'Netscape' &&
(buttonClicked.which == 2 || buttonClicked.which == 3))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 3 || event.button == 2)) {
alert("Dont Try it, Buster");
return false;
}
return true;
}
document.onmousedown=noRightClick;
document.onmouseup=noRightClick;
if (document.layers)
window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=noRightClick;
window.onmouseup=noRightClick;
</script>






<br><br>

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="142" height="37" background="but1.gif" align="center" valign="middle">
<a href="main.html" target="main" style="text-decoration:none">Home</a>
</td></tr></table>

<p><p>

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="142" height="37" background="but1.gif" align="center" valign="middle">
<a href="anim.html" target="main"> Animation  </a>
</td></tr></table>

<p><p>

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="142" height="37" background="but1.gif" align="center" valign="middle">
<a href="pictures.html" target="main"> Pictures  </a>
</td></tr></table>

<p><p>

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="142" height="37" background="but1.gif" align="center" valign="middle">
<a href="book.html" target="main"> Chat  </a>
</td></tr></table>

<p><p>

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="142" height="37" background="but1.gif" align="center" valign="middle">
<a href="http://www.charmainelouise.cjb.net" target="_blank"><font color="#FFFFFF">  Charmaine </font>  </a>
</td></tr></table>

<p><p>


<Hr>
<p align="center"><u><b><i> Poll </i></b></u>
<p align="center"><u> This site... </u>
<br><p><p>

<br>Sucks  <input TYPE="radio" NAME="radio" onClick="alert('No,Bozo')">

<p> Rules &nbsp;<input TYPE="radio" NAME="radio" onClick="alert('Correct.')"> </form>
<br><hr>
<p>







</font>
</body>
</html>
 
Deleted User posted on Feb 21 2004 at 02:04 PM said:
if (navigator.appName == 'Netscape' &&
(buttonClicked.which == 2 || buttonClicked.which == 3))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 3 || event.button == 2)) {
i dont actually know javascript but this looks a bit iffy to me. it looks like you have the numbers the wrong way round on one of them. then again im probably just being stupid
 
Last edited by a moderator:
Back
Top