View Full Version : Highlight Table Cells Scripts Help!!!!

10-25-2004, 07:16 PM
we're spinning off another company and I've been charged with replicating our main site. the old site is using the Highlight table cells script. http://www.dynamicdrive.com/dynamicindex1/highlightmenu.htm

I copied and pasted the script into our new site. The old site (www.mnx.com) has spacers in between each cell. On the new site those spacers are changing color on rollover. However, when I looked at the code in the old site there doesn't appear to be a <td id="ignore"> on the spacer cells.

<TD background=home_files/table-spacer.gif><IMG height=2
src="home_files/spacer.gif" width=1></TD></TR>

Can anyone please tell me what I may be missing?

10-25-2004, 08:00 PM

Could you please post the URL of the site that is doing the rollover effect where you don't want it to? That way I can compare the two side by side.

10-25-2004, 08:23 PM
sorry. I can't. no ISP yet. I'll try to explain.

If you look at the code of the table in www.mnx.com you can see table spacer gifs. These show up as borders on the cells (it makes the cells look like the have borders).

On my site they don't show up at all which makes it look like there isn't any dividing lines at all and when you roll the cursor over, it turns red like the rest of the cells.

The code is identical in both. Can't figure out what I'm missing.

Hope this helps. Really appreciate it

10-25-2004, 10:00 PM
If that didn't help...maybe you can answer where I might put

<td id="ignore">Main Menu</td>

in the spacer cell as below:

<TD background=network_home_files/table-spacer.gif colSpan=2><IMG
height=2 src="network_home_files/spacer.gif" width=1></TD></TR>

10-26-2004, 12:56 AM
Try adding id="ignore" in the spacer cell as below:

<TD background=network_home_files/table-spacer.gif colSpan=2 id="ignore"><IMG
height=2 src="network_home_files/spacer.gif" width=1></TD></TR>

Let me know if that helps.

I found this little snippet of information on the documentation for the Highlight Table Cells

It's very similar to the script called Highlight Menu Effect http://www.dynamicdrive.com/dynamicindex1/highlightmenu.htm
that you referred to but has much more visual impact.

10-26-2004, 01:10 PM
Unfortunately it did not work. Everywhere I have tried to add id="ignore" it shows up as text id="ignore" in the cell. Also, I have to replicate the exact menu as is in www.mnx.com so I can't use the second menu above.....

10-26-2004, 01:19 PM
I figured it out. I had to cut and re add the spacer cells manually. Thanks for your help!!!