954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Odd stacked link issue

I have a website where I am making a calendar and inside each day cell I have a list of events where each name is a link to a information page on that link. Also, each day cell is a link to a page with a more in-depth list of events for that day (for when the events don't fit on the actual calendar. Below is the code for one of these cells:

<td height="125px" width="143" align="center" bgcolor="#000000" Onclick="window.open('lessonDay.php?month=4&day=18&year=2009','_blank','height=460, width=410,scrollbars=no')"; style="cursor:pointer;">
<div ="events">
<a href="javascript:void(0)" onclick="window.open('Lessons.php?lessonID=3','Guitar','height=460, width=410,scrollbars=no')"> Guitar </a>

</div>
</td>

Now my problem. When I click on the cell it takes me to the desired page, but when I click on one of the individual events within the cell it takes me to both the day page and the event page, because the event links are directly ontop of the cell link. I could avoid this "stacked" linking, but I'd rather make it work if I can.

So, is there anyway to make the click only active the event link when it is clicked and not activate the cell link?

Thank you,
Joe Hawkes-Cates

jbh6gc
Newbie Poster
4 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

I have no idea what you are talking about. Can you show an example?

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
 

Line 2 is busted code. What did you leave out before the = sign?

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You