Jump to the post that solved this thread.
Solved: 5 Years, 8 Months, 1 Week ago [How To?] Mouseover Link Colspan
#1
Solved: 5 Years, 8 Months, 1 Week ago
Hi

I have the following code in my forumdisplay_thread template:

<tr onclick="window.location.href='showthread.php?tid={$thread['tid']}';" style="cursor: pointer;">

Now the code itself works brilliantly as it makes the entire row of a thread become a link to the thread on mouseover however I wanted to know if there is a way I can edit it so that only the first 5 columns of the row become a link when mouseover occurs as opposed to the entire row?

Thanks,
Kyle
Reply
#2
Solved: 5 Years, 8 Months, 1 Week ago
for the last post td cell you can try adding onclick="event.cancelBubble=true;"

<td onclick="event.cancelBubble=true;" ___________ ____________ ___________
Reply
#3
Solved: 5 Years, 8 Months, 1 Week ago
Perfect, thank you very much Big Grin.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)