Closed Bug 80479 Opened 23 years ago Closed 18 years ago

odeon.co.uk - Page won't display - document.layers/document.all

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: john, Unassigned)

References

()

Details

(Keywords: top50, Whiteboard: [havefix][havecontact] [bug248549notfixed])

Attachments

(2 files)

This page uses document.layers/document.all as a browser detection mechanism.
This is, apparently, a brand new site. Many, many site builders are doing this!
Too many -- but it's spreading.
Confirmed.
Confirmed (really).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Sites like this *really* wind me up. Odeon is one of the UK's most important
cinema chains. To be excluded from viewing their website (running Linux, as I
do) is insulting.

Who writes to them? Can I, as a reporter resident in the UK, send a polite note?
John,

Yes please do send them a note.  Explain to them why their page fails in Mozilla
and how they might change it to support Mozilla. Give them the link to this bug
report as well.

This is what they currently have in js/global.js

 var doc, stylo, pxt, pxl, large, longue, n4;

	if (document.layers) {
	    doc = 'document.';
	    stylo = '';
	    pxt = '.top';
	    pxl = '.left';
	    large = innerWidth; longue = innerHeight;
	    window.captureEvents(Event.RESIZE);
	    window.onresize = tienstoibien;
	    n4 = 1;
	    }
	    
	if (document.all) {
	    doc = 'document.all.';
	    stylo = '.style';
	    pxt = '.pixelTop';
	    pxl = '.pixelLeft';
	    n4 = 0;
	    }

Note that Mozilla/Netscape 6 are excluded from these tests. I believe they can
support Mozilla if they change the code to the following (although I have not
tested this)

 var doc, stylo, pxt, pxl, large, longue, n4;

	if (document.layers) {
            // Navigator 4.x
	    doc = 'document.';
	    stylo = '';
	    pxt = '.top';
	    pxl = '.left';
	    large = innerWidth; longue = innerHeight;
	    window.captureEvents(Event.RESIZE);
	    window.onresize = tienstoibien;
	    n4 = 1;
	    }
        else if (window.captureEvents) {
            // Netscape 6
            doc = 'document.';
            stylo = '.style';
            pxt = '.top';
            pxl = '.left';
            large = innerWidth; 
            longue = innerHeight;
            n4 = 0;
            }
	else if (document.all) {
            // IE4+
	    doc = 'document.all.';
	    stylo = '.style';
	    pxt = '.pixelTop';
	    pxl = '.pixelLeft';
	    n4 = 0;
	    }

You can mention also that Netscape 6 is based upon Mozilla and that currently
Netscape 6 users are excluded from using their site.

Be polite, professional and encourage them to update their site to support
Mozilla and Netscape 6. Do not flame them.  Remember you are asking them to
modify and test their site using Mozilla/Netscape 6.  Be sure to include links
to www.mozilla.org especially http://www.mozilla.org/docs/web-developer/.

When you are done, please comment the bug again as well as if/when they respond
to you.

Thanks,
Bob
there's also The Ultimate JavaScript Client Sniffer 
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
Priority: -- → P4
Arun, I'm giving you all the Linux bugs. If these bugs can be confirmed for
other OS's please (someone) change the Platform/OS to All/All and reassign to
the default Evangelism Component Owner.
Assignee: bclary → aruner
Assignee: aruner → nitot
OS: Linux → All
QA Contact: zach → momoi
Hardware: PC → All
Summary: Page won't display - document.layers/document.all → odeon.co.uk - Page won't display - document.layers/document.all
This is not Linux specific, Platform/OS -> All/All. Over to Intl Team
Component: Evangelism → European
Product: Browser → Tech Evangelism
Version: other → unspecified
Moving to new component "West Europe".  European component is being removed. 
See bug 95808 for details.
Component: European → West Europe
QA Contact: momoi → caillon
I echo the annoyed sentiments - this is one of two websites I actually use that
is impossible (rather than just difficult) for me to view without using IE due
to broken coding/hosting. I got reminded yesterday when I went to check on
screening times, and that prompted me to see if an evangelism bug existed for
it.

After finding this one I fired off an email to info@odeonuk.com and got a reply
back a couple of hours later. It was very polite and thanking. The guy agreed
with what I said (I also mentioned a couple of usability points - the site is a
bit nasty even when using IE IMO). However, I quote:

    ODEON always strides to deliver fully accessible and quality services to
    it's customers, however it is easy to see in this case, a small minority
    has been over-looked.

    The ODEON website is designed to be fully compatible with Internet Explorer
    (versions 4 and above) and we have had very few problems regarding this
    browser and I am sure you will agree, this is the most commonly used
    web browser in the world today.

Not quite the point really (writing decent HTML which will then "just work" on
any decent browser is), but this is how people/companies think. Hopefully more
people emailing them will change this thinking - so if you use the Odeon
website, let them know your thoughts!

    However, from personal experience I am aware the site does not work with
    Netscape Navigator however I have no experience with other smaller browsers
    such as Opera and Mozilla.

Awareness issues here too. I assume he means NN 4.x (I did explicitly
mentioned Netscape 6 in my original email). Let's hope Mozilla (or at least the
Gecko engine) takes over the world and we'll see less of this. :)

    The ODEON website is due for a face-lift at the beginning of the new year
    and I am 100% certain that these problems will be fully addressed when the
    new site is constructed.

Hmm. Another eight months as it is - great. Again, perhaps more pestering will
change this. Especially if someone can provide some replacement code that
definitely works to send them (if I have some spare time I'll grab their source
and do this myself). Reassurances from this guy are very nice, but he doesn't
appear to be on the web team so I have to say I'll believe the new site will
work when I see it.

Does anyone know a good way of getting hold of the actual techies in situations
like this?

Cheers
Stuart
*** Bug 147582 has been marked as a duplicate of this bug. ***
The site is still unusable using Mozilla. Has there been any response from Odeon?
*** Bug 124378 has been marked as a duplicate of this bug. ***
*** Bug 165904 has been marked as a duplicate of this bug. ***
The Odeon webpage seems to work fine with Netscape® Communicator 4.75.
fixing http://www.odeon.co.uk/Odeon/js/global.js makes the intro effect (menus
coming from the bottom and the top of the screen) work. performance is kinda
sucky, so modifying a little home.html, namely the 2 js functions rise() and
fall() is required, here are the fixed versions :

function rise() {
			ydiff = ystart - yy;
			if ((ydiff < -1) || (ydiff > 1)) movey = Math.round(ydiff/10), ystart -= movey;
			if (document.getElementById)
			{
				document.getElementById('nfilms').style.top = ystart + "px";
				document.getElementById('nbtscreens').style.top = ystart + "px";
			}
			else
			{
				eval(doc + 'nfilms' + stylo + pxt + '=' + ystart);
				eval(doc + 'nbtscreens' + stylo + pxt + '=' + ystart);
			}
			if (ydiff == -5 || ydiff == 5) { drop(); return }
			setTimeout("rise()",50);
			}

		function fall() {
			ydiff2 = ystart2 - (yy+9);
			if ((ydiff2 < -1) || (ydiff2 > 1)) movey = Math.round(ydiff2/10), ystart2 -= movey;
			if (document.getElementById)
			{
				document.getElementById('nregister').style.top = ystart2 + "px";
				document.getElementById('ncinemas').style.top  = ystart2 +  "px";
				document.getElementById('nbooknow').style.top  = ystart2 + "px";
			}
			else
			{
				eval(doc + 'nregister' + stylo + pxt + '=' + ystart2);
				eval(doc + 'ncinemas' + stylo + pxt + '=' + ystart2);
				eval(doc + 'nbooknow' + stylo + pxt + '=' + ystart2);
			}
			if (ydiff2 == -5 || ydiff2 == 5) return;
			setTimeout("fall()",100);
			}


I will attach a fixed version of global.js

then, a little more tweaking is required to get the menus to work properly.
I will also provide a fix for that :)
Whiteboard: [havefix][havecontact]
Attached file global.js, fixed
makes the intro work in gecko browsers.
this replaces http://www.odeon.co.uk/pls/Odeon/Display.page?page=menus.js
my fix is _very_ ugly, cause I didnt have enough time to figure what was
exaclty going on, but it works :)
Ack! I need to check cinema times!
Follow-up mail to info@odeonuk.com, webmaster@odeon.co.uk and
webmaster.odeonuk.com sent. Have politely mentioned that fixed code is available
at this location.
*** Bug 188871 has been marked as a duplicate of this bug. ***
Have also contacted webmaster@odeon.co.uk with a polite email telling them about
the fix, also mentioning the forthcoming (current for Mac) use of the Gecko
rendering engine by AOL.
webmaster@odeon.co.uk bounced back - have resent to info@odeonuk.com.
Reply from Odeon:
~~~~~~~~~~~~~~~~~~
Dear Anthony,

Thank you for your email.

We are aware that the ODEON website does have some problems with particular
browsers. We
have engineers looking into this at the moment and it should be fine in the
next few weeks.

With Regards,

Andrina
~~~~~~~~~~~~~~~~~~

Perhaps the bug will be closed by the end of the month...

tech evang june 2003 reorg
Assignee: nitot → english-other
Component: Europe: West → English Other
QA Contact: z-caillon-obsolete2 → english-other
Have just spoken to Odeon web team; they have no proposed date for
fix....mentioned it won't work on conforming browsers etc asked to pass the
message on to management.
*** Bug 214221 has been marked as a duplicate of this bug. ***
Hello all,

I want to get involved in the evangelism project and since this particular site
has been annoying me for over two years now, I thought I'd start with this one.
I am considering sending a letter to the marketing manager pointing out that
their site is not compliant with section 19 of the Disability Discrimination Act
(1995) -
http://www.legislation.hmso.gov.uk/acts/acts1995/Ukpga_19950050_en_4.htm#mdiv19

and that if they write their website to web standards in order to meet these
needs it will work for the 10% of potential customers that they currently exclude.

Is this sort of approach considered a good idea or should I stick to the techy
form letters. I just worry that the problem here is higher management thinking
it doesn't matter so the techies can't help.

I cannot see how this would effect someone with a disability any more or less
than someone without a disability unless Mozilla in some way offers better
facilities than IE/Netscape4.x for those users with a disability.
My actual thinking was that this pure javascript menu can't be used by screen
readers and, even in ie it can't be accessed using only a keyboard for those
people who have motor problems. Text only browers used by a lot of blind people
of access webpages such as such as blynx would render the page as

- 
REGISTER
FILMS
CINEMAS
BEHIND THE SCENES
BOOK NOW
-

None of these being links. therefore unaccesable to a blind user. If they
redesign the site such that it has actual content written to the browser and
only use javascript as an enhancement, (rather than having the whole thing as a
bloated buggy javascript application). This would benefit not just those blind
people using text browsers but also us mozilla(-based browser) users. I'm
looking at it more as a backdoor, given the choice between redesigning the site
to accomodate 10% of your market and not - they seem to have taken the choice to
do nothing. If we give them the choice between redesigning the site and being
prosecuted under relevent legislation - I think their choice would be
substantially different.

I'm not asking them to make it available to mozilla as well as ie, I want it
available to all browsers.
I hate to be indelicate here, but why would blind users be accessing a cinema site?

I can agree with the motor problems however.
A blind parent wishing to take their sighted children to the cinema would need
to check times. I used to work in a cinema and it did happen fairly often.

Fair do's though I can't see this one being at the top of the RNIB hit list, but
I still think it is important from a basic accessibility view point.
Note the general poor design of the Odeon site was referred to in the
Independent newspaper this week -
http://news.independent.co.uk/digital/features/story.jsp?story=439760
and someone has designed an alternative which is more accessible, easy to use
and works cross platform (link is at the end of the article)
The Independent article is now pay only but the site referenced can be found at
http://www.dracos.co.uk/odeon/
*** Bug 233916 has been marked as a duplicate of this bug. ***
*** Bug 234432 has been marked as a duplicate of this bug. ***
*** Bug 238047 has been marked as a duplicate of this bug. ***
Just to add another nail to the coffin of this website:

http://www.odeon.co.uk/pls/odeon/Display.page?page=menu_items.js
http://www.odeon.co.uk/pls/odeon/Display.page?page=menus.js

Both of these JS files are sent with the wrong MIME type (text/html instead of
text/javascript or application/x-javascript).

I wonder if they'll ever fix this site.
Emailed odeon again regarding this problem
Reply today
-----
Please accept my apologies for any lack of functionality you have encountered 
whilst using the ODEON Website. I can appreciate your frustration as an 
Internet user that you would like to use your browser of choice. However I'm 
sure you can appreciate from our point of view that we want to make our website 
as readily available to the general public as possible.

As a result it made sense to invest heavily into our web site to ensure 
immediate functionality with the world's most popular and well used Web 
Browser "Microsoft Internet Explorer". A significant majority of the world's 
internet users have IE installed on their machine even if it is not their first 
choice of browser so the option to access the ODEON Website through this medium 
is always on offer to the customer.

However I am happy to inform you that ODEON is investing time and effort into 
ensuring functionality across the many Web Browsers available to Internet 
Users, hopefully including Netscape Navigator and other Gecko based Web 
Browsers such as Opera and MoZilla.

Regards,

Nick
-----

Hopefully we should see a resolution soon.
> "However I'm  sure you can appreciate from our point of view that
> we want to make our website as readily available to the general
> public as possible."

Self-contradictory. The supplied fixes don't break IE, they only add the ability
to use Mozilla (and Safari for that matter). So "to make our website as readily
available to the general public as possible", the answer is to apply the fix.
Doesn't annoy your existing IE-based customers, adds the ability to talk to the
rest.

Irritating.
Regarding the reply Scott MacVicar received from Odeon, that's an exact copy of 
the email a friend of mine received back in May 2003, which started me on the 
way to create http://www.dracos.co.uk/odeon/ - I'd just use that instead. :-)
*** Bug 247731 has been marked as a duplicate of this bug. ***
*** Bug 248285 has been marked as a duplicate of this bug. ***
I have sent my own little missive to Ode*n. I hope they fix it soon or I'll just
go to the new Cineworld that's opened up locally...seriously.
I'd like to point out that the Accessible Odeon website pointed out by Matthew
has shut, by the will of Odeon's lawyers:
http://bugzilla.mozilla.org/show_bug.cgi?id=80479#c41
Just for the record, the story ran in El Reg
(http://www.theregister.co.uk/2004/07/14/odeon_disabled_website/), and was
commented at length by the readers
(http://www.theregister.co.uk/2004/07/16/letters_1607/), one of whom has also
provided a link back to this bug (Bastien Nocera, fourth comment on that page).
I've just sent the following email: 

>Dear Odeon Uk,
>
>After reading several reports of security holes in Microsoft's Internet
>Explorer, (e.g.
>http://www.theregister.co.uk/2004/06/28/cert_ditch_explorer/), I have changed
>to Mozilla's Firefox. This browser appears to be highly recommended, and far
>more secure than IE.

>Your website www.odeon.co.uk does not work with this browser. Please can you
>fix your website to work with this browser, or suggest a free secure
>alternative to IE.

Not expecting much back mind.

As an aside, the site works just fine in Konqurer, so long as as you get it to
pretend its IE.
Dracos accessible site has now been removed after threat of legal action by the
Odeon. See http://www.dracos.co.uk/odeon/ for more details.

However, this misinformed action has revealed the name of the man to contact
directly - Luke Vetere, the marketing director <LVetere@odeonuk.com>. I have had
great success going straight to the top regarding compatibility issues of
commercial websites (M&S, Argos) as any sane business person does not like to
risk losing 10% of potential customers!

Polite emails only - I recommend the signature tagline "Fanatical about
functional websites"  ;-).

Cheers

Chris
My email of the 17th - I'll post any interesting reply.

Dear Mr Vetere

With regard to your recent actions forcing the removal of the accessible
version of your company's website:

Why, if your company insists on publishing a site that does not function
in all W3C compliant web browsers, did you feel the need to demand the removal
of a website that allowed potential customers to access show times and other
information? The issue with your current website was first communicated to the
company over 3 years ago, and a number of times since.

A fix for the poor programming was made available for free in September
2002; this fix would not change how the site works for those who can access
it, but would open it up to those who choose to use other browsers, who
make up around 10% (a statistic showing consistent growth) of UK web users i.e
potential customers.

The fix can be found here:

http://bugzilla.mozilla.org/show_bug.cgi?id=80479

To also open up your site to disabled customers would require further work,
but not a significant amount for an experienced and skilled web development
team.

As someone who has been involved in managing the development of complex
websites and web applications, I can assure you that creation of accessible
(in both senses)  yet glossy and attractive websites is not difficult, it
just requires the developers to be aware of the issues caused by poor testing of
the site in development phases.

For your information, all of your competitor's websites are accessible.
I have attached a screenshot of what can be seen of your sites content.

If you need any further assistance, please do not hesitate to contact me.

Regards

Chris Puttick

"Fanatical about functional websites"
Sent an email similar to Chris Puttick's to Mr. Vetere. Not expecting any form
of reply, but hopefully if we petition him this way he will fix the website.
I have also sent them an email. Doubt it will make any difference, but you never
know..
Whiteboard: [havefix][havecontact] → [havefix][havecontact] [bug248549notfixed]
I have written to info@odeonuk.com:
Subject: Web site not working

Hello,

I have just been directed to your web site
(http://www.odeon.co.uk/Odeon/home.html) in order to review films and time of
showing.

I am sorry to report that all I see is a blurred image of the text "odeon" and
nothing further happens, there are no buttons or links displayed and clicking on
the image does not enter the site.

Perhaps you could ask your technical people to check it out?

Many thanks,
 Chris Miles

Well folks, it seems that the constant stream of e-mails regarding Odeon's
broken site have finally received a partial response.

http://www.odeon.co.uk/pls/Odeon/Odeon_text.region_list currently displays film
times for all Odeon locations.
Yes, but it's an ugly text-only version implemented so they don't fall
*completely* foul of the DDA (disability discrimination act).

The fact that Gecko users can now view (some) of the content is secondary, and
we still can't book tickets. The 'accessible' version is literally a list of
film times - no ticket booking, no information on the films etc.
*** Bug 274479 has been marked as a duplicate of this bug. ***
I have created a GreaseMonkey script for this site, which enables it to work in
Firefox. Hope this is useful. :) http://www.dracos.co.uk/odeon/odeon.user.js
(more information on http://www.dracos.co.uk/odeon/ )
*** Bug 298526 has been marked as a duplicate of this bug. ***
It seems that the constant evangelism of Odeon has succeeded at last - the site
is now fully usable in Gecko-based browsers, with all content accessible,
including the booking of tickets.

Should this bug be RESOLVED now?
They have had their text version available for a while, they still need to fix
their main pages - see URL in URL field.
http://www.odeon.co.uk/Odeon/home.html still just an image for me (Deerpark
Alpha 1).

Cheers

Chris
Adding the top50 keyword to indicate that this has been frequently reported
using the "Report Broken Web Site" feature in Mozilla 1.5 beta 1. At the moment
it is the 9th most reported website.
Keywords: top50
Comment #58 is no longer valid. I tried the site in Firefox 1.0.7 and it looks like the original bug has resurfaced. No response from info@odeonuk.com, either. Are you sure, Bradley, that the evangelism effort has worked?
Error: undefinedmenusundefined is not defined
Source File: http://www.odeon.co.uk/Odeon/js/global.js
Line: 36

looking at the source it is still nav4/ie4 only crap.
(In reply to comment #62)
> Comment #58 is no longer valid. I tried the site in Firefox 1.0.7 and it looks
> like the original bug has resurfaced. No response from info@odeonuk.com,
> either. Are you sure, Bradley, that the evangelism effort has worked?
> 

http://www.odeon.co.uk/pls/Odeon/Odeon_text.region_list is the Gecko-compatible site.
But the Gecko-compatible version of the site doesn't have all the features that the IE version has and it looks ****. It is an insult to Mozilla's capabilities and Odeon should do something about this. So, I've sent a long rant to bookings@odeonuk.com this time.
I've tried using the latest Greasemonkey script for the Odeon site but this only fixes the homepage. Other javascript on the site is broken.
Try contacting studio@lateral.net- They are responsible for the Odeon site design. Good luck!
Odeon and UCI are now both part of a venture capital company which is merging the two to make Odeon. Maybe Odeon will learn something from UCI's site, which is much better. In the meantime, I have made a Greasemonkey script with help from Matthew Somerville, the original author of Accessible Odeon. It's available at http://gm.wackomenace.co.uk/odeon/. It may help seeing as Odeon aren't really the most co-operative lot...
This bug should now be closed. Odeon.co.uk has been rebuilt from scratch. It's not completely valid HTML, true, but it works well enough to render fine not only in Mozilla browsers, but in things like Lynx too.
Indeed looks pretty good. Marking fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You're closing the bug? Really? I feel like I've lost an old friend...
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: