Closed Bug 169598 Opened 22 years ago Closed 13 years ago

bluejeans.com.au - would not show the timer javascript

Categories

(Tech Evangelism Graveyard :: English Other, defect, P4)

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: forest_rd, Unassigned)

References

()

Details

(Whiteboard: [proprietary-dom] [havefix] [bug248549notfixed])

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826

On the right hand side of www.bluejeans.com.au/athena/ next to athe menus the
script to show the time does not work. The debugger gives the following:

Error: showTime is not defined
Source File: http://www.bluejeans.com.au/athena/events.asp
Line: 191

This works with IE 6 though, so i dont know if it is a micro$oft change if it is
legit. 

Reproducible: Always

Steps to Reproduce:
1.Goto www.bluejeans.com.au/athena/
2.thats it. it doesnt display
3.

Actual Results:  
The time didnty display

Expected Results:  
Displayed "Thursday 19/8/2002 12:31"
I suspect you'll have to use the DOM to access the div element.  Something like
this:

 document.getElementById( "showTime" ).innerHTML = dayName + " " + sDate + " " +
the_time;
Robert is correct. Here is line 191, causing the error above:

     showTime.innerText = dayName + " " + sDate + " " + the_time;

where the HTML involved is:

     <div id="showTime" align="right"></div>

IE automatically puts HTML ids into the global JavaScript namespace.
W3C-compliant browsers like Mozilla/Netscape do not, and one should
do something like this:

     var showTime = document.getElementById("showTime");


Because the site is using IE-only syntax, their script doesn't
work in Mozilla. Reassigning to Tech Evangelism so the site can
be contacted -
Assignee: rogerl → momoi
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → English: Non-US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → jeesun
Version: other → unspecified
*** Bug 169597 has been marked as a duplicate of this bug. ***
Couldn't find a technical contact address; possibly webmaster@scientology.org
Severity: normal → minor
OS: Windows 98 → All
Priority: -- → P4
Hardware: PC → All
Summary: would not show the timer which is a javascript. works in IE. → bluejeans.com.au - would not show the timer javascript
Whiteboard: [proprietary-dom] [havefix]
Mass reassigning English-Other bugs to general default assignees.
Assignee: momoi → english-other
QA Contact: jeesun → english-other
Whiteboard: [proprietary-dom] [havefix] → [proprietary-dom] [havefix] [bug248549notfixed]
INCOMPLETE due to lack of activity since the end of 2009.

If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself.

Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.