<?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"
	>

<channel>
	<title>the godking</title>
	<atom:link href="http://the-godking.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://the-godking.com</link>
	<description>Hi! The-godking.com is a weblog with accumulated practical knowledge for webmasters and all those who want to be a webmaster! Feel free with all information shared with You here!</description>
	<pubDate>Thu, 01 Oct 2009 21:19:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>How to create a simple jQuery horizontal accordion</title>
		<link>http://the-godking.com/?p=313</link>
		<comments>http://the-godking.com/?p=313#comments</comments>
		<pubDate>Thu, 14 Aug 2008 20:44:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[JavaScript and jQuery]]></category>

		<category><![CDATA[accordion]]></category>

		<category><![CDATA[horizontal]]></category>

		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=313</guid>
		<description><![CDATA[
If you need to schedule a group event like a meeting try tymelie.com
First off, take a look at the demo (or download):

Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" src="wp-content/demo/horizontalAccordion/horizontalAccordion.js"></script></p>
<div class="clearYellowBox">If you need to schedule a group event like a meeting try <a href="http://www.tymelie.com">tymelie.com</a></div>
<p>First off, take a look at the demo (or <a href="wp-content/demo/horizontalAccordion/horizontalAccordion.zip" class="Tips2" title="get it!">download</a>):</p>
<div id="demofinalAccordion">
<div class="accordion" title="Some lorem ipsum text">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl a arcu. Donec et elit. Etiam ac eros nec metus molestie aliquam. Nullam vestibulum molestie magna. In varius quam in nulla luctus tristique. Nam et eros. Sed vitae sem a velit mattis dapibus. Sed blandit, sapien auctor adipiscing viverra, purus urna fermentum wisi, id luctus tortor augue et ligula. In quis libero. Sed urna arcu, malesuada in, adipiscing vitae, vehicula vitae, magna. Phasellus sit amet nisl at erat aliquet eleifend. Quisque malesuada porta elit. </div>
<div class="accordion" title="That's Panel 2">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl a arcu. Donec et elit. Etiam ac eros nec metus molestie aliquam. Nullam vestibulum molestie magna. In varius quam in nulla luctus tristique. Nam et eros. Sed vitae sem a velit mattis dapibus. Sed blandit, sapien auctor adipiscing viverra, purus urna fermentum wisi, id luctus tortor augue et ligula. In quis libero. Sed urna arcu, malesuada in, adipiscing vitae, vehicula vitae, magna. Phasellus sit amet nisl at erat aliquet eleifend. Quisque malesuada porta elit. Nulla nec orci ac leo posuere eleifend. Aliquam ultrices vulputate velit. Vestibulum vitae ipsum. Vestibulum pede erat, cursus nec, porttitor ac, accumsan ut, neque.</div>
<div class="accordion" title="More random lorem ipsum">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor.  </div>
<div class="accordion" title="And again...">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl a arcu. Donec et elit. Etiam ac eros nec metus molestie aliquam. Nullam vestibulum molestie magna. In varius quam in nulla luctus tristique. Nam et eros. Sed vitae sem a velit mattis dapibus..</div>
<div class="accordion" title="Panel 5">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl a arcu. Donec et elit. Etiam ac eros nec metus molestie aliquam. Nullam vestibulum molestie magna. In varius quam in nulla luctus tristique. Nam et eros. Sed vitae sem a velit mattis dapibus..</div>
<div class="accordion currentAccordionPanel" title="666, the number of the beast!">Lorem ipsum dolor sit amet, consectetur adipisci elit. Nunc ac ante sed ante imperdiet auctor. Fusce dignissim, magna eu feugiat tincidunt, nibh metus tincidunt augue, quis ullamcorper lorem pede a ante. Proin congue nisl a arcu. Donec et elit. Etiam ac eros nec metus molestie aliquam. Nullam vestibulum molestie magna. In varius quam in nulla luctus tristique. Nam et eros. Sed vitae sem a velit mattis dapibus..</div>
<div class="clearBoth"></div>
</div>
<p>&nbsp;<br />
&nbsp;<br />
<strong>So, how to do this?</strong><br />
It&#8217;s easy, all you need is jQuery, a single PHP file and a font (*.ttf / *.otf). First off, we prepare the markup. As we want the whole thing to be as unobtrusive as possible, the markup we&#8217;re going to start with is very simple:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;accordion&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Panel 1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;accordion&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Panel 2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;accordion&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Panel 3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;accordion currentAccordionPanel&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Panel 4&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clearBoth&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre></div></div>

<p>And that&#8217;s our accordion as it&#8217;s interpreted by the browser:</p>
<div id="demo-unstyledAccordion">
<div class="accordion" title="Panel 1">Text</div>
<div class="accordion" title="Panel 2">Text</div>
<div class="accordion" title="Panel 3">Text</div>
<div class="accordion" title="Panel 4">Text</div>
<div class="clearBoth"></div>
</div>
<p>Doesn&#8217;t look too sexy&#8230; but adding some CSS may already do the job:</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #ff00ff;">.accordion</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:<span style="color: #0000ff;">11px</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-family</span><span style="color: #ff00ff;">:</span> Verdana, Arial, Helvetica, <span style="color: #0000ff;">sans-serif</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#EAF3FA</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#EAF3FA</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">200px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">300px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">overflow</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">auto</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.accordionTitle</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #999; font-style: italic;">/* This one will be generated by the jQuery part */</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#72A8CF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span><span style="color: #ff00ff;"><span style="color: #0000ff;">#FFFFFF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#72A8CF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-right</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#FFFFFF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">cursor</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">pointer</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">301px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">overflow</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">auto</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.clearBoth</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">clear</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">both</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span></pre></div></div>

<p>Hey, guess what? - We&#8217;re done with the markup! Now a few lines of jQuery magic and the whole thing is ready to use <img src='http://the-godking.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript">jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> elementToTransform <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;.accordion&quot;</span> <span style="color: #006600; font-style: italic;">// The element we transform into an accordion</span>
	<span style="color: #003366; font-weight: bold;">var</span> accordionTitleCass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;accordionTitle&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> currentClass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;.currentAccordionPanel&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> textRotatePath <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;path/to/rotateText.php&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> bgColor <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;72A8CF&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> fontColor <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;FFFFFF&quot;</span><span style="color: #339933;">;</span>
&nbsp;
	jQuery<span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">before</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;div class=&quot;'</span><span style="color: #339933;">+</span>accordionTitleCass<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot;&gt;&lt;img src=&quot;'</span><span style="color: #339933;">+</span>textRotatePath<span style="color: #339933;">+</span><span style="color: #3366CC;">'?text='</span><span style="color: #339933;">+</span>jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;bgColor='</span><span style="color: #339933;">+</span>bgColor<span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;fontColor='</span><span style="color: #339933;">+</span>fontColor<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; alt=&quot;'</span><span style="color: #339933;">+</span>jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; /&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	jQuery<span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	jQuery<span style="color: #009900;">&#40;</span>currentClass<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	disableAccordion <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.&quot;</span><span style="color: #339933;">+</span>accordionTitleCass<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>disableAccordion <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			disableAccordion <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
			jQuery<span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;:visible&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">400</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">next</span><span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">show</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">400</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				disableAccordion <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>&nbsp;<br />
<strong>What exactly does the code do?</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript">	<span style="color: #003366; font-weight: bold;">var</span> elementToTransform <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;.accordion&quot;</span> <span style="color: #006600; font-style: italic;">// The element we transform into an accordion</span>
	<span style="color: #003366; font-weight: bold;">var</span> accordionTitleCass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;accordionTitle&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> currentClass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;.currentAccordionPanel&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> textRotatePath <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;path/to/rotateText.php&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> bgColor <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;72A8CF&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> fontColor <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;FFFFFF&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Here we define some variables. You&#8217;re allowed to change their values. If you change the first two, don&#8217;t forget to change the CSS too <img src='http://the-godking.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> The last three are used for a PHP script that generates you a 90 degrees rotated text. The first of them is self-explanatory, the last two also - but they should match with the CSS values for &#8220;background-color&#8221; and &#8220;color&#8221; (from &#8220;accordionTitleCass &#8220;, of course).<br />
&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript">jQuery<span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">before</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;div class=&quot;'</span><span style="color: #339933;">+</span>accordionTitleCass<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot;&gt;&lt;img src=&quot;'</span><span style="color: #339933;">+</span>textRotatePath<span style="color: #339933;">+</span><span style="color: #3366CC;">'?text='</span><span style="color: #339933;">+</span>jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;bgColor='</span><span style="color: #339933;">+</span>bgColor<span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;fontColor='</span><span style="color: #339933;">+</span>fontColor<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; alt=&quot;'</span><span style="color: #339933;">+</span>jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; /&gt;&lt;/div&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This one ads the accordion titles to your accordion. (in the example those are the dark blue strips). And it takes the title attribute from each of your accordion panels and converts it into a 90 degrees rotated image containing your text. Nice, isn&#8217;t it?<br />
&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript">	jQuery<span style="color: #009900;">&#40;</span>elementToTransform<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	jQuery<span style="color: #009900;">&#40;</span>currentClass<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>We&#8217;re hiding all panels and then showing the one that has the &#8220;current&#8221; class. If you don&#8217;t wan&#8217;t to show any of the panels as default, just don&#8217;t add such a &#8220;current&#8221; class to none of the panels.<br />
&nbsp;<br />
Ther rest of the code just enables the accordion to slide it&#8217;s panels and isn&#8217;t worth explaining. So yup, we&#8217;ve done it! Our accordion is ready to use <img src='http://the-godking.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Here&#8217;s how it looks:</p>
<div id="demofinalAccordion2">
<div class="accordion" title="Panel 1">Text</div>
<div class="accordion" title="Panel 2">Text</div>
<div class="accordion" title="Panel 3">Text</div>
<div class="accordion currentAccordionPanel" title="Panel 4">Text</div>
<div class="clearBoth"></div>
</div>
<p>&nbsp;<br />
&nbsp;<br />
You can download all the files <a href="wp-content/demo/horizontalAccordion/horizontalAccordion.zip" class="Tips2" title="get it!">here</a>. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=313</wfw:commentRss>
		</item>
		<item>
		<title>jQuery W3C-Validator Icons (Text, whatever) Plugin</title>
		<link>http://the-godking.com/?p=214</link>
		<comments>http://the-godking.com/?p=214#comments</comments>
		<pubDate>Tue, 12 Aug 2008 10:23:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[JavaScript and jQuery]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[validator]]></category>

		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=214</guid>
		<description><![CDATA[


If you see gramatical mistakes please leave me a comment so I can improve
Did you ever created a website that validated according to W3C, placed a &#8220;valid&#8221; Icon / Text on your site and after some days / weeks / months you had to notice that the site became invalid? To me this happens pretty [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" src="wp-content/demo/jquery.w3cValidator/jquery.w3cValidator.js"></script><br />
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery(document).ready(function() {
jQuery("#validHTML").w3cValidator({
	parserLocation: "wp-content/demo/jquery.w3cValidator/w3cValidator.php"
});
});
 //--><!]]&gt; 
</script></p>
<div class="clearYellowBox">If you see gramatical mistakes please leave me a comment so I can improve</div>
<p>Did you ever created a website that validated according to <a href="http://validator.w3.org/" target="_blank">W3C</a>, placed a &#8220;valid&#8221; Icon / Text on your site and after some days / weeks / months you had to notice that the site became invalid? To me this happens pretty often, mainly when I have to create a CMS based website for a customer. Everything validates perfectly until the customer begins to mess it up with his own HTML. Of course the &#8220;valid&#8221; Icon then loses his usefulness.</p>
<p>For a new project I was looking out for a script that would validate the current site in the background and only show a &#8220;valid&#8221; Icon if the <em>current</em> site passed validation. So I searched for such a solution but didn&#8217;t find anything useful and ended up writing it myself.<br />
I came up with a jQuery Plugin that does exactly what I wanted it to do: <strong>it validates the current site (using the <a href="http://validator.w3.org/" target="_blank">online W3C Validator</a>), checks the result and shows then some HTML (&#8221;valid&#8221; Icon, Text or whatever) for both possible results (valid, invalid). </strong></p>
<p>The Plugin consists of a JavaScript file (what you would call the &#8216;plugin&#8217;) and a PHP file. Latter does the validation (URL file access can be disabled, it&#8217;s done with cURL and should work for everyone).<br />
Here&#8217;s how you use the plugin:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#validHTML&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">w3cValidator</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	parserLocation<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;path/to/w3cValidator.php&quot;</span><span style="color: #339933;">,</span>
	URL_isValid<span style="color: #339933;">:</span> <span style="color: #3366CC;">'&lt;a class=&quot;standardLink&quot; href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;valid HTML&lt;/a&gt;'</span><span style="color: #339933;">,</span> <span style="color: #009966; font-style: italic;">/* optional */</span>
	URL_isInvalid<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #009966; font-style: italic;">/* optional */</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And here&#8217;s a demo (take a look at your Firebug console):<br />
<span id="validHTML">This Blog has: </span><br />
&nbsp;<br />
Normally you wouldn&#8217;t tell your visitors that the current site has some errors <img src='http://the-godking.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
To see a site that validates you can go to the <a target="_blank" href="http://tifilebase.org/">this project of mine</a> and take a look at the footer (and here <a target="_blank" href="http://tifilebase.org/index.php?action=program&#038;pid=7">a specific page from the same project</a> that doesn&#8217;t validate).<br />
&nbsp;<br />
Well, I think the plugin is pretty self-explanatory, so I won&#8217;t write a novel about it. If you think you could use it somewhere, just <a href="wp-content/demo/jquery.w3cValidator/w3cValidator.zip">download the two plugin files</a>, upload them to your server, insert the javascript file into you markup</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;path/to/jquery.w3cValidator.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></span></pre></div></div>

<p>call the plugin</p>

<div class="wp_syntax"><div class="code"><pre class="javascript">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#validHTML&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">w3cValidator</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	parserLocation<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;path/to/w3cValidator.php&quot;</span><span style="color: #339933;">,</span>
	URL_isValid<span style="color: #339933;">:</span> <span style="color: #3366CC;">'&lt;a class=&quot;standardLink&quot; href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;valid HTML&lt;/a&gt;'</span><span style="color: #339933;">,</span> <span style="color: #009966; font-style: italic;">/* optional */</span>
	URL_isInvalid<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #009966; font-style: italic;">/* optional */</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>and you&#8217;re done! (But don&#8217;t forget that it is a Plugin and you&#8217;ll need jQuery to use it.)</p>
<p>If you want change the output just stick with &#8220;URL_isValid&#8221; and &#8220;URL_isInvalid&#8221; which are allowed to contain any HTML.<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
<strong>Changelog:</strong><br />
13/Aug/2008 - Minor change to the PHP file. added urlencode();</p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=214</wfw:commentRss>
		</item>
		<item>
		<title>Tooltips with jQuery</title>
		<link>http://the-godking.com/?p=113</link>
		<comments>http://the-godking.com/?p=113#comments</comments>
		<pubDate>Sun, 10 Aug 2008 22:00:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[JavaScript and jQuery]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=113</guid>
		<description><![CDATA[
This is my first article in english. If you find any errors please let me know so I can practice. Thank you!
That said, let&#8217;s come to the article itself. It&#8217;s all about a handy tooltip script based on the famous jQuery framework. Below you&#8217;ll find some examples of what effect can be achieved using it:
 [...]]]></description>
			<content:encoded><![CDATA[<p><script src="wp-content/demo/jqueryTooltip/jqueryTooltip.js" type="text/javascript"></script></p>
<div class="clearYellowBox">This is my first article in english. If you find any errors please let me know so I can practice. Thank you!</div>
<p>That said, let&#8217;s come to the article itself. It&#8217;s all about a handy tooltip script based on the famous jQuery framework. Below you&#8217;ll find some examples of what effect can be achieved using it:</p>
<p> <a class="tooltip" title="This is a basic tooltip, all text on a single line" href="#">Basic tooltip</a><br />
 <a class="tooltip" title="This tooltip has more::than one line" href="#">Tooltip with multiple lines</a><br />
 <a class="tooltip" title="[!]Important![/!]This tooltip has a title!" href="#">Tooltip with title</a><br />
 <a class="tooltip" href="#">Forgot to define the tooltip text (nothing should happen)</a><br />
 <a class="tooltip" title="[img src='http://the-godking.com/wp-content/uploads/2008/08/jquerytooltip.jpg' /]" href="#">Tooltip displaying an image (HTML)</a><br />
 <a class="tooltip" style="text-decoration:underline;" title="[em]You[/em] are currently testing::my tooltip script with::[span style=" href="#">Tooltip with some basic HTML (only inline elements)</a><br />
 <span class="tooltip" title="No need for hyperlinks in order to work">SPAN element with a tooltip</span></p>
<p> I know that there are many tooltip scripts out there, but I couldn&#8217;t find any that would fit my needs, so I wrote my own. It&#8217;s easy to use and implemented within seconds. All you have to do to get it to work is to insert the <a class="tooltip" title="Get it here!" href="wp-content/demo/jqueryTooltip/jqueryTooltip.js" target="_blank">JavaScript file</a> into your site and define some CSS (feel free to change it&#8217;s look and feel)</p>
<p> To be inserted into your site:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;path/to/jqueryTooltip.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #999; font-style: italic;">/* Tooltips */</span>
<span style="color: #ff00ff;">#tooltip</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">position</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">absolute</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">4px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#FFF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">11px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">display</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">none</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">text-align</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">opacity</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0</span><span style="color: #ff00ff;">.<span style="color: #0000ff;">8</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">-moz-</span><span style="color: #000099; font-weight: normal;">opacity</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0</span><span style="color: #ff00ff;">.<span style="color: #0000ff;">8</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">filter</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">alpha</span><span style="color: #ff00ff;">&#40;</span><span style="color: #000099; font-weight: normal;">opacity</span>=<span style="color: #0000ff;">80</span><span style="color: #ff00ff;">&#41;</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.tooltipTitle</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">font-weight</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">bold</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#CEE1EF</span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span></pre></div></div>

<p>You&#8217;re already done! Now just give any element you want to show a tooltip the class &#8220;tooltip&#8221; (this is the default class, change it if you wish in the JavaScript file) and put your tooltip text into the title attribute. Below you&#8217;ll find different examples on how to use the script:</p>
<p><strong>Basic tooltip:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;visit google.com&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></pre></div></div>

<p>» <a class="tooltip" title="visit google.com" href="http://www.google.com">Google</a></p>
<p><strong>Tooltip with multiple lines:</strong><br />
You can force a line wrap by writing a &#8220;::&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;visit google.com::and find what you're looking for&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></pre></div></div>

<p>» <a class="tooltip" title="visit google.com::and find what you're looking for" href="http://www.google.com">Google</a></p>
<p><strong>Tooltip with title</strong><br />
You can define the title by using a BB-Code like Syntax: [!]Text[/!]</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;[!]Important[/!]visit google.com::and find what you're looking for&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></pre></div></div>

<p>» <a class="tooltip" title="[!]Important[/!]visit google.com::and find what you're looking for" href="http://www.google.com">Google</a></p>
<p><strong>Tooltip showing an image</strong><br />
If you want to show an image just use HTML, but replace the &#8220;&lt;&#8221; and &#8220;&gt;&#8221; by &#8220;[" and "]&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;[img src='http://the-godking.com/wp-content/uploads/2008/08/jquerytooltip.jpg' /]&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></pre></div></div>

<p>» <a class="tooltip" title="[img src='http://the-godking.com/wp-content/uploads/2008/08/jquerytooltip.jpg' /]" href="http://www.google.com">Google</a></p>
<p><strong>Tooltip showing basic HTML</strong><br />
If you want to use HTML within you tooltip, just use it, but replace &#8220;&lt;&#8221; and &#8220;&gt;&#8221; by &#8220;[" and "]&#8220;. Please note, that only inline elements are supported.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text-decoration:underline;&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;[!]Important[/!]visit [strong]google.com[/strong]::and [em]find what you're [span style=&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></pre></div></div>

<p>» <a class="tooltip" style="text-decoration:underline;" title="[!]Important[/!]visit [strong]google.com[/strong]::and [em]find what you're [span style=" href="http://www.google.com">Google</a></p>
<p><strong>Tooltip on any element:</strong><br />
You can put tooltips on (almost) any element you wish.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Google is a search engine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/span&gt;</span></span></pre></div></div>

<p>» <span class="tooltip" title="Google is a search engine">Google</span></p>
<p><strong>Feel free to use <a class="tooltip" title="Get it here!" href="wp-content/demo/jqueryTooltip/jqueryTooltip.js" target="_blank">the script</a> on your website. If you have any questions concerning it just ask (please use the comment form below). Have fun!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=113</wfw:commentRss>
		</item>
		<item>
		<title>jQuery Step-By-Step-Wizard</title>
		<link>http://the-godking.com/?p=79</link>
		<comments>http://the-godking.com/?p=79#comments</comments>
		<pubDate>Sat, 09 Aug 2008 21:45:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[JavaScript and jQuery]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[step by step]]></category>

		<category><![CDATA[wizard]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=79</guid>
		<description><![CDATA[

You&#8217;ll find an english summary below
Ein Step-By-Step-Wizard, zu Deutsch &#8220;Schritt für Schritt Editor&#8221; ist eine Darstellungsmittel, um Benutzer Scritt für Schritt durch einen Prozess, zum Beispiel das ausfüllen eines langen Formulares, zu leiten. Der Prozess wird dadurch für den Benutzer vereinfacht und er erhält einen Überblick darüber, in welchen Teil des Prozesses er sich zu [...]]]></description>
			<content:encoded><![CDATA[<p><script src="wp-content/demo/stepByStepWizard/stepByStepWizard.js" type="text/javascript"></script></p>
<div class="stepByStepWizard" title="Was ist ein Step-By-Step-Wizard?">
<div class="clearYellowBox">You&#8217;ll find an english summary below</div>
<p>Ein Step-By-Step-Wizard, zu Deutsch &#8220;Schritt für Schritt Editor&#8221; ist eine Darstellungsmittel, um Benutzer Scritt für Schritt durch einen Prozess, zum Beispiel das ausfüllen eines langen Formulares, zu leiten. Der Prozess wird dadurch für den Benutzer vereinfacht und er erhält einen Überblick darüber, in welchen Teil des Prozesses er sich zu jedem gegebenen Zeitpunkt befindet.<br />
&nbsp;<br />
Besonders praktisch wird ein solcher Step-By-Step-Wizard, wenn er ohne Seitenreload funktioniert, also zum Beispiel in JavaScript implementiert ist. Das hier vorgestellte Script basiert auf dem JavaScript Framework jQuery und erstellt aus einer beliebigen Anzahl Elemente einen &#8220;Schritt für Schritt Editor&#8221;.<br />
&nbsp;<br />
Diesmal agiert der ganze Blog-Eintrag als Demonstration des Scriptes. Das ist der erste Schritt des Step-By-Step-Wizards. Zum nächsten kommst du über die Navigation oben rechts.
</p></div>
<div class="stepByStepWizard" title="Wie funktioniert dieses Script?">
Im Grunde funktioniert das Script, indem du definierst, welches Element zu einem solchen Wizard umgeformt werden soll. In diesem Beispiel handelt es sich um einige DIV&#8217;s mit der Klasse &#8220;stepByStepWizard&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stepByStepWizard&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Text...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre></div></div>

<p>Natürlich können auch einfach alle Paragraphen, Tabellen, Bilder o.Ä umgeformt werden.
</p></div>
<div class="stepByStepWizard" title="Was passiert wenn JavaScript ausgeschaltet ist?">
Wie gesagt, das Script basiert auf jQuery, ist also in JavaScript geschrieben. Jeder Benutzer ist in der Lage in seinem Browser JavaScript auszuschalten, und ca. 12% tun dies auch. Auf das Script hat das aber nur insofern Auswirkungen, als es nicht ausgeführt wird. Teste es doch einfach mal, indem du JavaScript ausschaltest!<br />
&nbsp;<br />
Sämtliches Zusatz-HTML wie die Titelleiste oder die Navigation wird vom Script erstellt. Benutzer ohne JavaScript merken nicht einmal, dass normalerweise ein Wizard vor Ihnen stünde. Die einzelnen Schritte werden dann untereinander angezeigt.
</div>
<div class="stepByStepWizard" title="Was genau kann das Script">
Im Grunde einfach einen Wizard erstellen. Wie du diesen gestaltest bleibt allerdings dir überlassen (CSS). Im Script kannst du ein paar Kleinigkeiten definieren: Umzuwandelndes Element, Startposition, ob vorhergehende Schritte wieder ausgeblendet werden sollen, ob die aktuelle Position angezeigt werden soll, ob die Titel der Schritte angezeigt werden sollen sowie die Texte für &#8220;Schritt 1 von x&#8221; + &#8220;vorwärts&#8221; + &#8220;zurück&#8221;.<br />
&nbsp;<br />
Wenn du weitere Funktionen benötigen solltest kannst du diese sicher leicht selber implementieren.
</div>
<div class="stepByStepWizard" title="Anforderungen">
Damit das Script funktioniert benötigst du sowohl das jQuery Framework wie auch das <a href="wp-content/demo/stepByStepWizard/stepByStepWizard.js" target="_blank" style="text-decoration:underline;">Step-By-Step-Wizard-Script</a>.
</div>
<div class="stepByStepWizard" title="Installation">
Zusätzliches HTML wird keines benötigt (du brauchst natürlich Elemente, die du später umformen kannst.<br />
&nbsp;<br />
1. In der Datei &#8220;stepByStepWizard.js&#8221; die &#8220;User specific variables&#8221; nach eigenen Bedürfnissen anpassen.<br />
&nbsp;<br />
2. JavaScript:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;path/to/stepByStepWizard.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>&nbsp;<br />
3. CSS (nach belieben zu verändern):</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #999; font-style: italic;">/************************************************
*	Step by step wizard			*
************************************************/</span>
<span style="color: #ff00ff;">.floatLeft</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.floatRight</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.clearBoth</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">clear</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">both</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.showCurrentStepNmbrDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span> <span style="color: #0000ff;">double</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-weight</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">bold</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">13px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">5px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;"><span style="color: #0000ff;">90</span>%</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">14px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#CEE1EF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-top</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizard</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">10px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#EAF3FA</span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizardNavigation</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span> <span style="color: #0000ff;">double</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-weight</span><span style="color: #ff00ff;">:</span>  <span style="color: #0000ff;">bold</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">13px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">5px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;"><span style="color: #0000ff;">10</span>%</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">14px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#CEE1EF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-top</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizard_goto</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">20px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.showNavigationLinksForwardDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">cursor</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">pointer</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">15px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.showNavigationLinksBackDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">cursor</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">pointer</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">15px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span></pre></div></div>

</div>
<div class="stepByStepWizard" title="Nutzungsbedingungen">
Du kannst das Script kostenfrei einsetzen und nach deinen Bedürfnissen verändern, solange der Copyright-Hinweis unverändert bleibt. Wenn du Änderungen am Script vornimmst, so füge bitte unter dem Copyright-Hinweis eine Zeile mit deinen Veränderungen ein und vergiss nicht auch deinen Namen zu nennen. Das Script darf verbreitet werden, solange es kostenfrei bleibt.
</div>
<p>&nbsp;<br />
&nbsp;<br />
<strong>English summary:</strong><br />
The script above shows a step by step wizard written with jQuery. It&#8217;s absolute unobtrusive (try it disabling JavaScript) and fully customizable (via CSS). You can use the <a href="wp-content/demo/stepByStepWizard/stepByStepWizard.js" target="_blank">script</a> on you own site. Note that the script itself actually is written in english, so editing it won&#8217;t be big deal.<br />
&nbsp;<br />
If you chose to run the script on your site you need to install it. That&#8217;s done in three simple steps:<br />
First of all you need to insert the above JavaScript file into you website:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;path/to/stepByStepWizard.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>In a second step you&#8217;re going to build the markup for your wizard. You can convert anything into such a wizard, but in this example we&#8217;ll stick with some DIV&#8217;s + a given class (stepByStepWizard). If you want to construct a wizard with three steps, all you have to write is:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stepByStepWizard&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Step 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stepByStepWizard&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Step 2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stepByStepWizard&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Step 3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre></div></div>

<p>&nbsp;<br />
The last thing left to do ist to define some CSS. We&#8217;ll use the CSS for the wizard above, but you can modify it to look like the rest of your site:</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #999; font-style: italic;">/************************************************
*	Step by step wizard			*
************************************************/</span>
<span style="color: #ff00ff;">.floatLeft</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.floatRight</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.clearBoth</span> <span style="color: #ff00ff;">&#123;</span> <span style="color: #000099; font-weight: normal;">clear</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">both</span><span style="color: #ff00ff;">;</span> <span style="color: #ff00ff;">&#125;</span>
<span style="color: #ff00ff;">.showCurrentStepNmbrDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span> <span style="color: #0000ff;">double</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-weight</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">bold</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">13px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">5px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;"><span style="color: #0000ff;">90</span>%</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">14px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#CEE1EF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-top</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizard</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">10px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#EAF3FA</span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizardNavigation</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-bottom</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">3px</span> <span style="color: #0000ff;">double</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-weight</span><span style="color: #ff00ff;">:</span>  <span style="color: #0000ff;">bold</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">13px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">margin</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">0px</span> <span style="color: #0000ff;">5px</span> <span style="color: #0000ff;">0px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;"><span style="color: #0000ff;">10</span>%</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">14px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#CEE1EF</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">border-top</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">999</span></span></span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.stepByStepWizard_goto</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">20px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.showNavigationLinksForwardDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">cursor</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">pointer</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">15px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.showNavigationLinksBackDIV</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">cursor</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">pointer</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">float</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">right</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">15px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span></pre></div></div>

<p>You&#8217;re done! If you wish to change standard texts, starting step or which element should be transformed, open the script and edit the section &#8220;User specific variables&#8221;. If you encounter any problems or have a question just leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=79</wfw:commentRss>
		</item>
		<item>
		<title>Passwortstärke mittels jQuery</title>
		<link>http://the-godking.com/?p=21</link>
		<comments>http://the-godking.com/?p=21#comments</comments>
		<pubDate>Sat, 09 Aug 2008 20:08:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Featured]]></category>

		<category><![CDATA[JavaScript and jQuery]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[password]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[strength]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=21</guid>
		<description><![CDATA[ 
Ein Bild sagt bekanntlich mehr als tausend Worte, also wozu lange um den heissen Brei schreiben; mache dir anhand der kleinen Demo unterhalb dieses Textes einen ersten Eindruck des Scriptes.



Mindestens 6 Zeichen. Und sei kreativ!


Alle technisch forcierten User sind angehalten sich im Quelltext des Blogs an den entsprechenden Dateien zu bedienen. Das Script kann [...]]]></description>
			<content:encoded><![CDATA[<p><script src="wp-content/demo/passwordStrength/passwordStrength.js" type="text/javascript"></script> <script type="text/javascript"><!--
jQuery(document).ready(function() {
jQuery('#password_r').keyup(function(){ jQuery('#result').html(passwordStrength(jQuery('#password_r').val())) });
});
// --></script></p>
<p>Ein Bild sagt bekanntlich mehr als tausend Worte, also wozu lange um den heissen Brei schreiben; mache dir anhand der kleinen Demo unterhalb dieses Textes einen ersten Eindruck des Scriptes.</p>
<div class="clearBlueBox">
<input id="password_r" class="textInput" style="width: 282px;" name="password_r" type="password" />
<div id="result">
<div class="graph"><span id="gesamt" class="bar minifont minifont" style="background: transparent none repeat scroll 0% 0%; width: 100%;">Mindestens 6 Zeichen. Und sei kreativ!</span></div>
</div>
</div>
<p><strong>Alle technisch forcierten User sind angehalten sich im Quelltext des Blogs an den entsprechenden Dateien zu bedienen. Das Script kann frei verwendet werden, Nennung des Autors ist nicht erforderlich. Alle anderen mögen weiterlesen.</strong><br />
&nbsp;<br />
<span style="text-decoration:underline;">Voraussetzungen</span><br />
stellt der Passwortstärke-Indikator beinahe keine. Einzig das JavaScript Framework jQuery wird benötigt, da das Script auf dessen Basis erstellt ist.<br />
&nbsp;<br />
<span style="text-decoration:underline;">Erforderliche Dateien</span></p>
<ol>
<li> Neben dem jQuery Framework das eigentliche <a title="Hier downloaden" href="wp-content/demo/passwordStrength/passwordStrength.js">Passwortstärke-Script</a></li>
<li>Ein paar Zeilen CSS</li>
<li>Eine einzige Grafik (z.B <a href="http://www.vistabob.ch/Data/design/img/layout/bar.jpg" target="_blank">der oben verwendete Graph</a>)</li>
</ol>
<p>&nbsp;<br />
<span style="text-decoration:underline;">Installation</span><br />
HTML:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;password_r&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;textInput&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;width: 282px;&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;myInput&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;password&quot;</span> <span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;result&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;graph&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;span</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gesamt&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bar minifont&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;background: transparent none repeat scroll 0% 0%; width: 100%;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Mindestens 6 Zeichen. Und sei kreativ!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/span&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre></div></div>

<p>JavaScript:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;wp-content/demo/passwordStrength/passwordStrength.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>
jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #006600;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#password_r'</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">keyup</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#result'</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">html</span><span style="color: #009900;">&#40;</span>passwordStrength<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#password_r'</span><span style="color: #009900;">&#41;</span>.<span style="color: #006600;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// --&gt;&lt;/script&gt;</span></pre></div></div>

<p>CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #ff00ff;">.minifont</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">font-size</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">10px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#<span style="color: #0000ff;">000</span></span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">line-height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1em</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #999; font-style: italic;">/* PasswordStrength */</span>
<span style="color: #ff00ff;">.graph</span> <span style="color: #ff00ff;">&#123;</span> 
	<span style="color: #000099; font-weight: normal;">position</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">relative</span><span style="color: #ff00ff;">;</span> <span style="color: #999; font-style: italic;">/* IE */</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;"><span style="color: #0000ff;">100</span>%</span><span style="color: #ff00ff;">;</span> 
	<span style="color: #000099; font-weight: normal;">border</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1px</span> <span style="color: #0000ff;">solid</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#FFF</span></span><span style="color: #ff00ff;">;</span> 
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">278px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">padding</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">2px</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.graph</span> <span style="color: #ff00ff;">.bar</span> <span style="color: #ff00ff;">&#123;</span> 
	<span style="color: #000099; font-weight: normal;">display</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">block</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">position</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">relative</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background-color</span><span style="color: #ff00ff;">:</span> <span style="color: #ff00ff;"><span style="color: #0000ff;">#fff</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">background</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">url</span><span style="color: #ff00ff;">&#40;</span><span style="color: #0000ff;">path/to/bar<span style="color: #ff00ff;"><span style="color: #0000ff;">.jpg</span></span></span><span style="color: #ff00ff;">&#41;</span> <span style="color: #0000ff;">repeat-y</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">opacity</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0</span><span style="color: #ff00ff;">.<span style="color: #0000ff;">70</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">filter</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">alpha</span><span style="color: #ff00ff;">&#40;</span><span style="color: #000099; font-weight: normal;">opacity</span>=<span style="color: #0000ff;">70</span><span style="color: #ff00ff;">&#41;</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">-moz-</span><span style="color: #000099; font-weight: normal;">opacity</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0</span><span style="color: #ff00ff;">.<span style="color: #0000ff;">7</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">-khtml-</span><span style="color: #000099; font-weight: normal;">opacity</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">0</span><span style="color: #ff00ff;">.<span style="color: #0000ff;">7</span></span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">text-align</span><span style="color: #ff00ff;">:</span> <span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">;</span> 
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">11px</span><span style="color: #ff00ff;">;</span> 
<span style="color: #ff00ff;">&#125;</span>
&nbsp;
<span style="color: #ff00ff;">.graph</span> <span style="color: #ff00ff;">.bar</span> <span style="color: #ff00ff;">span</span> <span style="color: #ff00ff;">&#123;</span> 
	<span style="color: #000099; font-weight: normal;">position</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">absolute</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">left</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">1em</span><span style="color: #ff00ff;">;</span> 
<span style="color: #ff00ff;">&#125;</span></pre></div></div>

<p>&nbsp;<br />
<span style="text-decoration:underline;">Nutzungsbedingungen</span><br />
Es gibt keine. Mach mit dem Script was immer du willst; verwende, verändere und verbreite es, wie dir beliebt. Nennung des Autors ist nicht nötig.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>Google AdSense mit beliebiger Bannergrösse.</title>
		<link>http://the-godking.com/?p=6</link>
		<comments>http://the-godking.com/?p=6#comments</comments>
		<pubDate>Sat, 09 Aug 2008 15:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Design &amp; CSS]]></category>

		<category><![CDATA[adsense]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">http://the-godking.com/?p=6</guid>
		<description><![CDATA[Wer sich bereits einmal mit AdSense beschäftigt hat, der hat wahrscheinlich festgestellt, dass nur eine sehr beschränkte Anzahl verschiedener Bannergrössen zur Verfügung steht. Oftmals wird aber irgend eine Grösse vorausgesetzt, die nicht angeboten wird., zum Beispiel 175 x 265 Pixel. Ein klein wenig CSS kann hier Abhilfe schaffen und ermöglicht komplett individuelle Anzeigeblöcke!]]></description>
			<content:encoded><![CDATA[<p><a title="Google AdSense Startseite" href="https://www.google.com/adsense" target="_blank">Google Adsense</a> ist den meisten wohl ein Begriff. Das System erlaubt es Webmastern, von Google verwaltete Werbung auf Ihrer Webseite einzubinden um im besten Fall Geld zu verdienen.</p>
<p>Wer sich bereits einmal mit AdSense beschäftigt hat, der hat wahrscheinlich festgestellt, dass nur eine sehr beschränkte Anzahl verschiedener Bannergrössen zur Verfügung steht. Oftmals wird aber irgend eine Grösse vorausgesetzt, die nicht angeboten wird., zum Beispiel 175 x 265 Pixel. Ein klein wenig CSS kann hier Abhilfe schaffen und ermöglicht komplett individuelle Anzeigeblöcke!</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #ff00ff;">.bannerBox</span> <span style="color: #ff00ff;">&#123;</span>
	<span style="color: #000099; font-weight: normal;">height</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">265px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">width</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">175px</span><span style="color: #ff00ff;">;</span>
	<span style="color: #000099; font-weight: normal;">overflow</span><span style="color: #ff00ff;">:</span> <span style="color: #0000ff;">hidden</span><span style="color: #ff00ff;">;</span>
<span style="color: #ff00ff;">&#125;</span></pre></div></div>

<div style="margin: 10px 10px 10px 0px; padding: 0px 0px 5px 5px; overflow: hidden; height: 265px; width: 175px; background-color: #ebf2f5; float: left;"><script type="text/javascript"><!--
google_ad_client = "pub-2375728965301612";
google_ad_slot = "1581122020";
google_ad_width = 160;
google_ad_height = 600;
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></div>
<p>Wie man am Beispiel zur Linken dieses Textes sehen kann, funktioniert der kleine CSS-Trick einwandfrei. Es handelt sich in Wirklichkeit um einen Banner der Grösse 160 x 600 Pixel, der im Grunde nach unten abgeschnitten wird. Dazu wird in einem ersten Schritt eine Element gebildet, in dem der gewüsnchte Anzeigeblockspäter angezeigt werden soll. (siehe obiges CSS). Diesem Element werden die Masse des gewünschten Anzeigeblocks gegeben z.B 175 x 265 Pixel) und die CSS-Eigenschaft &#8220;overflow:hidden;&#8221; gesetzt.</p>
<p>Diese Eigenschaft sorgt dafür, dass der überschüssige Teil des Anzeigeblockes, also der Teil der nicht mehr in die dafür vorgesehene Box hineinpasst, ausgeblendet wird. Wie man sehen kann behindert dies den sichtbaren Teil des Anzeigeblockes nicht in seiner Funktionalität, es braucht sich also niemand um seine Einnahmen zu fürchten.</p>
<p>Obwohl in diesem Beispiel nur eine Grösse (175 x 265 Pixel) behandelt wird,  funktioniert es naturgemäss mit ziemlich allen Grössen.</p>
]]></content:encoded>
			<wfw:commentRss>http://the-godking.com/?feed=rss2&amp;p=6</wfw:commentRss>
		</item>
	</channel>
</rss>
