<?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>David Lowry &#187; xhtml</title>
	<atom:link href="http://davidlowry.co.uk/category/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidlowry.co.uk</link>
	<description>Setting out freelance with Web and AV Solutions</description>
	<lastBuildDate>Thu, 09 Sep 2010 10:12:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Getting around QOL (aka JavaScript execution in Safari)</title>
		<link>http://davidlowry.co.uk/getting-around-qol/</link>
		<comments>http://davidlowry.co.uk/getting-around-qol/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 09:57:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[accessibility]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[QOL]]></category>
		<category><![CDATA[queens university belfast]]></category>

		<guid isPermaLink="false">http://davidlowry.co.uk/getting-around-qol/</guid>
		<description><![CDATA[QOL is Queen&#8217;s University Belfast&#8217;s student intranet system which allows centralised delivery of lecture content and course material to enrolled students. Unsurprisingly it doesn&#8217;t work properly in Safari as it relies heavily on (old school) JavaScript to build page content &#8230; <a href="http://davidlowry.co.uk/getting-around-qol/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.qol.qub.ac.uk/">QOL</a> is Queen&#8217;s University Belfast&#8217;s student intranet system which allows centralised delivery of lecture content and course material to enrolled students. Unsurprisingly it doesn&#8217;t work properly in Safari as it relies heavily on (old school) JavaScript to build page content (not just modify its appearance in a delightfully DOM manner)</p>
<pre>node_1 = node.addItem(new TreeNode('node_1','doc.gif','doc.gif','',false,true));
element = node_1.addElement(new elemHyperLink('Student Handbook-2007-08.doc','JavaScript:downloadResource(289314);','','','Student Handbook'));
element = node_1.addElement(new elemText('(92.50 KB)',''));
element = node_1.addElement(new elemImageLink('Download Times', '../images/clock.gif','',0,'top','JavaScript:showDownloadTimes(94720,289314)'));</pre>
<p>Yuck. From the image below you can see the Lectures folder has been clicked to fold it out, but due to the JavaScript issue it does not.<img src="/share/qol_javascript.png" alt="Queen's Online has some accessibility issues with javascript" height="269" width="340" />You can see there is an element: JavaScript:downloadResource(289314); in the code which is the type of link behind any given resource. I&#8217;ve never noticed this before, but if you extract that link from the page source (Cmd+Alt+U in Safari, Cmd+U in Firefox) and enter it into the Page Address bar, click enter, it will execute the JavaScript right there and download the file to your default location.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidlowry.co.uk/getting-around-qol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
