Closed
Bug 115678
Opened 23 years ago
Closed 20 years ago
tes.co.uk - Various JavaScript errors
Categories
(Tech Evangelism Graveyard :: English Other, defect, P2)
Tech Evangelism Graveyard
English Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ian, Assigned: mat)
References
()
Details
(Whiteboard: [havefix] [havecontact] [bug248549notfixed])
Attachments
(1 file)
21.52 KB,
text/plain
|
Details |
The Times Educational Supplement website (tes.co.uk) has a number of javascript
errors. Checking the javascript console shows errors including:
Error: document.getElementByID has no properties
Source File: http://www.tes.co.uk/admin/includes/clientscripts_js.asp
Line: 205
Error: event is not defined
Source File: http://www.tes.co.uk/admin/includes/clientscripts_js.asp
Line: 153
Possibly related, the quick site search form will not submit.
Comment 1•23 years ago
|
||
reporter, can you elaborate on how this impacts user experience ?
Reporter | ||
Comment 2•23 years ago
|
||
The site uses drop down menus which do not work in Mozilla. From the menu bar
the following sections should produce drop down menus:
This week's TES, Site Information, New Teachers, Your Career, Governors.
Clicking the section heads provides alternative navigation.
in http://www.tes.co.uk/admin/includes/clientscripts_js.asp:
if (dom) {
document.getElementByID['menulayer1Div'].onmouseover=new
Function("show('menulayer1Div','this_week',1,0)")
[...]
}
I think the correct syntax is document.getElementById('menulayer1Div') .
Comment 4•23 years ago
|
||
Mat: can you make sure that this syntax fixes the issue ? (you may want to save
the page locally to modify it and see what happens).
If the site could be fixed using this syntax, please let me knwo so I can send a
letter to the webmaster.
Contact info found on feedback form
(http://www.tes.co.uk/site_information/contact_us.asp) source code:
webmaster@tes.co.uk
sales@tes.co.uk
Phone: 0207 782 3000
Fax: 0207 782 3200
Setting P3.
Adding [Eurocontest] in the status WB. (Mat, you should do that yourself,
following the contest guidelines:
http://mozilla-evangelism.bclary.com/europe/ )
Priority: -- → P3
Whiteboard: [eurocontest]
Actually, that wont be enough, because their hide/show functions are not using
the DOM at all (which is rather ... strange... they do use the DOM in the init()
function, but not in the others...).
I'm currently rewriting the functions :)
btw: had forgotten for the [eurocontest] tag, but I didn't have the permissions
anyway... :)
Sorry, forgot to add :
the form submitting problem is not really related, but it should be an easy fix.
will work on it as soon as I'm finished with the menus.
This javacript code should be enough to make the menus work in mozilla.
Please not that this is not optimized at all, I just added mozilla support via
the DOM. :)
Comment 8•23 years ago
|
||
Mat: thanks a lot for the patch. Please make sure it also runs with N6.2.1. (for
obvious reasons, the webmaster is more likely to apply it if it fixes issues for
a larger user base.
I didn't check with netscape 6.2.1, but the code doest not uses user agent
detection so it should work. I will test later, cause I'm working on their form
problem right now.
Comment 10•23 years ago
|
||
All form related stuff seems to be working...
Reporter, could you be more precise about what's wrong with them ?
Reporter | ||
Comment 11•23 years ago
|
||
The form seems to work fine in 2002032708
Maybe they changed something or mozilla is now more flexable.
Assignee | ||
Updated•22 years ago
|
Severity: major → critical
Priority: P3 → P2
Whiteboard: [eurocontest] → [eurocontest][havefix]
Assignee | ||
Updated•22 years ago
|
Summary: [tes.co.uk] Various JavaScript errors → tes.co.uk : Various JavaScript errors
Comment 12•22 years ago
|
||
Contact page : http://www.tes.co.uk/site_information/contact_us.asp
Whiteboard: [eurocontest][havefix] → [eurocontest][havefix][havecontact]
Assignee | ||
Comment 13•22 years ago
|
||
also they need to send the correct mime type for javascript.
x-application/javascript or at least text/javascript .
contacting them.
Summary: tes.co.uk : Various JavaScript errors → tes.co.uk - Various JavaScript errors
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Comment 16•21 years ago
|
||
Contacted regarding javascript fix. Will contact regarding MIME if they respond.
Updated•20 years ago
|
Whiteboard: [eurocontest][havefix][havecontact] → [havefix] [havecontact] [bug248549notfixed]
Reporter | ||
Comment 17•20 years ago
|
||
fixed - the site has been redesigned
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•