Click to See Complete Forum and Search --> : How do I redirect to a new page without using <A>
Pavon
12-04-2002, 06:58 AM
Hi all,
I have a <TD>, when the user clicks on it I want to redirect to a new page with new querystrings.
I am using PHP
Thanks,
Fernando pavon
Pavon
12-04-2002, 09:19 AM
I will try your suggestion and visit your website.
Thank you Dave, I really appreciate it.
Fernando
Charles
12-04-2002, 09:45 AM
But the that will leave you page broken for about 12% of users. <td><a href="htp://www.w3.org">W3C</a></td> will not.
Pavon
12-04-2002, 12:54 PM
Hi Charles,
My <TD> acts as a button with a <A> inside it.
The <TD> is a larger area than the <A> so the problem arises when the user clicks outside of the <A> but still within the <TD>
You can see it at www.pavon.net you will notice that the button only works when the user clicks on the <A> so it can be confusing.
Thanks
Fernando
Rick Bull
12-04-2002, 02:26 PM
How about you try something like:
<td style="margin:0px;"><a href="#" style="display:block;">Blah</a></td>
Zach Elfers
12-04-2002, 09:34 PM
<td onClick="window.location.href='anypage.html';">Contents</td>
That should do it.:)
Pavon
12-05-2002, 02:51 AM
Thanks guys!
I really appreciate your help, hopefully I will be able to do something for you too some day.
I like your site Rick,
Cheers for now!
Fernando
Rick Bull
12-05-2002, 05:36 AM
Heh thanks. :D