View Full Version : Map an area for links

07-03-2002, 09:38 PM

A while ago I mapped a menu graphic for links. What I want to do now is map the top three cells of a table to one link so that no matter where they are clicked it works. I would rather not have three links and thought mapping might be the answer. Is it possible, if so how would I go about it.


07-03-2002, 10:15 PM
mayyybe /me is just a missingŪ something here...'cept cant you make your image 'fit three tds' aka colspan="3" n' put your 'new' graphic in there n' link it???aka the new colspan="3" td would have your newww image just a fillingŪ it???

07-03-2002, 11:36 PM
Each cell has a different graphic in it, these graphics are also used independently elsewhere so I wanted to keep them seperate, thats why I wanted to know if its possible to map a number of cells to one link. Its not a 'have to' but it would be handy.

07-03-2002, 11:58 PM
<table cellspacing="1" border="1">
<tr onclick="alert('Jeepers, creepers!')">
<td><img src="http://www.codingforums.com/images/profile.gif"></td>
<td><img src="http://www.codingforums.com/images/find.gif"></td>
<td><img src="http://www.codingforums.com/images/buddy.gif"></td>

07-04-2002, 12:09 AM
I've forgotten about the mapping idea, I've put a <div> with a link around the cells, it seems to do the job so I'm happy.

Sorry adios, posted this whilst offline, so I did not see yours. That will also do nicley, just see which is best on cross browser (and NS{the dreaded}4.7). Cheers