Cell as LINK

Please support our HTML and CSS advertiser: 50% off 6 Months Dedicated Server Hosting from 1&1!
Reply

Join Date: Dec 2004
Posts: 234
Reputation: cancer10 is an unknown quantity at this point 
Solved Threads: 0
cancer10's Avatar
cancer10 cancer10 is offline Offline
Posting Whiz in Training

Cell as LINK

 
0
  #1
Apr 9th, 2006
Hey,

See the code below, The cell color is yellow. Is there any way that if I click anywhere on the CELL where the hyperlink is, it will take me to the same url "http://chargertek.in"





HTML and CSS Syntax (Toggle Plain Text)
  1. <table border="1" width="100%" cellspacing="0" cellpadding="0">
  2. <tr>
  3. <td width="100%" bgcolor="yellow"><a href="http://chargertek.in">Free Web Hosting</a></td>
  4. </tr>
  5. </table>
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 206
Reputation: plazmo is an unknown quantity at this point 
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Cell as LINK

 
0
  #2
Apr 9th, 2006
HTML and CSS Syntax (Toggle Plain Text)
  1. <table border="1" width="100%" cellspacing="0" cellpadding="0">
  2. <tr>
  3. <td width="100%" bgcolor="yellow" onClick="javascript:window.location.href='http://chargertek.in'"><a href="http://chargertek.in">Free Web Hosting</a></td>
  4. </tr>
  5. </table>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 3643 | Replies: 1
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC