Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OnClick event in a table cell

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
How can I use the onClick event when a cell is clicked, to display a page located within my home site in a specified frame.
onclick="href=' will work to link to a site outside mine, and move the whole window to that site. I want to force the page into the (main) frameset.

Solo7 [thumbsup2]
 
One thing you can do is try it with the modified <a> tag. Try this:
Code:
<td><a href=&quot;uri.html&quot; target=&quot;framename&quot; style=&quot;display: block; width: 100%; height: 100%;&quot;></a></td>
This will create an invisible link block that covers up the entire cell. Hope it helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top