<?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>Just a Coder &#187; Scripting</title>
	<atom:link href="http://www.nickfitz.co.uk/categories/web-development/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickfitz.co.uk</link>
	<description>The occasional online observations of Nick Fitzsimons</description>
	<lastBuildDate>Sun, 08 Jan 2012 02:09:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>WebDD: February 3 2007</title>
		<link>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/</link>
		<comments>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 18:41:48 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[WebDD]]></category>

		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/01/07/webdd-february-3-2007/</guid>
		<description><![CDATA[WebDD is a web design and development conference to be held at the Microsoft Campus in Reading, UK this coming 3 February (a Saturday). There is, naturally, a certain emphasis on Microsoft technologies, but not exclusively. Actually, although there are several presentations involving MS technologies, I was wrong to think that Microsoft were somehow involved [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.webdd.org.uk/">WebDD</a> is a web design and development conference to be held at the Microsoft Campus in Reading, UK this coming 3 February (a Saturday). <del>There is, naturally, a certain emphasis on Microsoft technologies, but not exclusively.</del> <ins>Actually, although there are several presentations involving MS technologies, I was wrong to think that Microsoft were somehow involved in <em>organising</em> WebDD: they are providing sponsorship and hosting the event, but it is indeed a <a href="http://weblogs.asp.net/plip/archive/2007/01/12/webdd-is-not-being-organized-by-microsoft.aspx">community-organised conference</a>.</ins> Thanks must go to <a href="http://webdd.backnetwork.com/people/person.aspx?person=philwinstanley">Phil Winstanley</a> and <a href="http://webdd.backnetwork.com/people/person.aspx?person=davesussman">Dave Sussman</a> for organising this. With sessions covering Accessibility, CSS, <a href="http://microformats.org">Microformats</a> and much more it promises to be an interesting event. Best of all, it&#8217;s &#8220;free as in beer&#8221;! Registration is <del>opening Real Soon Now</del> <ins>now <a href="http://webdd.backnetwork.com/feeds/post.aspx?postid=201">full</a></ins>; my badge arrived in the post a few days ago.
</p>
<p><span id="more-20"></span></p>
<p>
Already up and running is <a href="http://webdd.backnetwork.com/">the Backnetwork</a>. This is the same system that <a href="http://madgex.com/">Madgex</a> developed for <a href="http://2006.dconstruct.org">d.Construct 2006</a> (Glenn Jones of Madgex is giving a presentation on Microformats), and proved itself to be an excellent system for keeping track of contacts and following the general <a href="http://flickr.com">Flickr</a> and blogging buzz around the event.
</p>
<p>
See you there, <del>if my car has been healed by then. (I dread to think what the train would cost.)</del> <ins>the car having been healed through the miracle of a few hundred pounds.</ins> (Broken trailing arm, whatever one of those is.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quirks or Strict: a Quick Way to Tell</title>
		<link>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/</link>
		<comments>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 18:17:12 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.nickfitz.co.uk/2006/04/30/quirks-or-strict-a-quick-way-to-tell/</guid>
		<description><![CDATA[A useful bit of JavaScript for web developers]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working with <a href="http://www.w3.org/MarkUp/#recommendations">(X)HTML</a> and <a href="http://www.w3.org/Style/CSS/">CSS</a> you&#8217;ll be aware &#8211; or you <em>need</em> to be aware &#8211; that browsers render pages differently depending on whether they are in Strict or Quirks mode. (There are explanations of what these terms mean from <a href="http://msdn.microsoft.com/library/en-us/dnie60/html/cssenhancements.asp?frame=true#cssenhancements_topic2">Microsoft</a> and <a href="http://developer.mozilla.org/en/docs/Mozilla%27s_DOCTYPE_sniffing">Mozilla</a>.) It can be useful to have a way of making certain which mode you&#8217;re in when tracking down inconsistencies in browser behaviour.<br />
<span id="more-9"></span><br />
A quick and easy way to tell is to type the following snippet of JavaScript into the location bar:</p>
<p><code><a href="javascript:alert(document.compatMode);">javascript:alert(document.compatMode);</a></code></p>
<p>which will pop up a box stating either &#8220;BackCompat&#8221; for Quirks mode, or &#8220;CSS1Compat&#8221; for Strict mode.</p>
<p>If you&#8217;re using Firefox and have the Bookmarks toolbar visible, you can drag the following link on to it to create a handy little button you can use to check which rendering mode the browser is in on any page you visit. In Internet Explorer, right-click on the link and select &#8220;Add to Favorites&#8230;&#8221; to achieve the same thing. (You&#8217;ll get a warning that the link &#8220;may not be safe&#8221;; at that point you have to decide how much you trust me. Believe me, it&#8217;s safe.)<br />
<code><a href="javascript:alert(document.compatMode);">Rendering mode</a></code></p>
<p>I find this tremendously useful for doing checks on pages, particularly when editing pages by hand, where a simple typo might throw a page into Quirks mode, with resultant frustration as CSS which previously worked suddenly goes completely to pot.</p>
<p>(Note that the &#8220;CSS1Compat&#8221; actually means &#8220;CSS2Compat&#8221; in browsers with support for CSS 2.1.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JavaScript Get-Together, London 2005-06-11</title>
		<link>http://www.nickfitz.co.uk/2005/06/13/javascript-get-together-london-2005-06-11/</link>
		<comments>http://www.nickfitz.co.uk/2005/06/13/javascript-get-together-london-2005-06-11/#comments</comments>
		<pubDate>Mon, 13 Jun 2005 19:58:28 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
				<category><![CDATA[DOM]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.nickfitz.co.uk/?p=5</guid>
		<description><![CDATA[<p>It's official - JavaScript is no longer evil.</p>]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t able to make it to @media, but I did travel down to London for the <a href="http://www.quirksmode.org/blog/archives/2005/06/11_june_london.html">JavaScript get-together</a> in the Old Thameside Inn on Saturday afternoon. Peter K of <a href="http://www.quirksmode.org/">Quirksmode</a> had an agenda of three primary items which he anticipated eight or nine JavaScript geeks turning up to discuss; the actual figures were nearer the 30 mark, and a lot of the attendees were from the design community, so the first two parts of the meeting were instead devoted to the primary question that @media had brought up: how to get the message about the correct use of scripting out to the larger community who are already working with standards-based HTML/CSS techniques, and now want to get into the possibilities they&#8217;ve perceived through offerings like GMail and Google Maps.<br />
<span id="more-5"></span><br />
<a href="http://www.kryogenix.org/days/2005/06/12/javascriptMeetup">Stuart Langridge</a> and <a href="http://adactio.com/journal/display.php/20050612174941.xml">Jeremy Keith</a> have already written up summaries of what was decided, so I won&#8217;t bother repeating them, but will move on to the discussion about the original three questions.</p>
<p>By the time we got onto these topics we&#8217;d moved outside, and numbers had decreased considerably; perhaps as a result of this, decisions were made fairly quickly (if they were made at all). In short, the results were:</p>
<ol>
<li>Naming: We&#8217;ll call it <em>DOM Scripting</em>;</li>
<li>The dreaded <code>onload</code> problem: All the things you&#8217;d think would work don&#8217;t. However Mozilla has an undocumented DOMContentLoaded event (which is probably to be standardised), and <a href="http://dean.edwards.name">Dean Edwards</a> explained that it is possible to provide support for this using IE behaviors (.htc files). I&#8217;m planning to do some experimentation on this one to see what the best approach is when working with other browsers, although I&#8217;m probably just repeating <a href="http://dean.edwards.name/weblog/2005/02/order-of-events/">Dean&#8217;s work</a>.</li>
<li>We&#8217;d all drunk enough by then that the discussion of Design Patterns drifted off into speculation about the noise a bagpipe band would make marching off a cliff and other important topics, but I&#8217;ll probably carry on with my advocacy of object oriented tehniques (suitably adapted to JavaScript&#8217;s strengths and weaknesses) until others point out how utterly wrong I am.</li>
</ol>
<p>So to summarise, you should expect to see a <em>lot</em> of writing coming out from this point onwards designed to propagate the meme of DOM Scripting, which can be defined as the process of enhancing web pages by adding a behaviour layer which beefs things up using standards-based techniques, degrades gracefully when JavaScript support is absent, and doesn&#8217;t interfere with accessibility when it <em>isn&#8217;t</em> absent.</p>
<p>If you&#8217;re wondering what that last bit means, consider the revelation brought to us by <a href="http://www.boxofchocolates.ca/">Derek Featherstone</a>: screen readers may not support JavaScript, but the browsers they read from do. Some of the implications of this are covered by Derek in <a href="http://www.boxofchocolates.ca/archives/2005/06/12/javascript-and-accessibility">this follow-up</a> to his @media presentation, and I have no doubt it&#8217;s something we&#8217;ll hear a lot more discussion about in the future. It means we&#8217;ve got to forget about just testing with JavaScript turned off if we want to be accesible, and that means rethinking a lot of things.</p>
<p>Finally, thanks to everybody for making Saturday afternoon such an enjoyable and informative gathering. I hope to catch up with you all again; if not before, there&#8217;s always @media 2006.</p>
<p>P.S.: if you&#8217;re looking for more info about the presentations at @media, don&#8217;t miss <a href="http://www.isolani.co.uk/blog/">Isofarro&#8217;s excellent notes and transcripts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nickfitz.co.uk/2005/06/13/javascript-get-together-london-2005-06-11/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

