<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flav36rs &#187; opera</title>
	<atom:link href="http://flav36rs.com/tag/opera/feed/" rel="self" type="application/rss+xml" />
	<link>http://flav36rs.com</link>
	<description>Just another technical blog</description>
	<lastBuildDate>Mon, 12 Sep 2011 16:56:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>JS preload image &#8216;bug&#8217; in Opera</title>
		<link>http://flav36rs.com/2009/03/02/js-preload-image-bug-in-opera/</link>
		<comments>http://flav36rs.com/2009/03/02/js-preload-image-bug-in-opera/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 14:48:39 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[preload]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=181</guid>
		<description><![CDATA[I have recently attempted to load an image in JavaScript (using jQuery) and once loaded get it&#8217;s dimensions. Using the following code I managed to successfully read the width and height properties in FireFox 2/3, IE 6/7, Windows Safari 3/4 &#8230; <a href="http://flav36rs.com/2009/03/02/js-preload-image-bug-in-opera/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have recently attempted to load an image in JavaScript (using <a href="http://jquery.com/">jQuery</a>) and once loaded get it&#8217;s dimensions.</p>
<p>Using the following code I managed to successfully read the width and height properties in <a href="http://www.mozilla-europe.org/en/firefox/">FireFox</a> 2/3, <a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx">IE</a> 6/7, <a href="http://www.apple.com/safari/download/">Windows Safari</a> 3/4 and <a href="http://www.google.co.uk/chrome/">Google Chrome</a>, but the dimensions were not available in <a href="http://www.opera.com/">Opera</a> (10).<span id="more-181"></span></p>
<pre lang="javascript">$('<img alt="" />')
	.load(function() {
		$('body').append(this);
		var w = this.width;
		var h = this.height;
		//..
	})
	.error(function() {
		//..
	})
	.attr('src', '/path/to/image.jpg');</pre>
<p>After a fair bit of time playing around trying to debug this small snippet of code, I <em>eventually</em> discovered that if the image was appended to the DOM <strong>after</strong> the width and height had been read then Opera would report the values correctly.</p>
<pre lang="javascript">		var w = this.width;
		var h = this.height;
		$('body').append(this);
		//..</pre>
<p>Simply moving line 3 down to below the reading of dimensions solved this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2009/03/02/js-preload-image-bug-in-opera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Opacity in Opera using jQuery</title>
		<link>http://flav36rs.com/2009/02/26/css-opacity-in-opera-using-jquery/</link>
		<comments>http://flav36rs.com/2009/02/26/css-opacity-in-opera-using-jquery/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 23:05:51 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=134</guid>
		<description><![CDATA[Whilst attempting to cross browser test a jQuery plug-in that I&#8217;m currently working on, I noticed that my opacity settings were being ignored in my current version of Opera (9.23). $("#id").css({opacity: 0.8}); It turns out that the latest version of &#8230; <a href="http://flav36rs.com/2009/02/26/css-opacity-in-opera-using-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Whilst attempting to cross browser test a <a href="http://jquery.com/">jQuery</a> plug-in that I&#8217;m currently working on, I noticed that my opacity settings were being ignored in my current version of <a href="http://www.opera.com/browser/">Opera</a> (9.23).</p>
<pre lang="javascript">$("#id").css({opacity: 0.8});</pre>
<p>It turns out that the latest version of <a href="http://docs.jquery.com/Downloading_jQuery">jQuery (1.3.1)</a> doesn&#8217;t believe that Opera 9.2 supports CSS opacity, and therefore it is ignored completely.<span id="more-134"></span></p>
<p>There are two possible fixes for this, the first is to simply <strong>upgrade Opera</strong> to a newer version (the latest is 9.6.3).</p>
<p>The second option is to tell jQuery that opera does support opacity using the following &#8211; or similar &#8211; within your script:</p>
<pre lang="javascript">if ($.browser.opera) {
    $.support.opacity = true;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2009/02/26/css-opacity-in-opera-using-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cross Browser CSS Layout Debugging</title>
		<link>http://flav36rs.com/2008/04/03/cross-browser-css-layout-debugging/</link>
		<comments>http://flav36rs.com/2008/04/03/cross-browser-css-layout-debugging/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 21:53:31 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=12</guid>
		<description><![CDATA[I&#8217;ve spent the majority of today fixing CSS layout issues to ensure my latest work project will look just as good in IE6 as it does in Firefox and the other major browsers. I tend to stick to Firefox as &#8230; <a href="http://flav36rs.com/2008/04/03/cross-browser-css-layout-debugging/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the majority of today fixing CSS layout issues to ensure my latest work project will look just as good in IE6 as it does in Firefox and the other major browsers.</p>
<p>I tend to stick to Firefox as my development browser to test a project as I go along, this way I can almost guarantee that the layout will look fine when browsing in Opera, Safari (Win) and even IE7/8.</p>
<p>Internet Explorer 6 on the other hand is a whole different ball game altogether, even in standards compliance mode things can take an age to get sorted, often finding yourself floating elements as well as adding in any filters as it is unable to render png transparency or opacity correctly.</p>
<p>At least Microsoft had got the majority of things right when they released Internet Explorer 7 and now with the beta release of IE8 with the IE7 rendering engine option things are looking up for web developers.</p>
<p>Unfortunately we will have to put up with the woes of IE6 and below, at least until the percentage of users drops to a more insignificant amount. Currently <a title="Stats from the W3C log files" href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">around 30%</a> of users are still browsing using IE6 which is enough to put doubt into every developers mind as to whether or not they should bother with it.</p>
<p>Currently I have <a title="Firefox 2 Download" href="http://www.mozilla-europe.org/en/products/firefox/" target="_blank">Firefox 2</a> / <a title="Firefox 3 beta Download" href="http://www.mozilla.com/en-US/firefox/all-beta.html" target="_blank">3 beta</a>, <a title="Opera Download" href="http://www.opera.com/download/" target="_blank">Opera</a> 9, <a title="Safari Download" href="http://www.apple.com/safari/" target="_blank">Safari</a> (Windows) and <a title="Internet Explorer 8 Download" href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/getitnow.mspx" target="_blank">IE 8</a> (with built in 7 rendering option) all installed on my PC. Both Opera and Firefox allow for multiple installs of different releases on a single machine, but when it comes to IE6 I&#8217;ve had to either use the <a title="Stand Alone IE 6 Download" href="http://browsers.evolt.org/?ie/32bit/standalone" target="_blank">stand alone</a> version or use a <a title="Windows Virtual Machine" href="http://www.microsoft.com/windows/products/winfamily/virtualpc/overview.mspx" target="_blank">Virtual Machine</a> with an <a title="XP with IE6 Image" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&amp;displaylang=en" target="_blank">XP and IE6 Image</a>.</p>
<p>The stand alone version from <a title="Evolt" href="http://www.evolt.org/" target="_blank">Evolt</a> is fine up until the point where you are wanting to test any filters, css conditional statements or set up a proxy connection.</p>
<p>The the virtual machine option on the other hand will render everything as expected, but does require you to go through the booting up process and download the latest image every couple of months as they expire.</p>
<p>With my irritations of backward compatibility aside, I believe as developers we should all continue to dedicate some of our time allowing as many people as possibly to have the same browsing experience, even though it can be a major chore at times and testing in each browser can have it difficulties.</p>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2008/04/03/cross-browser-css-layout-debugging/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

