<?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>html tutorials &#124; css tutorials &#124; php tutorials &#124; Nodstrum Blog &#187; CSS</title>
	<atom:link href="http://www.nodstrum.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nodstrum.com</link>
	<description>A coders playground.</description>
	<lastBuildDate>Tue, 04 May 2010 22:12:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple CSS roll over image button</title>
		<link>http://www.nodstrum.com/2009/11/03/simple-css-roll-over-image-button/</link>
		<comments>http://www.nodstrum.com/2009/11/03/simple-css-roll-over-image-button/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:02:02 +0000</pubDate>
		<dc:creator>jaybaron</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.nodstrum.com/?p=118</guid>
		<description><![CDATA[This tutorial is very simple and easy to follow, and you can use this for image roll overs, buttons, and navigation&#8230;  Once you&#8217;ve done this a couple times it becomes very simple.
CSS Rollovers can be done with either two images or one single image.  I prefer to always do only one image as it allows [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial is very simple and easy to follow, and you can use this for image roll overs, buttons, and navigation&#8230;  Once you&#8217;ve done this a couple times it becomes very simple.<br />
CSS Rollovers can be done with either two images or one single image.  I prefer to always do only one image as it allows for faster loading.<br />
The first step is to make our images.  For this example I used an image with a height of 25px and a width of 100px.<br />
For this tutorial because we are only using one image we will have to double the height.  Make sure when you make your image that you have it aligned perfectly so the roll over looks smooth.  Here is a demo <a href="http://www.madtowndesigns.com/milwaukee-website-design/">Milwaukee Website Design</a> first<span id="more-118"></span></p>
<p><strong>Your CSS:</strong></p>
<pre><code>a.button, a.button:link, a.button:visited {
     color:#CFCFD0;
     text-decoration: none;
     line-height:25px;
     text-align: center;
     display: block;
     height: 25px;
     width: 100px;
     background-image: url(img/image.jpg);
     background-color:#333333;
     background-repeat:no-repeat;
     background-position:top center;
}

a.button:hover {
     color:#FFFFFF;
     background-color:#999999;
     background-repeat:no-repeat;
     background-position:bottom center;
}</code></pre>
<p><strong>The HTML:</strong></p>
<p>&lt;a href=&#8221;#&#8221; class=&#8221;button&#8221;&gt;Link&lt;/a&gt;</p>
<p><strong>How it works:</strong><br />
When you look at the last line in the CSS it is declaring the position of the background.  The normal image only shows the top part and when you roll over the CSS shows the bottom half of the image&#8230; That iss why we doubled our image exactly.  If your image moves around when roled over it means you did not align everything perfectly&#8230;  I recommend you check the image first for a quick fix before adjusting the CSS.</p>
<p>If you need any help just post below.  Here is the</p>
<pre><a href="http://madtowndesigns.com/demos/simple_rollover/" target="_blank">demo</a></pre>
<p>of what your outcome will look like</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nodstrum.com/2009/11/03/simple-css-roll-over-image-button/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSSEdit &#8211; funny!</title>
		<link>http://www.nodstrum.com/2007/11/14/cssedit-funny/</link>
		<comments>http://www.nodstrum.com/2007/11/14/cssedit-funny/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 10:40:08 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://nodstrum.com/2007/11/14/cssedit-funny/</guid>
		<description><![CDATA[Some of you may not know, but CSS Edit is a Mac only CSS Editor from Mac Rabbit
Anyways &#8211; if you have a look at the new Icon (hi-res for OS X Leopard) it reveals a funny comment!

Look at the bottom left corner if you dont understand!
]]></description>
			<content:encoded><![CDATA[<p>Some of you may not know, but CSS Edit is a Mac only CSS Editor from <a href="http://macrabbit.com/cssedit/" title="MacRabbit">Mac Rabbit</a></p>
<p>Anyways &#8211; if you have a look at the new Icon (hi-res for OS X Leopard) it reveals a funny comment!</p>
<p><img src="http://nodstrum.com/images/CSSEditLogo.png" height="400" width="400" /></p>
<p>Look at the bottom left corner if you dont understand!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nodstrum.com/2007/11/14/cssedit-funny/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AutoCompleter Tutorial &#8211; jQuery(Ajax)/PHP/MySQL</title>
		<link>http://www.nodstrum.com/2007/09/19/autocompleter/</link>
		<comments>http://www.nodstrum.com/2007/09/19/autocompleter/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 11:50:40 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://nodstrum.com/2007/09/19/autocompleter/</guid>
		<description><![CDATA[AutoCompleter Tutorial
As always, links to a demo and ZIP at the bottom, Enjoy!
I thought i would write this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you [...]]]></description>
			<content:encoded><![CDATA[<p><strong>AutoCompleter Tutorial</strong></p>
<p><em><strong>As always, links to a demo and ZIP at the bottom, Enjoy!</strong></em></p>
<p>I thought i would write this tutorial because most of the auto completer applications i have seen just dump the code into a zip and tell you how to use it rather than how and why it works, knowing about this enables you to customise it a lot more (this has been demonstrated with the other apps i have written here)!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_1.png" height="148" width="250" /><br />
 <span id="more-44"></span><br />
    And so we begin:<br />
<strong>JavaScript</strong></p>
<div class="dean_ch" style="white-space: wrap;">
&lt;script src=<span class="st0">&quot;jquery-1.2.1.pack.js&quot;</span> type=<span class="st0">&quot;text/javascript&quot;</span>&gt;&lt;/script&gt;&lt;script type=<span class="st0">&quot;text/javascript&quot;</span>&gt;</p>
<p><span class="kw2">function</span> lookup<span class="br0">&#40;</span>inputString<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>inputString.<span class="me1">length</span> == <span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Hide the suggestion box.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;#suggestions&#8217;</span><span class="br0">&#41;</span>.<span class="me1">hide</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; $.<span class="me1">post</span><span class="br0">&#40;</span><span class="st0">&quot;rpc.php&quot;</span>, <span class="br0">&#123;</span>queryString: <span class="st0">&quot;&quot;</span>+inputString+<span class="st0">&quot;&quot;</span><span class="br0">&#125;</span>, <span class="kw2">function</span><span class="br0">&#40;</span>data<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>data.<span class="me1">length</span> &gt;<span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;#suggestions&#8217;</span><span class="br0">&#41;</span>.<span class="me1">show</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;#autoSuggestionsList&#8217;</span><span class="br0">&#41;</span>.<span class="me1">html</span><span class="br0">&#40;</span>data<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span> <span class="co1">// lookup</span></p>
<p><span class="kw2">function</span> fill<span class="br0">&#40;</span>thisValue<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;#inputString&#8217;</span><span class="br0">&#41;</span>.<span class="me1">val</span><span class="br0">&#40;</span>thisValue<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp;$<span class="br0">&#40;</span><span class="st0">&#8216;#suggestions&#8217;</span><span class="br0">&#41;</span>.<span class="me1">hide</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></p>
<p>&lt;/script&gt;</p></div>
<p><strong>JS Explaniation</strong></p>
<p>Ok, the above code it the guts to the script, this allows us to hook into the rpc.php file which carries out all the processing.</p>
<p>The Lookup function takes the word from the input box and POSTS it to the rpc.php page using the jQuery Ajax POST call.</p>
<p><strong>IF</strong> the inputString is &#8216;0&#8242; (Zero), it hides the suggestion box, naturally you would not want this showing if there is nothing in the text box. to search for.</p>
<p><strong>ELSE </strong>we take the &#8216;inputString&#8217;  and post it to the rpc.php page, the jQuery $.post() function is used as follows&#8230;</p>
<div class="dean_ch" style="white-space: wrap;">
$.<span class="me1">post</span><span class="br0">&#40;</span>url, <span class="br0">&#91;</span>data<span class="br0">&#93;</span>, <span class="br0">&#91;</span>callback<span class="br0">&#93;</span><span class="br0">&#41;</span></div>
<p>The &#8216;callback&#8217; part allows to hook in a function, this is where the real magic if thats what you can call it happens.</p>
<p><strong>IF</strong> the &#8216;data&#8217; returned length is more than zero (ie: there is actually something to show), show the suggestionBox and replace the HTML inside with the returned data.</p>
<p>SIMPLE!</p>
<p><strong>Now for the PHP Backend (RPC.php)</strong></p>
<p>As always my PHP Backend page is called rpc.php (Remote Procedure Call) not that it actually does that, but hey-ho.</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="co1">// PHP5 Implementation &#8211; uses MySQLi. </span><br />
<span class="re0">$db</span> = <span class="kw2">new</span> mysqli<span class="br0">&#40;</span><span class="st0">&#8216;localhost&#8217;</span>, <span class="st0">&#8216;root&#8217;</span> ,<span class="st0">&#8221;</span>, <span class="st0">&#8216;autoComplete&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="kw1">if</span><span class="br0">&#40;</span>!<span class="re0">$db</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="co1">// Show error if we cannot connect.</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;ERROR: Could not connect to the database.&#8217;</span>;<br />
<span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="co1">// Is there a posted query string?</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/isset"><span class="kw3">isset</span></a><span class="br0">&#40;</span><span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st0">&#8216;queryString&#8217;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$queryString</span> = <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st0">&#8216;queryString&#8217;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Is the string length greater than 0?</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span><span class="re0">$queryString</span><span class="br0">&#41;</span> &gt;<span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Run the query: We use LIKE &#8216;$queryString%&#8217;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// The percentage sign is a wild-card, in my example of countries it works like this&#8230;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// $queryString = &#8216;Uni&#8217;;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Returned data = &#8216;United States, United Kindom&#8217;;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$query</span> = <span class="re0">$db</span>-&gt;<span class="me1">query</span><span class="br0">&#40;</span><span class="st0">&quot;SELECT value FROM countries WHERE value LIKE &#8216;$queryString%&#8217; LIMIT 10&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$query</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// While there are results loop through them &#8211; fetching an Object (i like PHP5 btw!).</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">while</span> <span class="br0">&#40;</span><span class="re0">$result</span> = <span class="re0">$query</span> -&gt;<span class="me1">fetch_object</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Format the results, im using &lt;li&gt; for the list, you can change it. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// The onClick function fills the textbox with the result.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;&lt;li onclick=&quot;fill(&#8216;</span><span class="st0">&#8216;.$result-&gt;value.&#8217;</span><span class="st0">&#8216;);&quot;&gt;&#8217;</span>.<span class="re0">$result</span>-&gt;<span class="me1">value</span>.<span class="st0">&#8216;&lt;/li&gt;&#8217;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;ERROR: There was a problem with the query.&#8217;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Dont do anything.</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="co1">// There is a queryString.</span><br />
<span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216;There should be no direct access to this script!&#8217;</span>;<br />
<span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p><span class="kw2">?&gt;</span></div>
<p><strong>PHP Explaination</strong></p>
<p>Im not going to go into much detail here because there are loads of comments in the code above.</p>
<p>Basically, it takes the  &#8216;QueryString&#8217; and does a query with a wildcard at the en.</p>
<p>This means that in this case of the code each key-press generates a new query, this is MySQL intensive if its always being done, but short of making it exceedingly complex it is fine for small scale applications.</p>
<p>The PHP code is the part you have to change to work in your system, and all the it is updating the &#8216;$query&#8217; to your database, you should be able to see where you put the table column name in etc&#8230;</p>
<p><strong>CSS Styling &#8211; im using CSS3, YEA BABY! much easier although limits the functionality to Firefox and Safari.</strong></p>
<div class="dean_ch" style="white-space: wrap;">
&lt;style type=<span class="st0">&quot;text/css&quot;</span>&gt;</p>
<p><span class="re1">.suggestionsBox</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">position</span>: <span class="kw2">relative</span>;<br />
&nbsp; &nbsp; <span class="kw1">left</span>: <span class="re3">30px</span>;<br />
&nbsp; &nbsp; <span class="kw1">margin</span>: <span class="re3">10px</span> <span class="re3">0px</span> <span class="re3">0px</span> <span class="re3">0px</span>;<br />
&nbsp; &nbsp; <span class="kw1">width</span>: <span class="re3">200px</span>;<br />
&nbsp; &nbsp; <span class="kw1">background-color</span>: <span class="re0">#<span class="nu0">212427</span></span>;<br />
&nbsp; &nbsp; -moz-border-radius: <span class="re3">7px</span>;<br />
&nbsp; &nbsp; -webkit-border-radius: <span class="re3">7px</span>;<br />
&nbsp; &nbsp; <span class="kw1">border</span>: <span class="re3">2px</span> <span class="kw2">solid</span> <span class="re0">#<span class="nu0">000</span></span>;<br />
&nbsp; &nbsp; <span class="kw1">color</span>: <span class="re0">#fff</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="re1">.suggestionList</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">margin</span>: <span class="re3">0px</span>;<br />
&nbsp; &nbsp; <span class="kw1">padding</span>: <span class="re3">0px</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="re1">.suggestionList</span> li <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">margin</span>: <span class="re3">0px</span> <span class="re3">0px</span> <span class="re3">3px</span> <span class="re3">0px</span>;<br />
&nbsp; &nbsp; <span class="kw1">padding</span>: <span class="re3">3px</span>;<br />
&nbsp; &nbsp; <span class="kw1">cursor</span>: <span class="kw2">pointer</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="re1">.suggestionList</span> li<span class="re2">:hover</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">background-color</span>: <span class="re0">#659CD8</span>;<br />
<span class="br0">&#125;</span><br />
&lt;/style&gt;</div>
<p>The CSS is pretty standard, nothing out of the ordinary.</p>
<p><strong>Main HTML</strong></p>
<div class="dean_ch" style="white-space: wrap;">
&lt;div&gt;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp;&lt;div&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp; Type your county (for the demo):<br />
&lt;input size=&quot;30&quot; id=&quot;inputString&quot; onkeyup=&quot;lookup(this.value);&quot; type=&quot;text&quot; /&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;/div&gt;&nbsp; &nbsp; &nbsp; &lt;div class=&quot;suggestionsBox&quot; id=&quot;suggestions&quot; style=&quot;display: none;&quot;&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp; &lt;img src=&quot;upArrow.png&quot; style=&quot;position: relative; top: -12px; left: 30px&quot; alt=&quot;upArrow&quot; /&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp; &lt;div class=&quot;suggestionList&quot; id=&quot;autoSuggestionsList&quot;&gt;</p>
<p>&lt;/div&gt;</p>
<p>&nbsp;&nbsp;&nbsp; &lt;/div&gt;</p>
<p>&lt;/div&gt;</p></div>
<p>That is the main bit of HTML, really all you need to run this is an input text box with the &#8216;onkeyup&#8217; function set to lookup(this.value); Also, i recommend NOT changing the ID of the input box, unless you change it in the Javascript section <img src='http://www.nodstrum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Screenshots <img src='http://www.nodstrum.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </strong></p>
<p>I suppose you want to see some more screen shots&#8230;. OK.</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_2.png" height="311" width="262" /></p>
<p>And another one!</p>
<p><img src="http://res.nodstrum.com/autoComplete/screenshots/AutoComplete_3.png" height="214" width="252" /></p>
<p><strong>And now for the links&#8230; this is probably what you are all looking for!</strong></p>
<p>Demo: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=25">Auto Complete Demo</a></p>
<p>Source ZIP: <a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=26">AutoComplete Source ZIP</a></p>
<p>If you have any problems, just post them up here (as comments) and i am sure i can help you fix it <img src='http://www.nodstrum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for the continued support,</p>
<p>Jamie.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nodstrum.com/2007/09/19/autocompleter/feed/</wfw:commentRss>
		<slash:comments>960</slash:comments>
		</item>
		<item>
		<title>MySQL Calendar</title>
		<link>http://www.nodstrum.com/2007/06/27/mysql-calendar/</link>
		<comments>http://www.nodstrum.com/2007/06/27/mysql-calendar/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 10:57:10 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://nodstrum.com/2007/06/27/mysql-calendar/</guid>
		<description><![CDATA[VERSION 1.1 RELEASED!
Changes: Added (by popular demand) Event deletion! 
Ok&#8230; I have finally got this script working!
I have not done it like a tutorial because it is just too big, so here are a load of screen shots, There is a link to a fully functional demo and zip at the bottom!
A little setup information:
1. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>VERSION 1.1 RELEASED!</strong></p>
<p><em>Changes: Added (by popular demand) <strong>Event deletion</strong>! </em><br />
Ok&#8230; I have finally got this script working!</p>
<p>I have not done it like a tutorial because it is just too big, so here are a load of screen shots, <strong>There is a link to a fully functional demo and zip at the bottom!</strong></p>
<p><strong>A little setup information:</strong></p>
<p>1. Copy the entire calendar into whatever directory you want.</p>
<p>2. Create your database and import the &#8216;databaseSQL.sql&#8217; file into it, this will create the default data for running it.</p>
<p>3. Alter the &#8216;databaseConnection.php&#8217; file to show your connection details.That should be it..</p>
<p>NOTE:By default the username and password are both &#8216;<span class="Apple-style-span" style="font-weight: bold">admin</span>&#8216; (without the quotes), i suggest you change your password in the control panel.</p>
<p>If you have any problems i will be happy to help, just post your query as a comment to this page.</p>
<p><strong>Screen Shots</strong></p>
<p><strong>Default View</strong></p>
<p><img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/defaultCalendar.png.png" /></p>
<p><span id="more-35"></span></p>
<p><strong>View Events</strong><br />
<img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/viewEvents.png" /></p>
<p><strong>View Events 2</strong><br />
<img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/noEvents.png" /></p>
<p><strong>Login</strong></p>
<p><img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/login.png" /></p>
<p><strong>Control Panel</strong></p>
<p><img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/controlPanel.png" /></p>
<p><strong>Add Event</strong></p>
<p><img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/addEvent1.png" /></p>
<p><strong>Add Event 2</strong></p>
<p><img src="http://res.nodstrum.com/mysqlCalendar/calendarScreenshots/addEvent2.png" /></p>
<p><strong>Downloads</strong></p>
<p><a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=22">MySQL Calendar V1.1 DEMO</a></p>
<p><a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=23">MySQL Calendar v1.1 ZIP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nodstrum.com/2007/06/27/mysql-calendar/feed/</wfw:commentRss>
		<slash:comments>240</slash:comments>
		</item>
		<item>
		<title>Transparency in IE6 and Other Browsers :)</title>
		<link>http://www.nodstrum.com/2007/02/02/csstransparency/</link>
		<comments>http://www.nodstrum.com/2007/02/02/csstransparency/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 10:06:44 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Dev]]></category>

		<guid isPermaLink="false">http://nodstrum.com/2007/02/02/csstransparency/</guid>
		<description><![CDATA[This post will cover backgrounds (for DIVs) and transparent images (.PNGs)
As we ALL know; IE6 poses far too many challenges for designers, resulting in seperate stylesheets and hacks.
I found the need for a transparent background with links on top of it, in Firefox &#38; Safari (and IE7) PNGs are supported, so all worked fine, but [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover backgrounds (for DIVs) and transparent images (.PNGs)</p>
<p>As we ALL know; IE6 poses far too many challenges for designers, resulting in seperate stylesheets and hacks.<br />
I found the need for a transparent background with links on top of it, in Firefox &amp; Safari (and IE7) PNGs are supported, so all worked fine, but when tried with IE6, Yea, there were PROBLEMS! No PNG support and links within the transparent window disappeared.</p>
<p><strong>There are links to the PNGs and Demos at the bottom of the post.</strong></p>
<p>This is the difinitive way to make transparency work with all browsers!</p>
<p><span id="more-14"></span></p>
<p><strong>CSS code for STANDARD supporting browsers (Firefox, Safari).</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<span class="re1">.transparent</span> <span class="br0">&#123;</span><br />
<span class="kw1">position</span>: <span class="kw2">absolute</span>;<br />
<span class="kw1">top</span>: <span class="re3">10px</span>;<br />
<span class="kw1">left</span>: <span class="re3">10px</span>;<br />
<span class="kw1">width</span>: <span class="re3">200px</span>;<br />
<span class="kw1">height</span>: <span class="re3">250px</span>;<br />
<span class="kw1">border</span>: <span class="re3">1px</span> <span class="kw2">solid</span> <span class="re0">#<span class="nu0">000</span></span>;</p>
<p><span class="kw1">background</span>: <span class="kw2">url</span><span class="br0">&#40;</span><span class="st0">&#8216;../images/blackTransparent80.png&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="kw1">z-index</span>: <span class="nu0">1</span>;<br />
<span class="br0">&#125;</span></div>
<p><strong>CSS code for IE6 (hack).</strong> this is put in the style-sheet as well.<br />
(The &#8216;*html&#8217; only works on IE and is ignored by all other browsers.)</p>
<div class="dean_ch" style="white-space: wrap;">*html <span class="re1">.transparent</span> <span class="br0">&#123;</span><br />
<span class="kw1">position</span>: <span class="kw2">absolute</span>;<br />
<span class="kw1">top</span>: <span class="re3">10px</span>;<br />
<span class="kw1">left</span>: <span class="re3">10px</span>;<br />
<span class="kw1">width</span>: <span class="re3">200px</span>;<br />
<span class="kw1">height</span>: <span class="re3">250px</span>;<br />
<span class="kw1">border</span>: <span class="re3">1px</span> <span class="kw2">solid</span> <span class="re0">#<span class="nu0">000</span></span>;</p>
<p><span class="kw1">background</span>: <span class="kw2">none</span>;<br />
filter<span class="re2">:progid</span><span class="re2"> <img src='http://www.nodstrum.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> XImageTransform</span><span class="re1">.Microsoft</span><span class="re1">.AlphaImageLoader</span><span class="br0">&#40;</span>src=<span class="st0">&#8216;images/blackTransparent80.png&#8217;</span>, sizingMethod=<span class="st0">&#8217;scale&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="kw1">z-index</span>: <span class="nu0">1</span>;<br />
<span class="br0">&#125;</span></div>
<p><strong>This code is the code for the DIV</strong></p>
<div class="dean_ch" style="white-space: wrap;">
&lt;p class=&quot;transparent&quot;&gt;<br />
&lt;span style=&quot;position: relative; top: 1px; left: 1px&quot;&gt;<br />
&lt;a href=&quot;http://nodstrum.com&quot;&gt;nodstrum.com&lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;span style=&quot;position: relative; top: 90px; left: 270px&quot;&gt;<br />
&lt;a href=&quot;http://blue44.com&quot;&gt;blue44.com&lt;/a&gt;<br />
&lt;/span&gt;<br />
&lt;span style=&quot;position: relative; top: 200px; left: 70px&quot;&gt;<br />
&lt;a href=&quot;http://teenfirst.com&quot;&gt;teenfirst.com&lt;/a&gt;<br />
&lt;/span&gt;</div>
<p>Here are the links to my pre-made transparent backgrounds and the demos.<br />
<a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=10">Transparency Demo &#8211; White</a><br />
<a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=11">Transparency Demo &#8211; Black</a><br />
<a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=13">White 80% Transparent PNG (1px x 1px)</a><br />
<a href="http://nodstrum.com/wp-content/plugins/DownloadCounter/download.php?id=12">Black 80% Transparent PNG (1px x 1px)</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nodstrum.com/2007/02/02/csstransparency/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
