W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2001

Re: empty white screen instead of NBCOlympics site [Re: Olympic Web Sites]

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Wed, 26 Dec 2001 21:02:50 +0000
Message-Id: <200112261800.fBQI07H22310@post.cnt.ru>
To: <mburks952@worldnet.att.net>, "WAI IG" <w3c-wai-ig@w3.org>
On Wednesday 26 December 2001 16:20, Michael R. Burks wrote:
|   I was using Opera 6.x and IE 6.x.
|
|   I am pretty well convinced both the NBC site and the SLC site were
| designed by the same people...

That's good - in this case, if we get them to change code on NBCOlympics.com, 
they can change code on SaltLake site (saltlake2002.com)
|
|   It is interesting that the design was at least in part paid for with U.
| S. Taxpayer Dollars....

well, let's be constructive.
Olympics is 44days from now, so there is some time left to change code on 
that site.
 What actions can be taken by WAI people and/or W3C to influence NBCOlympics 
site design?  Charles, do you have any idea?
 
Further analysis of their code (userAgent _discrimination_) below.

* * *
site itself consist of 3 frames.
But look *how* they allocate/create these frames:

in stdframe.js:
-------------------
document.write('<frameset rows=65,*,30 border=0 scrolling=no framespacing=0 
frameborder=no>'); 
	document.write('<frame src=/x/f/frame_top.htm name=header scrolling=no 
marginwidth=0 marginheight=0 noresize/>');
	document.write('<frame src='+sPage+' name=content marginwidth=0 
marginheight=0 noresize/>'); 
	document.write('<frame src=/x/f/frame_bot.htm name=footer scrolling=no 
marginwidth=0 marginheight=0 noresize/>'); 
document.write('</frameset>');

So, if you *disabled* JavaScript, you will not get to this site. And you will 
not get these frames displayed.
And it's even not browser-related (you can disable JS even in MS IE).

Therefor, my conclusion that NBCOlympics.com is not accessible at all.
(even for people *without* disabilities!..)
 
|
|   Sincerely,
|
|   Mike Burks
|
|   -----Original Message-----
|   From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org]On
|   Behalf Of Vadim Plessky
|   Sent: Wednesday, December 26, 2001 2:12 PM
[...]
|   I launched
|   http://www.nbcolympics.com/,
|   everything was rendered fine.
|   than I was redirected to:
|   http://www.nbcolympics.com/x/f/frame.htm?u=/news/nbcomain_front.asp
|   which showed me ... empty white screen.
|                                      ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|   And there is no surprise with that, as this URL has following *source*:
|   - - - - - - -
|   <html>
|   <head>
|   	<title>Olympics</title>
|   </head>
|   <script language=javascript src=/x/inc/get_guid.asp></script>
|   <script language=javascript src=/x/js/xtd_funct.js></script>
|   <script language=javascript src=/x/js/stdframe.js></script>
|   <noscript><p>Javascript must be enabled to view this site.</noscript>
|   </html>
|   - - - - - - -
|

I loaded all 3 scripts into KWrite (text editor).
in stdframe.js found following:
-------------------
function UberSniff() {
        var ua=navigator.userAgent.toLowerCase();
        this.webtv = (ua.indexOf("webtv")>-1);
        this.ie = (parseFloat(ua.slice(ua.indexOf("msie")+5)));
        this.nn = 
(this.ie)?(-1):(ua.indexOf("netscape6")>-1)?(parseFloat(ua.slice(ua.indexOf("netscape6/")+10))):(parseFloat(ua.slice(ua.indexOf("mozilla/")+8)));
        this.mac = (ua.indexOf("mac")>-1);
        this.screenHeight = screen.height;
        this.screenWidth = screen.width;
        this.colorDepth = (this.nn>=4)?screen.pixelDepth:screen.colorDepth;
}

from what I see ->  this site is discriminating Konqueror.
(and Opera as well;  Mike, have you beed using Opera 6.0 in _MS IE_ emulation 
mode? Can you try without it?)
Ok, I tweaked userAgent to fake as MS IE5 on Windows.
Launched site. It was rendered O.K. on URL above.
But than, after 1 minute (I was doing other tasks) I found that screen is 
empty. (white empty screen again, like without UA faking)

It seems that they are doing some interval-based update, and this is causing 
later desctruction of rendered page somewhere.
Needs further investigation :-((

|   This code explains why you (or in this case, me) see nothing.
|   //  I saved all three files to hard disk for further analysis
|
|   If you have JavaScript disabled, you should get
|   "Javascript must be enabled to view this site"
|   But, they made an error in their code!
|   <p></p> tag should be inside <body></body>
|   and they even do not open <body>!
|
|   So there is no wonder that my standards-compilant browser rejects to
| display this crap!...
|   Anyone with Lynx: can you try those URLs?
|   Can you get through?
|

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Received on Wednesday, 26 December 2001 13:00:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:59 GMT