|
-
Dec 19th, 2000, 03:26 PM
#1
Thread Starter
Fanatic Member
AARRRGGG!!
I have this code that works in both browser w/ the exception that in Netscape it 'hides' my <a href>text.
have a look at this in IE then Netscape to see what I meen.
here is my code.
<HTML>
<HEAD>
</HEAD>
<BODY>
<table align="right">
<tr>
<td><a href="#" onMouseOver="changeContent(this,'<FONT COLOR=red>Current events at north!</FONT>')"
onMouseOut="changeContent(this,'Move the mouse pointer over this text')">North</a></td>
</tr>
<tr>
<td><a href="#" onMouseOver="changeContent(this,'<FONT COLOR=red>Current events at south</FONT>')"
onMouseOut="changeContent(this,'Move the mouse pointer over this text')">South</a></td>
</tr>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function changeContent(what,text) {
if (document.all)
object1.innerHTML = text;
else if (document.layers) {
document.open();
document.write(text);
document.close();
}
}
//-->
</SCRIPT>
<DIV ID="object1">
Current events show here!
</DIV>
</BODY>
</HTML>
if you have any suggestions that would be great.
thanks and happy holidays
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|