![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Location: Asphalt Jungle
Posts: 382
|
Is it possible to make everything inside a table or div a single link?
Have never been able to figure out a way to do this, but its often needed. When you do a gallery or freesite you are limited with the number of links you can have. So if you slice up a large image it fucks your ability to make it all one link (to the sponsor), or at least i think it does. I know you can make multiple items a single link, but only if they are inside the same cell. But when you slice something up you have multiple cells. Here is an example of a sliced image and some text below it, is there a way to make the entire table contents (in other words, the entire displayed image and the text below it) a single link?
<table align="center" width="590" height="205" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2"><img src="s_01.gif" width="300" height="205"></td> <td rowspan="2"><img src="s_02.jpg" width="140" height="205"></td> <td colspan="2"><img src="s_03.gif" width="150" height="96"></td> </tr> <tr> <td><img src="s_04.jpg" width="29" height="109"></td> <td><img src="s_05.gif" width="121" height="109"></td> </tr> <tr> <td colspan="4" align="center">TEXT COPY GOES HERE</td> </tr> </table> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
<table onClick="window.location.href='http://www.gofuckyourself.com'";>
It works in IE, haven't tried anything else. Will some scripts catch and refuse this? I dunno.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Feb 2003
Location: Asphalt Jungle
Posts: 382
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |