Page 1 of 1

how do i make a cell to be a link

Posted: Tue May 11, 2010 7:07 pm
by adsegzy
Hello friends,

I want to make some of my cell to be links eg

Code: Select all

<table width="200" height="128" border="0" cellpadding="5" cellspacing="0">
  <tr>
    <td>Home</td>
  </tr>
  <tr>
    <td>Abour Us </td>
  </tr>
  <tr>
    <td>Contact</td>
  </tr>
</table>
so that instead of making only the words on the cell to be links (<a href="mysite.com/aboutus.html">About Us</a>) i want it to be that once you click anywhere on the About Us cell, you should be directed to about us page.

regards

Re: how do i make a cell to be a link

Posted: Tue May 11, 2010 7:40 pm
by phu
The onclick property is one solution. You can set it to run a simple Javascript command that will point the user's browser at a new URL.