Miscellaneous > Applications

I'm moving back to Opera!

<< < (4/10) > >>

Aloone_Jonez:
Fortunately most sites I visit work with both browsers, albeit with the odd rendering error. I haven't had a problem with either of them yet.

Here's an example of a rendering error I get with Opera but not Firefox.

http://www.metoffice.gov.uk/weather/uk/ee/bedford_forecast_weather.html

I have a feeling it's due to a conflict between Opera and Windows system font being set to large. I don't think I'd get this error if I set the font size to normal. I'm not going to try now because it would involve rebooting; got to love Windows. ::)

Aloone_Jonez:
It was the Windows font setting that was causing the problem. It's still Opera's fault because the developers should have tested it with the large font setting. All of the other browsers don't seem to have this problem.

This just goes to show that there are many variables that can influence how well a browsers renders pages.

worker201:

--- Quote from: Aloone_Jonez on  7 January 2010, 02:55 ---
--- Quote ---This site baffles me.  I've pored over their code, including all their linked JavaScripts, and can't find the section of code that does the browser check.  In fact, if you look at the file javascripts/actions.js, you'll see that there is code that checks if the browser is IE5 or Navigator 4, and then programs the appropriate JavaScript calls.  There's actually client-side code in there designed to facilitate old and/or non-IE browsers!  But they must do some sort of server-side browser check somewhere.
--- End quote ---
My guess is it doesn't do a browser check, if a script fails to execute it presumes you're not using IE.

If it did a browser check, it would fail on Opera with the US set to Opera.

--- End quote ---
If a script failed to execute, an error or warning would be generated, yes?  I've been keeping the Firefox error console open while loading these pages, so I would have seen a JavaScript fail.  Also, as I said, I have looked over the code - there is no client side JavaScript that tests for browser or loads the browser check failed page that you get in Firefox.  So ergo it must be happening on the server side.

Also, Opera, as an also-ran, can fall through if it isn't tested for.  Consider the following sample code:

--- Code: ---if browser = Firefox
then fail
else browser = IE

--- End code ---
Obviously, this sample is an exaggeration, but I think you see how less popular browsers can fall through the cracks.

davidnix71:
I went there on an Intel Mac running Firefox 3.5.6 with NoScript running. I got a small window box upper right that said I needed to enable JS to get all the features. I also have to allow OpenX.org scripts to run. They didn't seem to care about cookies if you were just looking.

davidnix71:

--- Code: ---<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if IE]>
      <style type="text/css">
       #expander, #wrapper1, #wrapper2, .outer a, .container-left, .container-right, .outer, h2 {zoom: 1;}
      /* The above rule gives hasLayout to some page elements so that IE will not be buggy, oy... */
       </style>
    <![endif]-->
<link title="default" rel="stylesheet" type="text/css" href="/climatechange/lib/css/cc.css">
  document.cookie="fxlocation=bedford"
<ul id="hnav">
  <li class="top"><a class="mtab" id="mg1" title="" href="/weather/"><strong>Weather</strong>
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="sub">
      <li><a class="mtab" title="" href="/weather/uk/"><strong>UK</strong></a></li>
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="sub">
      <li><a class="mtab" title="" href="/climatechange/news/"><strong>News and events</strong></a></li>

    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
   
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
 
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
   
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>
  <li class="top"><a class="mtab" id="mg6" title="" href="/learning/" accesskey="L"><strong>Learning</strong>

    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
   
 
    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
       

    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>


    <!--[if gte IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="sub">
     
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
  </li>

 
     
           

0"name="pcodeform" action="javascript:isarrayloaded();locationfind(document.pcodeform.postcode.value,locations);">
<label for="postcode"><strong>POSTCODE</strong></label>

<div class="ddList">

<p>JavaScript must be enabled to view this page correctly. </p>
<p><a href="/faqs/#faq1.3a">See our FAQ</a> for instructions on how to do this.</p>
<p>Alternatively, go to a <a href="/weather/uk/ee/bedford_forecast_weather_noscript.html"><strong>non-JavaScript (text-only) version of this page</strong></a></p>
</div>
</div>
</noscript>
  <
<!--/* OpenX Javascript Tag v2.8.2-rc25 */-->

<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'[url=https://d1.openx.org/ajs.php':'http://d1.openx.org/ajs.php']https://d1.openx.org/ajs.php':'http://d1.openx.org/ajs.php'[/url]);
   var m3_r = Math.floor(Math.random()*99999999999);
   
//]]>--></script><noscript><a href='[url=http://d1.openx.org/ck.php?n=ae68da3e&amp;cb=1978175']http://d1.openx.org/ck.php?n=ae68da3e&amp;cb=1978175'[/url] target='_blank'><img src='[url=http://d1.openx.org/avw.php?zoneid=85267&amp;cb=1978175&amp;n=ae68da3e']http://d1.openx.org/avw.php?zoneid=85267&amp;cb=1978175&amp;n=ae68da3e'[/url] style='border:none;' alt=''></a></noscript>
 <!--/* OpenX Javascript Tag v2.8.2-rc25 */-->


    <div class="tintpanel folding">
  <h2 class="ghead230 foldlink">Gadgets and widgets</h2>
  <div class="foldingpart" id="gadgetsFoldingContentLink">
    <p><a  class="noUnderline" href="/weather/uk/gadgets/vista.html"><img src="/weather/uk/gadgets/vistalogo_small.gif" alt="Vista weather gadget">&nbsp;Vista</a><br><a  class="noUnderline" href="/weather/uk/gadgets/firefox.html"><img src="/weather/uk/gadgets/firefoxlogo_small.gif" alt="Firefox weather gadget">&nbsp;Firefox</a><br><a class="noUnderline" href="/weather/uk/gadgets/igoogle.html"><img src="/weather/uk/gadgets/igooglelogo_small.gif" alt="iGoogle weather gadget"></a>&nbsp;<a class="noUnderline" href="/weather/uk/gadgets/igoogle.html">iGoogle</a></p>

    <p><a  class="noUnderline" href="/weather/uk/gadgets/">Weather gadgets</a> </p>
<p><a  class="noUnderline" href="http://www.metoffice.gov.uk/public/pws/components/">Weather widgets</a> </p>
 
<script type="text/javascript" src="/lib/includes/javascript/common_bottom.js"></script>
<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->
<script type="text/javascript">
//<![CDATA[
var _tag=new WebTrends();
_tag.dcsGetId();
//]]>>
</script>
<script type="text/javascript">
//<![CDATA[
// Add custom parameters here.
//_tag.DCSext.param_name=param_value;
_tag.dcsCollect();
//]]>>

</script>
<noscript>
<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcshckprv00000spazrt5ckdq_6d2t/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"></div>
</noscript>
<!-- END OF SmartSource Data Collector TAG -->

    </div>
  </div>
  <!-- end #expander -->
</div>
<!-- end #sizer -->
<!-- <!End of data insert. > -->   
</body>
</html>
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version