[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 84291] New: Javascript activated when clicking inside a table
From:       "Daniel O'Connor" <darius () dons ! net ! au>
Date:       2004-07-01 6:41:01
Message-ID: 20040701064101.6298.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

http://bugs.kde.org/show_bug.cgi?id„291
           Summary: Javascript activated when clicking inside a table
                    overrides links in that table
           Product: konqueror
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kjs
        AssignedTo: konq-bugs kde org
        ReportedBy: darius dons net au


Version:            (using KDE KDE 3.2.2)
Installed from:    FreeBSD Ports
OS:                FreeBSD

My ISP's forums do some odd things
http://games.internode.on.net/forums/viewforum.php?f 

Each thread entry in a forum has stuff like ->
	<tr>
	  <td class="row4" align="center" valign="middle" width="20"><img \
src="templates/subSilver/images/folder_new.gif" width="19" height="18" alt="New \
posts" title="New posts" /></td>  <td class="row5" width="100%" \
onMouseOver=this.style.backgroundColor="#111111" \
onMouseOut=this.style.backgroundColor="" \
onclick="window.location.href='viewtopic.php?t#769'"><span class="topictitle"><a \
href="viewtopic.php?t#769&amp;view=newest"><img \
src="templates/subSilver/images/icon_newest_reply.gif" alt="View newest post" \
title="View newest post" border="0" /></a> <a href="viewtopic.php?t#769" \
class="topictitle">Joint Ops Server?</a></span><span class="gensmallwhite"><br />  [ \
<img src="templates/subSilver/images/icon_minipost.gif" alt="Goto page" title="Goto \
page" />Goto page: <a href="viewtopic.php?t#769&amp;start=0"><font \
class=gensmallwhite>1</font></a>, <a href="viewtopic.php?t#769&amp;start"><font \
class=gensmallwhite>2</font></a> ] </span></td>  <td class="row1" align="center" \
valign="middle"><span class="postdetails">23</span></td>  <td class="row2" \
align="center" valign="middle"><span class="name"><a \
href="profile.php?mode=viewprofile&amp;u2">Gibbz</a></span></td>  <td class="row1" \
align="center" valign="middle"><span class="postdetails">665</span></td>  <td \
class="row2" align="center" valign="middle" nowrap="nowrap"><span \
class="postdetails">Today at 1:52 pm<br /><a \
href="profile.php?mode=viewprofile&amp;u">UgLyPuNk</a> <a \
href="viewtopic.php?p60884#360884"><img \
src="templates/subSilver/images/icon_latest_reply.gif" alt="View latest post" \
title="View latest post" border="0" /></a></span></td>  </tr>

The problem is that the onclick javascript overrides any actual links inside the \
table area. So, for example, if I wanted to go to the latest message in a thread I \
can't because any click in the area goes to the first message, rather than the \
latest.

The mouse over URL, copy link location and middle click URLs are correct. If I middle \
click I get a new tab with the correct URL and the current tab changes to the wrong \
URL.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic