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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-23-2004, 12:30 PM   #1
Big Monkie
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>
Big Monkie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2004, 12:58 PM   #2
fusionx
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..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-23-2004, 02:02 PM   #3
Big Monkie
Confirmed User
 
Join Date: Feb 2003
Location: Asphalt Jungle
Posts: 382
Quote:
Originally posted by fusionx
Will some scripts catch and refuse this? I dunno..
Good question, but only safe way to go with galleries is no scripting of any kind on the page, period, no exceptions. I was wondering if there was some html or css trick i had never heard of. Years ago i remember first trying to figure this out, kept trying to surround everything with the standard <a> tags and couldnt figure out why it wouldnt work. And still cant.
Big Monkie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.