<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>Jai Ivarsson</title>
<description></description>
<link>http://www.jaiivarsson.com</link>
<copyright>Jai Ivarsson 2012</copyright>
<item>
<title>Menu bug - is Safari too fast?</title>
<description>Let me say, before I talk about the recent Safari problem I found, that I am a huge fan of animating drop down menu's in CSS3 and not relying on javascript.
&lt;br /&gt;
&lt;br /&gt;
However,  historically, before CSS3 my preferred method of drop menus was using the famous &lt;a href=&quot;http://www.alistapart.com/articles/dropdowns&quot; target=&quot;_BLANK&quot;&gt;Suckerfish&lt;/a&gt; technique. However good old IE6 caused issues with this so instead of using the javascript mentioned in the above Suckerfish method, I tended to use the &lt;a href=&quot;http://users.tpg.com.au/j_birch/plugins/superfish/&quot; target=&quot;_BLANK&quot;&gt;Superfish&lt;/a&gt; javascript file, because it was integrated with jQuery and was just easier to include in my Jojo themes. In fact it was just a case of inserting my code snippet into the customhead.tpl file and all done.
&lt;br /&gt;
&lt;br /&gt;
On a side note the first time I did this, I only loaded the javascript on IE6. You know, why load something if you don't need it. Well wouldn't you know it, the client wanted to know why Firefox didn't animate the menu like IE did. I now just load it always.
&lt;br /&gt;
&lt;br /&gt;
Anyway, back to the point of the post. I have just had my first occasion of having a problem with this way of working in Safari 5, no less. So lets explain the problem.
&lt;br /&gt;
&lt;br /&gt;
I had a website that would load it's horizontal menu fine however if you selected one of the children in one of the drop down menu's then in Safari 5 (I didn't test earlier versions), it would render some of the parent top level menu items with no width.
&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.jaiivarsson.com/downloads/articles/menu-problem.gif&quot; alt=&quot;&quot; /&gt;
&lt;br /&gt;
&lt;br /&gt;
Interestingly, if you just refreshed it fixed it straight away. Still, not a good look.
&lt;br /&gt;
&lt;h2&gt;The solution&lt;/h2&gt;
So lets cut this long story short (great &lt;a href=&quot;http://www.longstoryshort.co.nz&quot; target=&quot;_BLANK&quot;&gt;band&lt;/a&gt; by the way). I followed the &lt;a href=&quot;http://html5boilerplate.com/&quot; target=&quot;_BLANK&quot;&gt;HTML5 boiler plate&lt;/a&gt; example and moved the links to the javascript and the obviously the javascript that calls the menu, to the bottom of the page. Easy as that.
&lt;br /&gt;
&lt;br /&gt;
So with very limited (almost none) amount of research and testing on this, my guess is that processing of the javascript before the content and CSS has fully rendered is what caused this. Interestingly Chrome didn't have the issue, so I ask you, is this a purely speed thing? Is Safari starting to get too fast for itself? Or is this the future of web development and we do now need to start paying more attention to loading the javascript last when doing progressive enhancement?&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1008/menu-bug-is-safari-too-fast/&quot;&gt;Menu bug - is Safari too fast?&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1008/menu-bug-is-safari-too-fast/</link>
<pubDate>Mon, 24 Jan 2011 00:00:00 +1300</pubDate>
</item>
<item>
<title>YouTube Auto-Captioning now we&#039;ll be SEO&#039;ing Video content</title>
<description>So for those that having seen it yet, YouTube have launched Auto-Captioning for their video content. Mashable have a great article discussing the launch &lt;a href=&quot;http://mashable.com/2010/03/04/youtube-auto-captioning/&quot; target=&quot;_BLANK&quot;&gt;here&lt;/a&gt;.
&lt;br /&gt;
&lt;br /&gt;
This launch is being billed as a way to create greater accessibility for the deaf and the rest of the internet and quite frankly it is. I have a friend who is a early childhood teacher at a deaf school and I know how important break throughs like this are.
&lt;br /&gt;
&lt;br /&gt;
However I think there are far greater possibilities for this technology than just accessibility. Search engines rely on text to understand what is on a webpage. If through captioning or embedded metadata search engines can understand what a piece of web video is about, it can then start serving up video content in the organic search result, like they currently does using alt tags on pictures.
&lt;br /&gt;
&lt;br /&gt;
Adobe showed off the speech to text metadata embedding when they launched CS4. they used the Obama acceptance speech on the New York Times as the shinning example. But with Google now able to index text from Flash and text embedded in the Flash video, it can't be long before the text of a video is indexed as a part of content.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1007/youtube-auto-captioning-now-well-be-seoing-video-content/&quot;&gt;YouTube Auto-Captioning now we'll be SEO'ing Video content&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1007/youtube-auto-captioning-now-well-be-seoing-video-content/</link>
<pubDate>Fri, 05 Mar 2010 00:00:00 +1300</pubDate>
</item>
<item>
<title>Form Tag Not Rendering in IE</title>
<description>
&lt;p&gt;I was recently working on a very simple website for a new school that is being built in the near by area, when I came across a very interesting problem in Internet Explorer. The form tag in the header would not render, and as a result the entire formating in IE8 went totally bonkers.&lt;/p&gt;
  &lt;img height=&quot;120&quot; width=&quot;600&quot; src=&quot;http://www.jaiivarsson.com/downloads/images/resized__600x120_IE8.jpg&quot; alt=&quot;IE8&quot; title=&quot;IE8&quot; /&gt; 
&lt;p&gt;The form tag wouldn't render in IE7 either though the mess wasn't anywhere near as bad. Basically I was floating the site search form right so it sat in the top right corner. Taking the float off had no effect.&lt;/p&gt;
  &lt;p&gt;Up until this point I had been using IE's developer toolbar to track what was going on in IE and while it certainly isn't Firebug was usually good enough, however this time I decided to try out Firebug Lite. It, like Developer Toolbar showed that the form tag wasn't rendering.&lt;/p&gt;
  &lt;img height=&quot;252&quot; width=&quot;600&quot; src=&quot;http://www.jaiivarsson.com/downloads/images/resized__600x252_IE8_firebuglite.jpg&quot; alt=&quot;IE8_firebuglite&quot; title=&quot;IE8_firebuglite&quot; /&gt;
  &lt;p&gt;What was also interesting was that, even though the form tags weren't rendering, the action for the form was still performed when the submit button was clicked. I tried putting the form inside a div with no luck.&lt;/p&gt;
  &lt;p&gt;So what was the solution? Well it turns out that by just having another element in the header div makes the form tags render. In fact the other element could even be another form tag. Though the first form tag to appear in the div won't render.&lt;/p&gt;
  &lt;p&gt;So looking at the code that wouldn't work:&lt;/p&gt;
  &lt;code&gt;&amp;lt;div id=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;searchbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form class=&amp;quot;search&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;search/&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;input class=&amp;quot;textbox&amp;quot; type=&amp;quot;text&amp;quot; name=&amp;quot;q&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;input class=&amp;quot;button&amp;quot; type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Search&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;
  &lt;p&gt;And this is all it takes to make it work.&lt;/p&gt;
  &lt;code&gt;&amp;lt;div id=&amp;quot;header&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;a href=&amp;quot;&amp;quot; alt=&amp;quot;Back to Homepage&amp;quot; title=&amp;quot;Back to Homepage&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;logo&amp;quot; src=&amp;quot;images/logo.gif&amp;quot; alt=&amp;quot;jaijaz logo&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;left&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;searchbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form class=&amp;quot;search&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;search/&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;input class=&amp;quot;textbox&amp;quot; type=&amp;quot;text&amp;quot; name=&amp;quot;q&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;input class=&amp;quot;button&amp;quot; type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Search&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;
  &lt;p&gt;You can see that I now have the site name as an image with home link, which actually should have been done in the first place as a mater of best practice. This image link appearing before the form means the form tag now renders.&lt;/p&gt;
  &lt;p&gt;Now I'm not going to run out and call this a bug in IE, as I haven't done anywhere enough testing on this. Perhaps someone else has seen or experienced something similar to this and can add something else. For now at least, I have learned a good lesson.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1006/form-tag-not-rendering-in-ie/&quot;&gt;Form Tag Not Rendering in IE&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1006/form-tag-not-rendering-in-ie/</link>
<pubDate>Tue, 02 Mar 2010 00:00:00 +1300</pubDate>
</item>
<item>
<title>Jojo&#039;s hidden javascript functions</title>
<description>I have recently been fine tuning and fixing a few loose ends on the &lt;a href=&quot;http://www.studio8.fi&quot; target=&quot;_BLANK&quot;&gt;Studio8 yoga studio&lt;/a&gt; website I did the development on for Shaun from &lt;a href=&quot;http://www.wagtail.fi/&quot; target=&quot;_BLANK&quot;&gt;Wagtail Productions&lt;/a&gt;, who did the great design. One of the really cool features of the site is the calendar at the bottom of every page. It gives you a really quick idea of whether there is a class and/or workshop on any given day. However the biggest feedback from Studio8 students is the each time they went to another page on the site the calendar would forget which month they were viewing.
&lt;br /&gt;
&lt;br /&gt;
The obvious answer of course is to add a cookie that remembers the state, in this case which month, it is at and check that on each page load. Now any search of the internet will give you all kinds of scripts and methods for doing such a thing, but in this instance, because we're using JojoCMS, all the hard work is done for me.
&lt;br /&gt;
&lt;br /&gt;
A little known feature of Jojo is that not only does it have a great PHP framework but there is also a list of javascript functions that anyone can take advantage of, that are included in the jojo core. While most of these are really based around the CMS, the cookie based ones are really helpful. I'm talking about the following:
&lt;br /&gt;
&lt;br /&gt;
function setCookie(name, value, expires, path, domain, secure)
&lt;br /&gt;
&lt;br /&gt;
function getCookie(name)
&lt;br /&gt;
&lt;br /&gt;
function deleteCookie(name, path, domain)
&lt;br /&gt;
&lt;br /&gt;
Because these functions are in the jojo core functions.js file they are always available for any plugin or theme to use. Definitely saves a lot of coding and reduces the amount of duplicate javascript code.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1005/jojos-hidden-javascript-functions/&quot;&gt;Jojo's hidden javascript functions&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1005/jojos-hidden-javascript-functions/</link>
<pubDate>Sat, 10 Oct 2009 00:00:00 +1300</pubDate>
</item>
<item>
<title>It&#039;s Offical: The Keywords meta tag isn&#039;t used</title>
<description>Matt Cutts has just blogged about the &lt;a href=&quot;http://www.mattcutts.com/blog/keywords-meta-tag-in-web-search/&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;keywords meta tag&lt;/a&gt; is not used in Google's search algorithm. In the article he links to another article about how legal people tend to get wound up about meta tags and the words that are used in them.
&lt;br /&gt;
&lt;br /&gt;
While he doesn't mention the &lt;a href=&quot;http://www.jaiivarsson.com/blog/1003/ebay-guilty-of-standard-seo-practice/&quot;&gt;eBay case&lt;/a&gt; I blogged about recently, I can't help but wonder if he was prompted to write about the issue as a result of the cases outcome. What I find really interesting is the NZ Herald article I linked to in my blog said that &amp;quot;Paris-based LVMH SA conglomerate had sued eBay, accusing the web auction site of using its brands as keywords in internet searches.&amp;quot; Now if this means that it was found guilty of using the keyword meta tag then, in Google's eyes, they were found guilty of doing something that had no effect.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1004/its-offical-the-keywords-meta-tag-isnt-used/&quot;&gt;It's Offical: The Keywords meta tag isn't used&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1004/its-offical-the-keywords-meta-tag-isnt-used/</link>
<pubDate>Tue, 22 Sep 2009 00:00:00 +1200</pubDate>
</item>
<item>
<title>eBay Guilty of Standard SEO practice</title>
<description>I have just read in the New Zealand Herald that eBay have been found &lt;a href=&quot;http://www.nzherald.co.nz/technology/news/article.cfm?c_id=5&amp;amp;objectid=10598332&amp;amp;ref=rss&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;guilty of counterfeiting&lt;/a&gt;. After reading the article, I think the ruling has some series consequences for search engine optimisation as what they were found guilty of is a standard SEO practice.
&lt;br /&gt;
&lt;br /&gt;
With dynamic websites it is common practice to use formulas to dynamically generate titles and meta descriptions passed on the products name. Reading between the lines, this appears to be what eBay have been found guilty of. So where does this leave all optimized e-commerce sites? But this could extend further. If you are a blogger and you blog about your experience with a brand and it is in the title, meta description, keywords etc, you too could be sued for &amp;quot;counterfieting&amp;quot;.
&lt;br /&gt;
&lt;br /&gt;
Talk about a game changing court decision.
&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1003/ebay-guilty-of-standard-seo-practice/&quot;&gt;eBay Guilty of Standard SEO practice&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1003/ebay-guilty-of-standard-seo-practice/</link>
<pubDate>Sat, 19 Sep 2009 00:00:00 +1200</pubDate>
</item>
<item>
<title>Ding Dong the witch is dead - maybe???</title>
<description>I'm not sure if you haven't heard this, actually I'm sure you probably have, but YouTube have announced that they are &amp;quot;.. phasing out support ..&amp;quot; for IE6 and earlier versions. They may not be the only ones, with rumors that Digg and Facebook are seriously considering the same thing.
&lt;br /&gt;
&lt;br /&gt;
However before we all start dancing a jig, as &lt;a href=&quot;http://www.sitepoint.com/blogs/2009/07/20/youtube-drop-ie6/&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;Sitepoint&lt;/a&gt; and me in an earlier post on &lt;a href=&quot;http://www.jaiivarsson.com/blog/1001/we-are-never-going-to-loose-ie6/&quot;&gt;IE6&lt;/a&gt; point out, corporates aren't the biggest users of those sites, in fact they are banned in some companies, and they probably make up the largest users of IE6.
&lt;br /&gt;
&lt;br /&gt;
Still it is definitely a step in the right direction and will definitely put the topic of browser version in the minds of people who do use out of date browsers.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1002/ding-dong-the-witch-is-dead-maybe/&quot;&gt;Ding Dong the witch is dead - maybe???&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1002/ding-dong-the-witch-is-dead-maybe/</link>
<pubDate>Wed, 22 Jul 2009 00:00:00 +1200</pubDate>
</item>
<item>
<title>We Are Ever Going to Loose IE6</title>
<description>As a web developer I have a vested interest in Windows 7 being a success. Now I should also mention that I am a bit of a &amp;quot;Apple fanboy&amp;quot;. So why do I want Microsoft's next operating system to be a success?
&lt;br /&gt;
&lt;br /&gt;
As this &lt;a href=&quot;http://www.sitepoint.com/blogs/2009/06/24/what-is-a-web-browser/&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;post&lt;/a&gt; on Sitepoint displays, the average internet user doesn't even now what a browser is. Combine this with the fact that many people refuse to upgrade to Vista means that the default web browser is still running on many machines out there and doesn't hope to be upgraded until the operating system is upgraded. For &amp;quot;joe public&amp;quot;, on the whole, it is a case of them buying a new computer. For corporate, that is a case of IT departments giving the go ahead for and installing a new operating system.
&lt;br /&gt;
&lt;br /&gt;
To add to this problem Digg recently &lt;a href=&quot;http://blog.digg.com/?p=878&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;posted&lt;/a&gt; a discussion of whether they should support IE6 with some results of surveying they have been doing that states that 70% of their users can't upgrade to IE6 as it is out of their control. So 70% of the minority that know what a browser is and knows there is an alternative, aren't allow to do anything about it.
&lt;br /&gt;
&lt;br /&gt;
I am currently finishing a project that will be primarily run in government departments. Over 75% of computers in this area are running IE6 with of course, Windows XP. With this in mind I have been praying for Windows 7 to be a success.
&lt;br /&gt;
&lt;br /&gt;
Currently around 25% of my html/css time is taken up with making IE6 display everything correctly. When you think of the total hours involved here, I could be so much more productive is IE6 would just lay down and die.
&lt;br /&gt;
&lt;br /&gt;
So you can imagine my dismay when I read &lt;a href=&quot;http://www.macworld.com/article/141671/2009/07/windows7.html?lsrc=rss_main&quot; rel=&quot;nofollow&quot; target=&quot;_BLANK&quot;&gt;this article&lt;/a&gt; on Macworld this morning, stating the of 1,100 IT administrators surveyed, 59.3% aren't going to be adopting Windows 7. Of course the &amp;quot;fanboy&amp;quot; in me goes: &amp;quot;YEAH!&amp;quot;. However the web developer in me is crying and unfortunately it is the later that is winning my internal emotional struggle. Of course it is early days. The OS hasn't even been released yet and most of the participants in the survey probably haven't had a chance to do too much playing with it but I am still greatly concerned.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/1001/we-are-ever-going-to-loose-ie6/&quot;&gt;We Are Ever Going to Loose IE6&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/1001/we-are-ever-going-to-loose-ie6/</link>
<pubDate>Tue, 14 Jul 2009 00:00:00 +1200</pubDate>
</item>
<item>
<title>Welcome to jaiivarsson.com</title>
<description>Here it is. While this isn't my first attempt at a blog it is my first in the field of my work. I big plans for this site with free Jojo Themes and plugins coming in the future, but for now posts will be comments on things I come across in my daily working life and also my comments on how I see the world. I hope you enjoy.&lt;p&gt;Source: &lt;a href=&quot;http://www.jaiivarsson.com/blog/test/&quot;&gt;Welcome to jaiivarsson.com&lt;/a&gt;&lt;/p&gt;</description>
<link>http://www.jaiivarsson.com/blog/test/</link>
<pubDate>Fri, 03 Jul 2009 00:00:00 +1200</pubDate>
</item>
</channel>
</rss>

