Closed
Bug 265497
Opened 20 years ago
Closed 20 years ago
This work in ie6, but not in mozilla...
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Dave.rhodes, Unassigned)
Details
Attachments
(1 file)
|
513 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
Using linux sever/apache
I have a loop displaying a table and setting a count
this code id's the line hovered over and sets the php page to load
echo "<a href=\"changestatus.php?id=$count\">";
works well in ie6, but I get no hover link or id on mozilla
more of the routine looks like this for reference. It is php...
$count = 0;
while (is_array($part_array[$count]))
{
if ($color == "#cccccc")
$color = "#ffffff";
else
$color = "#cccccc";
echo "<a href=\"changestatus.php?id=$count\">";
echo "<tr bgcolor=$color>";
while (list( $key, $value ) = each( $part_array[$count] ))
{
// remember to call htmlspecialchars() we are displaying user data
echo "<td>" .htmlspecialchars($value) ."</td>";
}
echo "</tr>";
echo "</a>";
$count++;
}
I do believe it is a bug..., but if you know how to make that work let me know.
Thanks,
Dave
Reproducible: Always
Steps to Reproduce:
1. using php, define a list like above and try to use a href hyperlink with id
2.
3.
Actual Results:
nothing at all
Expected Results:
showed the link and id of the line to hyperlink to. when clicked it goes to the
page and $id tell what line was selected to be edited.
This is stopping users from using mozilla on linux and window platforms from
using the site.
let me know if you have a workaround, need to work in ie6 and mozilla.
according to html 4.0, it should work...
Comment 1•20 years ago
|
||
testcase Your program outputs invalid HTML with a hyperlink containing a row in a table. If you write the output with valid HTML it will work.
Comment 2•20 years ago
|
||
(In reply to comment #0) > according to html 4.0, it should work... HTML 4 does not say that. Bug is invalid, the outputted code is invalid. <A> tags have to be contained within <tr><td> tags, not the reverse like your output is doing.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•20 years ago
|
||
yep, I fixed the code to do that and it works... ie is a little more forgiving in that you can hover over any of the row and get the link. In mozilla, you get it if you hover any of the text in the row. anyway it works... Thanks, Dave
| Reporter | ||
Comment 4•20 years ago
|
||
yep, I fixed the code to do that and it works... ie is a little more forgiving in that you can hover over any of the row and get the link. In mozilla, you get it if you hover any of the text in the row. anyway it works... Thanks, Dave
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•