<?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>The web stuff journal</title>
	<atom:link href="http:///blog/feed/" rel="self" type="application/rss+xml" />
	<link>/blog</link>
	<description></description>
	<lastBuildDate>Sat, 15 Aug 2009 19:20:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IE 5.5 6 7 8 Browser Testing</title>
		<link>/blog/ie-5-5-6-7-8-browser-testing/2009/08/15/</link>
		<comments>/blog/ie-5-5-6-7-8-browser-testing/2009/08/15/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 19:19:10 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">/blog/ie-5-5-6-7-8-browser-testing/2009/08/15/</guid>
		<description><![CDATA[Need to check if your fancy CSS will work in IE 5.5 6 7 or 8? The IETester program makes it easy.
Check out http://www.my-debugbar.com/wiki/IETester/HomePage
]]></description>
			<content:encoded><![CDATA[<p>Need to check if your fancy CSS will work in IE 5.5 6 7 or 8? The IETester program makes it easy.</p>
<p>Check out <a href="http://www.my-debugbar.com/wiki/IETester/HomePage">http://www.my-debugbar.com/wiki/IETester/HomePage</a></p>
]]></content:encoded>
			<wfw:commentRss>/blog/ie-5-5-6-7-8-browser-testing/2009/08/15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force IE8 to compatability mode IE7</title>
		<link>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/</link>
		<comments>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 16:26:19 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/</guid>
		<description><![CDATA[If you found this post then Microsoft Internet Explorer 8 has probably broken your website. All that nice CSS work has been ruined.
A solution is to force IE8 to run in compatability mode of IE7.
&#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7&#8243; /&#62;
]]></description>
			<content:encoded><![CDATA[<p>If you found this post then Microsoft Internet Explorer 8 has probably broken your website. All that nice CSS work has been ruined.</p>
<p>A solution is to force IE8 to run in compatability mode of IE7.</p>
<p>&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7&#8243; /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Forms Validation</title>
		<link>/blog/javascript-forms-validation/2008/12/09/</link>
		<comments>/blog/javascript-forms-validation/2008/12/09/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 11:16:28 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">/blog/javascript-forms-validation/2008/12/09/</guid>
		<description><![CDATA[Ok I found this great web example on forms validation and just had to post it for later reference. That&#8217;s what blogs are for, right?
http://www.webcredible.co.uk/user-friendly-resources/dom-scripting/validate-forms-javascript.shtml
]]></description>
			<content:encoded><![CDATA[<p>Ok I found this great web example on forms validation and just had to post it for later reference. That&#8217;s what blogs are for, right?</p>
<p><a target="_blank" mce_href="http://www.webcredible.co.uk/user-friendly-resources/dom-scripting/validate-forms-javascript.shtml" href="http://www.webcredible.co.uk/user-friendly-resources/dom-scripting/validate-forms-javascript.shtml">http://www.webcredible.co.uk/user-friendly-resources/dom-scripting/validate-forms-javascript.shtml</a></p>
]]></content:encoded>
			<wfw:commentRss>/blog/javascript-forms-validation/2008/12/09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SilverStripe TinyMCE Media / Embed Movies How-to</title>
		<link>/blog/silverstripe-tinymce-media-embed-movies-how-to/2008/12/03/</link>
		<comments>/blog/silverstripe-tinymce-media-embed-movies-how-to/2008/12/03/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 16:06:37 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Silverstripe CMS]]></category>

		<guid isPermaLink="false">/blog/?p=67</guid>
		<description><![CDATA[Phew! I&#8217;ve just spent the best part of 3 hours figuring out how to add in media support for TinyMCE and SilverStripe CMS. I hope the following code helps others and if there&#8217;s any questions i&#8217;ll do my best to help.
Firstly we need to add the button to the TinyMCE. SilverStripe is setup to do [...]]]></description>
			<content:encoded><![CDATA[<p>Phew! I&#8217;ve just spent the best part of 3 hours figuring out how to add in media support for TinyMCE and SilverStripe CMS. I hope the following code helps others and if there&#8217;s any questions i&#8217;ll do my best to help.</p>
<p>Firstly we need to add the button to the TinyMCE. SilverStripe is setup to do this by linking in from a seperate file.</p>
<p>Edit /saphire/forms/HtmlEditorField.php<br />
new HtmlEditorField_button(&#8221;mceMedia&#8221;,&#8221;media:media&#8221;,_t(&#8217;HtmlEditorField.MEDIA&#8217;, &#8220;Insert media&#8221;)),</p>
<p>Next we need to enable the backend TinyMCE code itself.</p>
<p>Edit /cms/javascript/tinymce.template.js<br />
mode : &#8220;textareas&#8221;,<br />
plugins : &#8220;contextmenu,table,emotions,media,paste&#8221;,</p>
<p>Now go to /admin/?flush=1 to flush the cache.</p>
<p>That&#8217;s it, you should have a media button on your TinyMCE toolbar which pops up and gives option to add in Flash, Quicktime, WMV etc.</p>
]]></content:encoded>
			<wfw:commentRss>/blog/silverstripe-tinymce-media-embed-movies-how-to/2008/12/03/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Display background behind a floating element</title>
		<link>/blog/display-background-behind-a-floating-element/2008/11/19/</link>
		<comments>/blog/display-background-behind-a-floating-element/2008/11/19/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:21:11 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">/blog/?p=63</guid>
		<description><![CDATA[Ok&#8230; so you setup a page with a blue background and float an object left, for example. You now see that the background colour on the float is white! Ruining the look of your page.
&#60;div id=&#8221;contentBody&#8221;&#62;
&#60;div style=&#8221;float: left;&#8221;&#62;Floated Content&#60;/div&#62;
&#60;/div&#62;
So how do we do it? Use the following hack:
#contentBody:after { content: &#8220;.&#8221;; display: block; height: 0; [...]]]></description>
			<content:encoded><![CDATA[<p>Ok&#8230; so you setup a page with a blue background and float an object left, for example. You now see that the background colour on the float is white! Ruining the look of your page.</p>
<p>&lt;div id=&#8221;contentBody&#8221;&gt;<br />
&lt;div style=&#8221;float: left;&#8221;&gt;Floated Content&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>So how do we do it? Use the following hack:</p>
<p>#contentBody:after { content: &#8220;.&#8221;; display: block; height: 0; clear: both; visibility: hidden; } * html #contentBody { height: 1%;}</p>
]]></content:encoded>
			<wfw:commentRss>/blog/display-background-behind-a-floating-element/2008/11/19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using JQuery with Other Libraries</title>
		<link>/blog/using-jquery-with-other-libraries/2008/11/19/</link>
		<comments>/blog/using-jquery-with-other-libraries/2008/11/19/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 15:29:44 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">/blog/?p=58</guid>
		<description><![CDATA[I&#8217;ve just learend something very cool today. How to use JQuery with other libraries, in my case prototype.js.
The issue is where other libraries are using $ as the same shortcut, for example JQuery uses &#8220;$&#8221; as a shortcut for &#8220;JQuery&#8221;.
Here&#8217;s the workaround:
 &#60;html&#62;
 &#60;head&#62;
   &#60;script src="prototype.js"&#62;&#60;/script&#62;
   &#60;script src="jquery.js"&#62;&#60;/script&#62;
   &#60;script&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just learend something very cool today. How to use JQuery with other libraries, in my case prototype.js.</p>
<p>The issue is where other libraries are using $ as the same shortcut, for example JQuery uses &#8220;$&#8221; as a shortcut for &#8220;JQuery&#8221;.</p>
<p>Here&#8217;s the workaround:<a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries"></a></p>
<pre> &lt;html&gt;
 &lt;head&gt;
   &lt;script src="prototype.js"&gt;&lt;/script&gt;
   &lt;script src="jquery.js"&gt;&lt;/script&gt;
   &lt;script&gt;
     <a title="Core/jQuery.noConflict" href="http://docs.jquery.com/Core/jQuery.noConflict">jQuery.noConflict</a>();

     // Put all your code in your document ready area
     jQuery(document).ready(function($){
       // Do jQuery stuff using $
       $("div").hide();
     });

     // Use Prototype with $(...), etc.
     $('someid').hide();
   &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;&lt;/body&gt;
 &lt;/html&gt;

For a full demo and explanation see: <a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries">http://docs.jquery.com/Using_jQuery_with_Other_Libraries</a></pre>
]]></content:encoded>
			<wfw:commentRss>/blog/using-jquery-with-other-libraries/2008/11/19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Image Rotator</title>
		<link>/blog/javascript-image-rotator/2008/10/04/</link>
		<comments>/blog/javascript-image-rotator/2008/10/04/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 23:38:51 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">/blog/?p=34</guid>
		<description><![CDATA[Ever wanted to rotate through a bunch of images easily without having to use *cough* Flash? Well now you can by using the few lines of code below and a bit of JS (Javascript) trickery.
First we need to include the javascript files in to our webpage by putting the following 2 lines in to the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to rotate through a bunch of images easily without having to use *cough* Flash? Well now you can by using the few lines of code below and a bit of JS (Javascript) trickery.</p>
<p>First we need to include the javascript files in to our webpage by putting the following 2 lines in to the &lt;head&gt;</p>
<p>&lt;script src=&#8221;js/dw_rotator.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;js/dw_event.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
// Add rollover events<br />
var rotator1 = {<br />
path:   &#8216;badges/&#8217;,<br />
id:   &#8216;rotateImg&#8217;,<br />
speed:  3000,<br />
images: ["audi.jpg", "bmw.jpg", "ford.jpg", "logo.gif", "honda.gif", "landrover.jpg", "mazda.jpg", "mercedes.jpg", "logo.gif", "mini.jpg", "peugeot.jpg", "renault.jpg", "saab.jpg", "logo.gif", "skoda.jpg", "vauxhall.jpg", "vw.jpg"],<br />
bTrans: true // ie win filter<br />
}</p>
<p>function initRotator() {<br />
dw_Rotator.setup(rotator1);<br />
}</p>
<p>addLoadEvent(initRotator);</p>
<p>&lt;/script&gt;<br />
&lt;/head&gt;</p>
<p>dw_event.js &#8211; The events to trigger the automatic scroller.<br />
dw_rotator.js &#8211; The code which does the js image trickery.<br />
var rotator1 &#8211; The image path, id (of the &lt;img&gt; coming next), rotate speed, and lastly the image array.</p>
<p>You can add as many images into the array as you want, just be aware of loading times on slower browsers.</p>
<p>Next we add the image into our web site. I prefer to wrap the image into a &lt;div&gt; to make it easier to move around and manage. As you can see the ID is &#8220;rotateImg&#8221; as specified in var rotator1. This means you could have for example var rotator2&#8230; name the id rotateImg2 and set the id of your next image to rotateImg2, thus giving you another rotating image block without too much hassle.</p>
<p>&lt;div id=&#8221;div-1&#8243;&gt;&lt;img id=&#8221;rotateImg&#8221; src=&#8221;img/logo.gif&#8221; alt=&#8221;Logo&#8221;&gt;&lt;/div&gt;</p>
<p><a href="http://autos.faithinme.co.uk/js/dw_rotator.js">Download dw_rotator.js</a> <em>(Thanks to Sharon Paine &amp; Dynamic Drive)</em><br />
<a href="http://autos.faithinme.co.uk/js/dw_event.js">Download dw_event.js</a><br />
<a href="http://autos.faithinme.co.uk/index2.html">View demo</a></p>
]]></content:encoded>
			<wfw:commentRss>/blog/javascript-image-rotator/2008/10/04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anti-Spam Mailto: Link</title>
		<link>/blog/anti-spam-mailto-link/2008/10/02/</link>
		<comments>/blog/anti-spam-mailto-link/2008/10/02/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 09:31:15 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">/blog/?p=40</guid>
		<description><![CDATA[Over the years the number of spammers has increased tremendously. By using the Javascript below you are able to use the equivelant of &#8220;&#60;a href=&#8221;mailto:&#8221;&#62;email&#60;/a&#62;&#8221; without the worry of being spammed by the millions of spam bots cruising the inter-tweb.
&#60;script type=&#8221;text/javascript&#8221;&#62;
&#60;!-
emailE=(&#8217;cont&#8217; + &#8216;act&#8217; + &#8216;@&#8217; + &#8216;faith&#8217; + &#8216;inme&#8217; + &#8216;.co&#8217; + &#8216;.uk&#8217;)
document.write(&#8217;&#60;a href=&#8221;mailto:&#8217; + [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years the number of spammers has increased tremendously. By using the Javascript below you are able to use the equivelant of &#8220;&lt;a href=&#8221;mailto:&#8221;&gt;email&lt;/a&gt;&#8221; without the worry of being spammed by the millions of spam bots cruising the inter-tweb.<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!-<br />
emailE=(&#8217;cont&#8217; + &#8216;act&#8217; + &#8216;@&#8217; + &#8216;faith&#8217; + &#8216;inme&#8217; + &#8216;.co&#8217; + &#8216;.uk&#8217;)<br />
document.write(&#8217;&lt;a href=&#8221;mailto:&#8217; + emailE + &#8216;&#8221;&gt;&#8217; + emailE + &#8216;&lt;/a&gt;&#8217;)<br />
//-&gt;<br />
&lt;/script&gt;</p>
<p>Do you know of ways to fight the spam bots? Share it in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>/blog/anti-spam-mailto-link/2008/10/02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Image Rollover</title>
		<link>/blog/simple-javascript-image-rollover/2008/09/26/</link>
		<comments>/blog/simple-javascript-image-rollover/2008/09/26/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 20:40:48 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">/blog/?p=28</guid>
		<description><![CDATA[Put this code in the &#60;head&#62; to preload images.
&#60;script language=&#8221;text/javascript&#8221;&#62;
&#60;!&#8211; Begin
loadImage1 = new Image();
loadImage1.src = &#8220;north1.gif&#8221;;
staticImage1 = new Image();
staticImage1.src = &#8220;north.gif&#8221;;
loadImage2 = new Image();
loadImage2.src = &#8220;east1.gif&#8221;;
staticImage2 = new Image();
staticImage2.src = &#8220;east.gif&#8221;;
loadImage3 = new Image();
loadImage3.src = &#8220;south1.gif&#8221;;
staticImage3 = new Image();
staticImage3.src = &#8220;south.gif&#8221;;
loadImage4 = new Image();
loadImage4.src = &#8220;west1.gif&#8221;;
staticImage4 = new Image();
staticImage4.src = &#8220;west.gif&#8221;;
// End &#8211;&#62;
&#60;/script&#62;
Then use this [...]]]></description>
			<content:encoded><![CDATA[<p>Put this code in the &lt;head&gt; to preload images.</p>
<p>&lt;script language=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211; Begin<br />
loadImage1 = new Image();<br />
loadImage1.src = &#8220;north1.gif&#8221;;<br />
staticImage1 = new Image();<br />
staticImage1.src = &#8220;north.gif&#8221;;</p>
<p>loadImage2 = new Image();<br />
loadImage2.src = &#8220;east1.gif&#8221;;<br />
staticImage2 = new Image();<br />
staticImage2.src = &#8220;east.gif&#8221;;</p>
<p>loadImage3 = new Image();<br />
loadImage3.src = &#8220;south1.gif&#8221;;<br />
staticImage3 = new Image();<br />
staticImage3.src = &#8220;south.gif&#8221;;</p>
<p>loadImage4 = new Image();<br />
loadImage4.src = &#8220;west1.gif&#8221;;<br />
staticImage4 = new Image();<br />
staticImage4.src = &#8220;west.gif&#8221;;</p>
<p>// End &#8211;&gt;<br />
&lt;/script&gt;</p>
<p>Then use this code in the &lt;body&gt; to display the mouseovers.</p>
<p>&lt;span onmouseover=&#8221;image1.src=loadImage1.src;&#8221; onmouseout=&#8221;image1.src=staticImage1.src;&#8221;&gt;<br />
&lt;img name=&#8221;image1&#8243; src=&#8221;north.gif&#8221; border=0&gt;&lt;/span&gt;</p>
<p>&lt;span onmouseover=&#8221;image2.src=loadImage2.src;&#8221; onmouseout=&#8221;image2.src=staticImage2.src;&#8221;&gt;<br />
&lt;img name=&#8221;image2&#8243; src=&#8221;east.gif&#8221; border=0&gt;&lt;/span&gt;</p>
<p>&lt;span onmouseover=&#8221;image3.src=loadImage3.src;&#8221; onmouseout=&#8221;image3.src=staticImage3.src;&#8221;&gt;<br />
&lt;img name=&#8221;image3&#8243; src=&#8221;south.gif&#8221; border=0&gt;&lt;/span&gt;</p>
<p>&lt;span onmouseover=&#8221;image4.src=loadImage4.src;&#8221; onmouseout=&#8221;image4.src=staticImage4.src;&#8221;&gt;<br />
&lt;img name=&#8221;image4&#8243; src=&#8221;west.gif&#8221; border=0&gt;&lt;/span&gt;</p>
]]></content:encoded>
			<wfw:commentRss>/blog/simple-javascript-image-rollover/2008/09/26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thumbs up for EditPlus</title>
		<link>/blog/thumbs-up-for-editplus/2008/09/20/</link>
		<comments>/blog/thumbs-up-for-editplus/2008/09/20/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:36:22 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">/blog/?p=16</guid>
		<description><![CDATA[www.editplus.com &#8211; PC HTML/CSS/PHP/ASP/XML Editing Software.

In the many years of web design and development I haven&#8217;t found a better HTML, CSS, etc, coding program for the PC. The inbuilt remote FTP features mean that I can work remotely on code without having to mess around re-uploading code after editing, which speeds up my work very [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.editplus.com">www.editplus.com</a> &#8211; PC HTML/CSS/PHP/ASP/XML Editing Software.</p>
<p><img src="http://www.faithinme.co.uk/blog/wp-content/uploads/editplus.jpg" style="width: 30%; float: right; padding-left: 10px;"></p>
<p>In the many years of web design and development I haven&#8217;t found a better HTML, CSS, etc, coding program for the PC. The inbuilt remote FTP features mean that I can work remotely on code without having to mess around re-uploading code after editing, which speeds up my work very much. EditPlus is a mere $35 for licensing, but if you want you can evaluate the software forever just by clicking the evaluate button on load.</p>
<p>The only fault I have found is that the remote FTP will sometimes give a timeout. I thought it was an issue with my servers to begin with but have since found that it is a common issue.</p>
]]></content:encoded>
			<wfw:commentRss>/blog/thumbs-up-for-editplus/2008/09/20/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
