Closed
Bug 93504
Opened 25 years ago
Closed 25 years ago
register button missing
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: mozilla.7b6g9, Assigned: karnaze)
References
()
Details
Attachments
(2 files)
In Netscape 4.78, a (Javascript?) button labeled Register appears near the
bottom of this page.
In Mozilla 0.9.3 I don't see this button.
Comment 1•25 years ago
|
||
Confirming with Mozilla binary 2001073103 WinNT.
This is the HTML that creates the "Register" button:
<SCRIPT language="JavaScript1.0" TYPE="text/javascript">
document.writeln("<A HREF=\"javascript:;\" onClick=\"if
(form_check(document.register_form)) document.register_form.submit(); return
false\" onMouseOver=\"window.status='Register';return true\"
onMouseOut=\"window.status='';return true;\">
<img
src=\"https://a248.e.akamai.net/7/248/385/0077/www.half.com/images/button_regist
er.gif\" WIDTH=\"74\" HEIGHT=\"18\" BORDER=\"0\" VSPACE=\"6\"></A>");
</SCRIPT>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•25 years ago
|
||
Here is a more readable version of the same script:
var sHTML = '';
sHTML += "<A HREF=\"javascript:;\" "
sHTML += "onClick=\"if (form_check(document.register_form))
document.register_form.submit(); return false\" "
sHTML += "onMouseOver=\"window.status='Register';return true\"
onMouseOut=\"window.status='';return true;\">"
sHTML += "<img
src=\"https://a248.e.akamai.net/7/248/385/0077/www.half.com/images/button_regist
er.gif\" "
sHTML += "WIDTH=\"74\" HEIGHT=\"18\" BORDER=\"0\" VSPACE=\"6\"></A>"
document.write(sHTML);
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
Try the testcase in each browser and see if there is a "Register" button:
IE4.7 : yes
NN4.7: yes
Moz/N6: no
This occurs on all three major platforms; OS : WinNT --> All.
There are no errors indicated in the Mozilla JavaScript Console.
Reassigning to Layout component for further triage -
Component: Javascript Engine → Layout
Updated•25 years ago
|
OS: Windows NT → All
Hardware: PC → All
Comment 5•25 years ago
|
||
Comment 6•25 years ago
|
||
The second HTML testcase above alerts the final result of the
JavaScript string. I'm not sure what's wrong with it.
Guess: does it have something to do with the use of
<A HREF= "javascript:;"
in addition to the onClick handler defined later in the string?
Assignee: rogerl → karnaze
QA Contact: pschwartau → petersen
Comment 7•25 years ago
|
||
It works if you remove: language="JavaScript1.0"
*** This bug has been marked as a duplicate of 89864 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 8•25 years ago
|
||
Verified Duplicate. If I edit the testcase above to change
<SCRIPT language="JavaScript1.0" etc.
to <SCRIPT language="JavaScript" etc.
then the image loads fine -
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 9•24 years ago
|
||
(this is the original bug reporter writing)
Just tried this in 0.9.5. The button appears now.
It even does something when I poke it.
Status: VERIFIED → CLOSED
You need to log in
before you can comment on or make changes to this bug.
Description
•