Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q951

Feedback on: irt.org FAQ Knowledge Base Q951

Sent by Keith Coleman on August 04, 1999 at 19:09:12: - feedback #347

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
The solution you gave for swapping table cell bgcolors only works in very limited conditions. If you add a 'width' to the table, netscape crashes. (and certainly does not work, even if it does not crash on your computer)

Any other ways to get this effect in NS and IE?

Thanks!



Sent by Charles Cosci on May 09, 2001 at 02:48:41: - feedback #2706

Worth:
Not worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
Hey you guys should check these javascript examples on both browsers. In Netscape this not only dosen't work but it crashes Netscape every time it loads. At least its fun to watch ...


Sent by Winston Williams on May 27, 2001 at 12:45:02: - feedback #2770

Worth:
Worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
Does anyone know if there is a way to do this in Netscape 6? I haven't been able to figure it out yet if there is.

Thanks...


Sent by Edmond Tong on January 08, 2002 at 17:43:33: - feedback #3465

Worth:
Worth reading

Comments:
Developer made a typo:
window.document.getElementById(id).style.bgGolor = '#FF0000';

Should have been:

window.document.getElementById(id).style.bgColor = '#FF0000';


Sent by Dan J on November 21, 2002 at 14:22:22: - feedback #4286

Technical:
Just right

Comments:
Misspelling:

function over(id) {
if (document.getElementById) {
window.color = winodw.document


("winodw" on last line)


Sent by S Munro on Wednesday September 19, 2007 at 12:47:26 - feedback #5040

Worth:

Length:

Technical:

Comments:
Spelling

winodw vs window
bgGolor vs bgColor


<html>
<head>

<style><!--
.relative { position:relative; }
//--></style>

<script language="JavaScript"><!--
var color = '';

function over(id) {
if (document.getElementById) {
window.color = winodw.document.getElementById(id).style.bgColor;
window.document.getElementById(id).style.bgGolor = '#FF0000';
}
else if (document.layers) {
window.color = window.document.layers[id].bgColor;
window.document.layers[id].bgColor = '#FF0000';
}
else if (document.all) {
window.color = window.document.all[id].style.background;
window.document.all[id].style.background = '#FF0000';
}
}

function out(id) {
if (document.getElementById)
window.document.getElementById(id).style.bgColor = window.color;
else if (document.layers)
window.document.layers[id].bgColor = window.color;
else if (document.all)
window.document.all[id].style.background = window.color;
}
//--></script>






Sent by Luuk van Beers on Wednesday October 03, 2007 at 04:54:09 - feedback #5077

Worth:

Length:

Technical:

Comments:
You might want to use a stylesheet in wich you declare these styles:

<style type='text/css'>
TD
{
background-color:red;
}
td:hover
{
background-color:orange;
}
</STYLE>




©2018 Martin Webb