Linking A Cell

  • Hacker007
  • Proficient
  • Proficient
  • User avatar
  • Posts: 371
  • Loc: Riverside, CA

Post 3+ Months Ago

Linking A Cell, Ya, i forgot how to do that lol. Its loacation= or somthing like that I have done it before, but need a refreshers couse if anyone can help. The code im using is:

Code: [ Select ]
<table BORDER=1 BORDERCOLOR="black" CELLPADDING=0 CELLSPACING=0>
 <tr>
  <td bgcolor="black" background="pip.gif" width=115 height=18><strong><font color="yellow" size="2">&raquo; Zero Gravity</font></strong></td>
 </tr>
 <tr bgcolor=steelblue>
   <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
 </tr>
 <tr bgcolor=steelblue>
   <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
 </tr>
 <tr bgcolor=steelblue>
   <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
 </tr>
 <tr bgcolor=steelblue>
   <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
 </tr>
</table>
  1. <table BORDER=1 BORDERCOLOR="black" CELLPADDING=0 CELLSPACING=0>
  2.  <tr>
  3.   <td bgcolor="black" background="pip.gif" width=115 height=18><strong><font color="yellow" size="2">&raquo; Zero Gravity</font></strong></td>
  4.  </tr>
  5.  <tr bgcolor=steelblue>
  6.    <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
  7.  </tr>
  8.  <tr bgcolor=steelblue>
  9.    <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
  10.  </tr>
  11.  <tr bgcolor=steelblue>
  12.    <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
  13.  </tr>
  14.  <tr bgcolor=steelblue>
  15.    <td onmouseover="style.backgroundColor='navy';" onmouseout="style.backgroundColor='steelblue';">Home</td>
  16.  </tr>
  17. </table>


Any help would be great thank you :wink:
  • RichB
  • Guru
  • Guru
  • User avatar
  • Posts: 1121
  • Loc: Boston

Post 3+ Months Ago

You could add an onclick handler to the td:

Code: [ Select ]
onclick='location.href="http://www.yahoo.com"'


but it would still be a good idea to wrap an ordinary link around the text inside the cell for people who have disabled javascript.

Personally I prefer using CSS Rollover menus to generate this effect:

http://www.ssi-developer.net/css/menu-r ... fect.shtml
  • Hacker007
  • Proficient
  • Proficient
  • User avatar
  • Posts: 371
  • Loc: Riverside, CA

Post 3+ Months Ago

Thank you for the help rich. And I'll take your advice ;)

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 19 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.