Closed
Bug 304884
Opened 19 years ago
Closed 15 years ago
some hyperlinks with javascript (onClick, onMousover) not hot - cannot click
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jameslcwright, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Here is the way a particular event link is coded on a certain page:
<a onMouseover = this.style.cursor='hand'; onClick=EventsOpen("8%2F16%2F2005+2%
3A00%3A00+PM")><u>8/16/2005</u></a>
Mozilla 1.7.11 and Firefox 1.6 WILL NOT work with this kind of link.
Here is the way the same link is coded on another page:
<a href="public_events.asp?date=8%2F16%2F2005&W=&C=&S=")>8/16/2005 2:00:00
PM</a>
Mozilla 1.7.11 and Firefox 1.6 WILL work with this kind of link.
Reproducible: Always
Steps to Reproduce:
1.go to page.
2.try to click on link
3.link is not clickable
Actual Results:
nothing
Expected Results:
go to a detail page
Netscape 8 has no problem with these links (either way).
Comment 1•19 years ago
|
||
Hyperlinks will not appear with normal highlighting (normally blue & underlined)
unless they have a href attribute. Therefore:
<a href='' onclick='alert("clicked")'>click me</a>
will be formatted normally, but
<a onclick='alert("clicked")'>click me</a>
will not. To format all links as blue and underlined, use one of the following
css rules:
a {color:blue; text-decoration:underline;}
or
a[onmouseover], a[onclick] {color:blue; text-decoration:underline;}
The advantage of the 2nd rule is that tags like:
<a name="top of page"><h1>Title</h1></a>
will not have the normal link formattingfunction EventsOpen(dDate) {
document.location="<%= Application("baseURL")%>/portal/events.asp?
date=" + dDate;
}
the code above is the function that is being called by the link. This is
probably where it is chokingYou can use the following link for testing purposes: http://www.communitycrossings.net/linkbugtest.asp Note that the first link will throw an error when on the detail page but that is because you will not be logged in as a user - so ignore the error on the detail page it is not germaine to this matter). Both links work (get to the detail page) in IE 6 and Netscape 8 (even though an error is thrown when they get there from the first link on this test page).
Comment 5•15 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
Comment 6•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•