Closed
Bug 212784
Opened 21 years ago
Closed 21 years ago
some javascript not working (page uses document.all)
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: kros_azz, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
I cannot post the site, since it requires a log-in.... however, i copied the
lines from source which show the problem - a javascript not doing what its
supposed to do...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="javascript">
myMsg="|| Realm of The OmegaMen >> Peace With Honour ||"
function msg(){window.status=myMsg}
</script>
<title>The OmegaMen - Private area</title>
<style type="text/css">
body { font-family: Arial, Verdana, Helvetica,; font-size: 10pt; color: #CCCCCC;
margin: 0px;}
form { margin: 2px;}
.head { font-family: Arial, Verdana, Helvetica,; font-size: 10pt; color:
#CCCCCC; background-color: #003757;}
.one { font-family: Arial, Verdana, Helvetica,; font-size: 10pt; color: #CCCCCC;
background-color: #4682B4;}
.two { font-family: Arial, Verdana, Helvetica,; font-size: 10pt; color: #CCCCCC;
background-color: #4682B4;}
.onesmall { font-family: Arial, Verdana, Helvetica,; font-size: 8pt; color:
#CCCCCC; background-color: #4682B4;}
.twosmall { font-family: Arial, Verdana, Helvetica,; font-size: 8pt; color:
#CCCCCC; background-color: #4682B4;}
th { font-weight: bold; font-family: Arial, Verdana, Helvetica,; font-size:
10pt; color: #CCCCCC;}
select { font-size: 8pt;}
td { font-family: Arial, Verdana, Helvetica,; font-size: 10pt; color: #CCCCCC;}
select { font-size: 8pt;}
h1 { font-size: 16pt; font-weight: normal; margin-top: 2px; margin-bottom: 2px;}
h2 { font-size: 14pt; font-weight: normal; margin-top: 2px; margin-bottom: 2px;}
h3 { font-size: 12pt; font-weight: normal; margin-top: 2px; margin-bottom: 2px;}
small { font-size: 8pt; }
A:link, A:visited { color: #003757; text-decoration: none;}
A:active, A:hover { color: #C0C0C0; text-decoration: underline;
background-color: #003757;}
.visit:visited { color: #000000; text-decoration: underline;}
</style>
<!--Scrollbar Style Sheet-->
<style>
<!--
BODY{
scrollbar-face-color:4682B4;
scrollbar-arrow-color:003757;
scrollbar-track-color:669999;
scrollbar-shadow-color:'003757';
scrollbar-highlight-color:'003757';
scrollbar-3dlight-color:'003757';
scrollbar-darkshadow-Color:'003757';
background-attachment: fixed;
}
-->
</style>
<!--End scrollbar CSS-->
</head>
<body onLoad=msg() bgcolor="#669999" text="#CCCCCC" link="#003757" alink="#C0C0C0">
<table border=0 bordercolor=#003757 cellpadding=4 cellspacing=0 width="100%"
height="100%">
<tr><td width=150 align=left bordercolor=#003757 bgcolor=#4682B4 valign=top nowrap>
<img src="http://www.boomspeed.com/v0rt3x/om_logo.gif">
<small>[<b>Status:</b>]<br>
<u>shwouchk</u><br>
Co-Speaker<br>
Jul 15 02:00PM
<br>
<p>[<b>InterActive:</b>]<table border=0 bgcolor=4682B4 cellpadding=4 cellspacing=0>
<tr><td align=left nowrap>
</small>
<small>
<a href="board.php?type=priv">Private board</a><br><a
href="voting.php">Voting</a><br><a href="messaging.php">Messaging</a><br><a
href="list.php">Member list</a><br><a href="account.php">Account setup</a>
<br><br><a href="index.php" target="_top">Public area</a>
<br><a href="index.php?logout" target="_top">Log out</a>
</small>
</td></tr>
</table></p>
<p>[<b>Council Content:</b>]<table border=0 bgcolor=4682B4 cellpadding=4
cellspacing=0>
<tr><td align=left nowrap>
<small>
<a href="rules.html">Regulations</a><br><a href="history.html">History</a><br><a
href="links.html">AS Links</a><br><a href="clinks.html">Council Sites</a><br><a
href="chat.html"><a href="http://www.avidgamers.com/OmegaMen/chat.html"
target="_blank">Chat Room</a></a><br><a href="techs.html">Tech Paths</a>
</small>
</td></tr>
</table></p>
<p>[<b>Admin:</b>]<table border=0 bgcolor=4682B4 cellpadding=4 cellspacing=0>
<tr><td align=left nowrap>
<small>
<a href="admin.php?section=options">General options</a><br><a
href="admin.php?section=info">Community info</a><br><a
href="admin.php?section=levels">Level management</a><br><a
href="admin.php?section=users">User management</a><br><a
href="admin.php?section=log">Access log</a><br><a
href="admin.php?section=board&subsection=priv">Messageboard areas</a><br><a
href="admin.php?section=voting">Voting topics</a><br><a
href="admin.php?section=pages">Pages</a><br><a
href="admin.php?section=simple_layout">Simple layout</a><br><a
href="admin.php?section=advanced_layout">Advanced layout</a>
</small>
</td></tr>
</table></p>
</small></td>
<td valign=top align=center style="border-left: thin groove #003757;">
<h1><a href="members.php?main"><b>The OmegaMen</b></a></h1>
<h3>- Private area -</h3>
<p><table border=0 cellpadding=0 cellspacing=0 width=600 align=center>
<tr><td align=center>
<h2>
<script language="JavaScript1.2">
var message="OmegaMen -- OPEN-BETA has begun; OM @ #25!!"
var neonbasecolor="#C0C0C0"
var neontextcolor="#003757"
var flashspeed=25 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')
//cache reference to neonlight array
var tempref=document.all.neonlight
}
else
document.write(message)
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor
if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</h2>
<table border=1 width=600 bordercolor=#003757 bgcolor=#4682B4 cellpadding=2
cellspacing=0><tr><td>
<b>
<br>
|| NEWS ||<br />
<br />
- omegamen_v2 launched - www.omegamen.tk<br />
- Open-Beta has begun!<br />
- Please use the CHAT ROOM<br />
- Site under maintenance until official AS relaunch! <br />
<br />
|| VOTES || - [ - ]<br />
<br />
<br />
|| Message from Torgon ||<br />
<br />
Welcome warriors to 'our place' <br />
<br />
Please try to post something at least once a day !<br />
Even an "I WAS HERE" message is good enough... !<br />
<br />
Don't just lurk -- TALK ! That way we might even <br />
get to be one of the BIG fish sometime soon!<br />
<br />
Don't worry if your English is not very good - <br />
Remember i speak only one language and you can do at <br />
least two if you are trying to use english ..<br />
<br />
SO THAT MAKES YOU ONE LANGUAGE AHEAD OF ME :-)<br />
<br />
<br />
Torgon - the Xerusian,<br />
Council Speaker of The OmegaMen<br />
Peace With Honour<br />
[ www.OmegaMen.tk ]<br />
<br />
</b>
<td valign=top>
<br>
<center>
<b>shwouchk</b>,<br> what would you like to do today?<br>
</center>
<br>
<p><ul>
[<b>InterActive:</b>]
<li><a href="board.php?type=priv">Private board</a></li>
<li><a href="voting.php">Voting</a></li>
<li><a href="messaging.php">Messaging</a></li>
<li><a href="list.php">Member list</a></li>
<li><a href="account.php">Account setup</a></li>
</ul></p>
<p><ul>
[<b>Council Content:</b>]
<li><a href="rules.html">Regulations</a></li>
<li><a href="history.html">History</a></li>
<li><a href="links.html">AS Links</a></li>
<li><a href="clinks.html">Council Sites</a></li>
<li><a href="chat.html"><a href="http://www.avidgamers.com/OmegaMen/chat.html"
target="_blank">Chat Room</a></a></li>
<li><a href="techs.html">Tech Paths</a></li>
</ul></p>
<center>
<img src="http://picserver.student.utwente.nl/getpicture.php?id=141224">
</center>
</td>
</td></tr></table></td></tr></table></p>
<td valign=top bgcolor=#4682B4 align=center style="border-left: thin groove
#003757" width="145" height="20%">
<small>[<b>Dynamic Content:</b>]<br>
<script language="Javascript">
<!--
function login(){
var theForm = document.login;
if(theForm.id.value == ""){
alert("Please fill in ");
theForm.id.focus();
return;
}
if(theForm.passwd.value == ""){
alert("Please fill in ");
theForm.passwd.focus();
return;
}
theForm.submit();
}
//-->
</script>
<p align="center"><font face="Verdana, Helvetica" size="1"
color="red">
<font color="#CCCCCC" face="Verdana,
Helvetica"><small>[<b>Archspace
Log-In</b>]</small></font></font>
<form name="login" method="post"
action="http://www.magewar.com/login/Login.html" target="_blank">
<font color="#CCCCCC" size="1" face="Verdana, Helvetica,
sans-serif">
<input type=hidden name="url"
value="http://space.magewar.com/archspace/login.as">
<input type=hidden name="action" value="login">
</font>
<font
face="Verdana, Helvetica" size="1" color="#CCCCCC">
<small>[<b>User Id</b>]</small><br>
<input type="text" name="id" maxlength="15" size="15"
class="input" style="background-color: #CCCCCC; color:
#000000; font-family: Verdana; font-size: 10px; border-style: solid;
border-color: #003757">
</font><br>
<font face="Verdana, Helvetica" size="1" color="#CCCCCC">
<small>[<b>Password</b>]</small><br>
<input type="password" name="passwd" maxlength="15" size="15"
class="input" style="background-color: #CCCCCC; color:
#000000; font-family: Verdana; font-size: 10px; border-style: solid;
border-color: #003757">
<br><br>
<small><input type=submit name=submit value="Log-In"
target="_blank" style="font-family: Verdana; font-size: 10px; background-color:
#CCCCCC; color: #000000; border-style: solid; border-color: #003757"></small>
<br>
<a href="http://www.magewar.com/html/html/account.html"
target="_blank"><small>[<b>Join AS</b>]</small></a></font>
</form>
<br>
<p>[<b><!-- Begin Activetopic.com Onl. Users JavaScript Code -->
<SCRIPT LANGUAGE="JavaScript"
SRC="http://www.activetopic.com/output.js?i=5436&p=on"></SCRIPT>
<!-- End Activetopic.com Onl. Users JavaScript Code -->:</b>]<table border=0
cellpadding=4 cellspacing=0>
<tr><td align=left nowrap>
<font color="CCCCCC">
<script language="JavaScript"
src="http://www.sa-digital.com/users/users2.php?username=shwouchk&site=The
OmegaMen"></script></font>
</small>
</font>
</td></tr>
</table></p>
<!-- Start CGISpy.com Countdown Code -->
Only <SCRIPT LANGUAGE="JavaScript"
SRC="http://scripts.cgispy.com/countdown.cgi?goal=Jul 1"></SCRIPT> until
ArchSpace Open-Beta Launches!
<!-- End CGISpy.com Countdown Code -->
</small></td>
</div></table>
<small>
<center>| Copyright © 2003 | <b><a href="http://www.OmegaMen.tk"
target="_blank">www.OmegaMen.tk</a></b> | All Rights Reserved |</center>
</small>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1.go to avidgamers.com/omegamen/
2.log in. ( that isnt possible for just anyone to do. If you want to see the
problem occuring in realtime, please send an application for username firebird,
and that you were sent by shwouchk to check a browser bug)
3.in the post-login page, you can see text - OmegaMen -- OPEN-BETA has begun; OM
@ #25!! - its supposed to chnge color, letter by letter. in firebird it doesnt.
Actual Results:
in IE it worked, in FB it didnt
Comment 1•21 years ago
|
||
I think the part of the page you're talking about is the "neon" script. It uses
document.all, which ie IE-only.
Summary: some javascript not working → some javascript not working (page uses document.all)
Comment 2•21 years ago
|
||
*** This bug has been marked as a duplicate of 74201 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 3•21 years ago
|
||
E-mail from reporter:
> I didnt know it was IE - only...
> are there any plans to implement it in the future ?
No. But there are other ways to do the same thing document.all does. For
example, document.getElementById. (Btw, this example seems to rely on having
multiple elements with the same ID - wtf?)
Status: RESOLVED → VERIFIED
Comment 4•21 years ago
|
||
> are there any plans to implement it in the future ?
See bug 229877, then vote for it.
Prog.
You need to log in
before you can comment on or make changes to this bug.
Description
•