469,902 Members | 1,966 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

when click table cell go to URL

Hi all,
I have an easy one I think. How do you go to a URL when you click a
table cell?
Neil_RM
Jul 20 '05 #1
2 15621
In article <HS*****************@bignews1.bellsouth.net>,
ro*****@microaction.com enlightened us with...
Hi all,
I have an easy one I think. How do you go to a URL when you click a
table cell?


In newer browsers, onClick of TD is supported. If you have to support
old browsers, you pretty much can't. You have to use a link in the cell.

So, for newer browsers that support TD onClick
<td onClick="top.location='newLocation.html';">content </td>
--
--
~kaeli~
Hey, if you got it flaunt it! If you don't stare at someone
who does. Just don't lick the TV screen, it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
Wow Thanks!
Robert
"kaeli" <ti******@NOSPAM.comcast.net> wrote in message
news:MP************************@nntp.lucent.com...
In article <HS*****************@bignews1.bellsouth.net>,
ro*****@microaction.com enlightened us with...
Hi all,
I have an easy one I think. How do you go to a URL when you click a
table cell?


In newer browsers, onClick of TD is supported. If you have to support
old browsers, you pretty much can't. You have to use a link in the cell.

So, for newer browsers that support TD onClick
<td onClick="top.location='newLocation.html';">content </td>
--
--
~kaeli~
Hey, if you got it flaunt it! If you don't stare at someone
who does. Just don't lick the TV screen, it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jay | last post: by
3 posts views Thread by =?Utf-8?B?cml2YWxAbmV3c2dyb3Vwcy5ub3NwYW0=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.