<?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>UseStrict Consulting &#187; page</title>
	<atom:link href="http://usestrict.net/tag/page/feed/" rel="self" type="application/rss+xml" />
	<link>http://usestrict.net</link>
	<description>Professional IT Solutions &#38; Training</description>
	<lastBuildDate>Sat, 12 May 2012 14:25:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Safari shows a blank page</title>
		<link>http://usestrict.net/2011/03/safari-shows-a-blank-page/</link>
		<comments>http://usestrict.net/2011/03/safari-shows-a-blank-page/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 21:23:55 +0000</pubDate>
		<dc:creator>vinny</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[all sorts]]></category>
		<category><![CDATA[background image]]></category>
		<category><![CDATA[blank page]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[complex solutions]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[end]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Googled]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[none]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[script tag]]></category>
		<category><![CDATA[script type]]></category>
		<category><![CDATA[something]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[text javascript]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://usestrict.net/?p=992</guid>
		<description><![CDATA[Safari shows a blank page, no content, due to missing comment close in JavaScript.]]></description>
			<content:encoded><![CDATA[<p>I just ran into something odd and found all sorts of complex solutions (none of which worked for me), so I decided to post this case.</p>
<p>I&#8217;m creating a new version of an interface at work and tested with FireFox during development. When I opened it in Safari, all I got was the background image. No content at all. I Googled and several people reported having the same problem and said that clearing the cache would do the trick. It did not.</p>
<p>In the end, the issue was a missing &#8216;&#8211;&gt;&#8217; inside a <code>script</code> tag.</p>
<pre class="brush:javascript">&lt;script type="text/javascript"&gt; &lt;!-- // open a comment for older browsers - is this actually required still??
/* lots of JS here */

// There should be a close comment (--&gt;)  here!
&lt;/script&gt;</pre>
<p>Safari, not finding the closing comment tag, simply considered all of the HTML to be commented out.</p>
<p>I hope this helps!</p>
<p>&nbsp;</p>
<h3>Book Suggestions:</h3>
<p>&nbsp;</p>
<div>
<script type="text/javascript">
    (function(){
        document.write('<script type="text/javascript" src="http://cb1.cronblocks.com//js/content.js?c=14&#038;t='+(Math.floor(new Date().getTime()/1000))+'&#038;s=client"><\/script>');
    })();
</script>
</div>
]]></content:encoded>
			<wfw:commentRss>http://usestrict.net/2011/03/safari-shows-a-blank-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

