2 replies [Last post]
boboeufs
Offline
newbie
Last seen: 15 years 47 weeks ago
Joined: 2004-08-10
Posts: 2
Points: 0

Hello,

I have a table, with one row. Each contains a link. When I move my mouse over each cell I want the background color for that cell to change. I want the entire cell to work as the link. Also I want to target each link to a specific frame. I need this to work for Netscape. Can anybody help me?

This worked for IE, but not Netscape:

<head>
<style type="text/css">
td.clickable {
background: 94D6E7;
color: black;
cursor: pointer;
}
</style>
</head>

<body>
<table>
</tr>
<td WIDTH=150 onclick="parent.body.document.location.href='tabs solo.html';" onmouseover="this.className='clickable';" onmouseout="this.className='';">Solo</TD>

<td WIDTH=150 onclick="parent.body.document.location.href='tabs blake babies.html';" onmouseover="this.className='clickable';" onmouseout="this.className='';">Blake Babies</TD>

<td WIDTH=150 onclick="parent.body.document.location.href='tabs some girls.html';" onmouseover="this.className='clickable';" onmouseout="this.className='';">Some Girls</TD>

<td WIDTH=150 onclick="parent.body.document.location.href='tabs b sides.html';" onmouseover="this.className='clickable';" onmouseout="this.className='';">B Sides</TD>
</tr>
</table>
</body>

loudsox04
Offline
Regular
Boston, MA
Last seen: 16 years 4 days ago
Boston, MA
Timezone: GMT-4
Joined: 2004-07-06
Posts: 33
Points: 0

changing background color of cell in netscape

What specifically doesn't work in Netscape? The link, the rollover, the background? One tip i have though is to make sure that you always put '#' before hex color codes - some browsers don't understand it otherwise.

boboeufs
Offline
newbie
Last seen: 15 years 47 weeks ago
Joined: 2004-08-10
Posts: 2
Points: 0

changing background color of cell in netscape

Nevermind, I figured it out. but thanks.