Closed Bug 245780 Opened 21 years ago Closed 21 years ago

When you view todays TV listings you cannot click on a TV programme until the page is fully loaded

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 101190

People

(Reporter: andrew, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 I believe this is to do with not allowing JavaScript to work before the whole page is loaded. When you click on a TV programme it should bring up a popup showing programme info, but it doesn't do this until the whole page is loaded. Now this can take quite a while because there is a lot of programmes to be displayed. If Javascript is not enabled then the programme info appears in a new browser window as instructed by the web site. Please fix it by final 1.7 Release Thanks Reproducible: Always Steps to Reproduce: 1. go to www.radiotimes.com 2. click on 'Todays TV' 3. click on a TV programme Actual Results: if JavaScript is enabled and the page has not fully loaded then nothing happens until the page is loaded. Once page has fully loaded then clicking the link brings up a new popup window. If Javascript is NOT enabled, the programme info will appear in a new browser window whether the page has loaded or not. Expected Results: When Javascript is enabled it should run the Javascript code which would bring up a popup window with programme info.
The page reached at step 3 is http://www.radiotimes.com/tv/now.html and, for starters, has - 4445 reported errors when the W3C HTML validator chooses HTML 4.01 transitional, many of them are unescaped ampersands in uri's, - 373 nested tables, - 318 spacer.gif of various dimensions, - about 3000 lines of code, - 7 <script> loaded as the document loads including <script language="JavaScript">adtag("banner")</script> which creates dynamically another <script> element for loading a random banner ad like this: function adtag(type){ document.write( unescape('%3C') + 'script src="http://bbcww.adbureau.net/jserver/site=' + sitetag + '/area=' + target + '/aamsz=' + type + '/acc_random=' + target_random + '?" type="text/javascript" language="JavaScript1.1">' + unescape('%3C') + '/script>'); } - densely and intensely intricated nested tables with an insane amount of 72 align, 169 &nbsp;, 225 valign, 589 bgcolor declarations If I examine the Breakfast link (broken to avoid scrolling) located at line 735: <a href="/jsp/frameset/index.html?src=/ListingsServlet?event=10&amp;channelId=92&amp; programmeId=18879697&amp;jspLocation=/jsp/prog_details.jsp" target="_blank" onclick="spawn_window('/jsp/frameset/index.html?src=/ListingsServlet?event=10& channelId=92&programmeId=18879697&jspLocation=/jsp/prog_details.jsp', 'prog_details', 'width=550,height=550,resizable=0,toolbar=0,scrollbars=yes,location=0,menubar=0, status=0,titlebar=0,top=0,left=0'); return false;" class="smallTextLink" title="Breakfast (6:00am-9:25am)">Breakfast</a> The href value is the same but the target attribute value ("_blank") and the windowName in the window.open call are not the same. The function spawn_window is located at line 31. > If Javascript is not enabled then the programme info appears in a new browser > window as instructed by the web site. If Javascript support is disabled, then the browser skips <script>s, ignores many function calls, ignores all onclick event attributes and therefore should load the document faster. The onclick event handlers will be ignored and the referenced resource will load in an unnamed _blank window.
This bug turns out to be a duplicate of bug 232209 which is a duplicate of bug 101190. I examined carefully the situation with several browsers and a long page to load will generate the same actual results and not the expected results; e.g. MSIE 6 with a popup blocker add-on too (like Linkbar: http://www.draig.de/LinkBar/ ). So, this behavior is not specific to Mozilla. I can create a simple testpage for this too. *** This bug has been marked as a duplicate of 101190 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.