Using a Table or a Cell as a Link?

D

darkrats

Is it possible to use a whole table or cell as a link. In other words, so
that if you move your cursor anywhere inside a particular cell or table, and
click, it takes you to another webpage. I know you can use a picture as a
link, but what about a table that contains both images and text? Can the
entire table be designated as a link?

Thanks.
 
K

Kevin

Of course you can. For example, you might have a text "Link 01" in one of the
cells. Right-Click on it and then from insert select hyperlink. This should do
the job for you and the code for it would be:

<td><a href="http://www.microsoft.com/">Link 01</a></td>

This assumes the link is to Microsoft website and you are using FP 2003.

hth
 
S

Stefan B Rusynko

That just creates a link of the text, and not the whole td cell
- they may look the same (in some circumstances) but are not the same

To make the whole td cell, or table, a link you would need to add a onmouseover event to the td tag, or table tag
<td onmouseover="document.location.href='http://www.google.com';"> ..some content </td>

--




| Of course you can. For example, you might have a text "Link 01" in one of the
| cells. Right-Click on it and then from insert select hyperlink. This should do
| the job for you and the code for it would be:
|
| <td><a href="http://www.microsoft.com/">Link 01</a></td>
|
| This assumes the link is to Microsoft website and you are using FP 2003.
|
| hth
|
| darkrats wrote:
|
| > Is it possible to use a whole table or cell as a link. In other words, so
| > that if you move your cursor anywhere inside a particular cell or table, and
| > click, it takes you to another webpage. I know you can use a picture as a
| > link, but what about a table that contains both images and text? Can the
| > entire table be designated as a link?
| >
| > Thanks.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top