<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Devolux 2010</title>
	<atom:link href="http://devolux.nh2.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://devolux.nh2.me</link>
	<description>WordPress resource</description>
	<lastBuildDate>Sat, 04 Sep 2010 09:24:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>jQ 3.5 released</title>
		<link>http://devolux.nh2.me/2010/08/jq-3-5-released/</link>
		<comments>http://devolux.nh2.me/2010/08/jq-3-5-released/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:11:15 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[WP Themes]]></category>
		<category><![CDATA[jQ]]></category>
		<category><![CDATA[WebDesign]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.nh2.me/?p=441</guid>
		<description><![CDATA[After a long period of absence over the summer, I have finally released the newest version of the jQ theme. It has now more options than before, including several fields that allow the adjustment of the text layout (fonts &#038; colours). I will soon add more fonts to choose. If you have some suggestions, please let me know.]]></description>
			<content:encoded><![CDATA[<p>After a long period of absence over the summer, I have finally released the newest version of the jQ theme. It has now more options than before, including several fields that allow the adjustment of the text layout (fonts &amp; colours). I will soon add more fonts to choose. If you have some suggestions, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2010/08/jq-3-5-released/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>On Fonts</title>
		<link>http://devolux.nh2.me/2010/03/favorite-fonts/</link>
		<comments>http://devolux.nh2.me/2010/03/favorite-fonts/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 15:11:44 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[WebDesign]]></category>

		<guid isPermaLink="false">http://devolux.nh2.me/?p=387</guid>
		<description><![CDATA[I have changed the default font of the jQ theme options from "Sans-Serif" (which was mainly Helvetica) to "Serif" (which is Georgia). While I much prefer serif fonts - and especially Georgia - I always had a sans-serif font in the default styles of my themes because I believe that most people rather like fonts such as these. This used to be Verdana and later Helvetica.]]></description>
			<content:encoded><![CDATA[<p>I have changed the default font of the jQ theme options from &#8220;Sans-Serif&#8221; (which was mainly Helvetica) to &#8220;Serif&#8221; (which is Georgia). While I much prefer serif fonts &#8211; and especially Georgia &#8211; I&#8217;ve always had a sans-serif font in the default styles of my themes because I believe that most people rather like fonts such as these. This used to be Verdana and later Helvetica.</p>
<p style="font-family: Georgia;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Georgia)</p>
<p style="font-family: Times;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Times)</p>
<p style="font-family: Bookman;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Bookman)</p>
<p style="font-family: Helvetica;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Helvetica)</p>
<p style="font-family: Verdana;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Verdana)</p>
<p style="font-family: Arial;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Arial)</p>
<p style="font-family: Monospace;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Monospce)</p>
<p style="font-family: Comic Sans, Comic Sans MS;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Comic Sans)</p>
<p style="font-family: Courier;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Courier)</p>
<p style="font-family: Impact;border-bottom: 1px dotted #ccc;">What is your opinion on that? And which fonts do you prefer? (Impact)</p>
<p>As you can see, this is not only a question of personal liking but also  of technical concern regarding font sizes. And there&#8217;s one more thing important to me when styling texts: the line height, adjustable with the CSS property <em>line-height</em>. I usually use a value of 2.0. This is the double default value! I think that makes text much more comfortable to be read. And it also looks better since it gives free space to the appearance of a page.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2010/03/favorite-fonts/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>jQ 3.0 coming</title>
		<link>http://devolux.nh2.me/2010/02/jq-3-0-coming/</link>
		<comments>http://devolux.nh2.me/2010/02/jq-3-0-coming/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 14:39:31 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WP Themes]]></category>
		<category><![CDATA[WebDesign]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.nh2.me/?p=372</guid>
		<description><![CDATA[After the theme was down for some time over the turn of the year, it is now back on the featured list on WordPress.org in version 2.9. While there haven't been many new features since version 2.4, the next version 3.0 is subject to rather big changes.]]></description>
			<content:encoded><![CDATA[<p>After the theme was down for some time over the turn of the year, it is now back on the featured list on <a href="http://wordpress.org">WordPress.org</a> in version 2.9. While there haven&#8217;t been many new features since version 2.4, the next version 3.0 is subject to  rather big changes. I already have introduced threaded comments (<a href="http://devolux.nh2.me/dev/?p=188">have a look</a>) and compressed the header image from 300 KB to 3o KB. Also I plan to go through the entire code and to delete all lines which have become unnecessary over time.</p>
<p>jQ ideas:</p>
<ul>
<li>removing of the green template</li>
<li>a smooth shadow for the outline</li>
<li>new toggle arrows</li>
<li>more&#8230;?</li>
</ul>
<p>Future versions of the jQ theme might as well include these features:</p>
<ul>
<li>a jQuery supported content slider</li>
<li>an option to adjust the font size from the back-end</li>
<li>the possibility to include a custom header image</li>
<li>multiple sidebars</li>
</ul>
<p>All that is to come at the earliest in version 3.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2010/02/jq-3-0-coming/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>The site&#8217;s back</title>
		<link>http://devolux.nh2.me/2010/02/the-sites-back/</link>
		<comments>http://devolux.nh2.me/2010/02/the-sites-back/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 14:10:37 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WebDesign]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=362</guid>
		<description><![CDATA[Hi everybody,

the website is back after after a long period of  displaying nothing but empty screen. Though the content is available again I'm not sure about my future activity on this blog and on developing WordPress themes in general. However, this will figure out soon and the support for the already existing themes will be continued anyway.]]></description>
			<content:encoded><![CDATA[<p>Hi everybody,</p>
<p>the website is back after after a long period of  displaying nothing but empty screen. Though the content is available again I&#8217;m not sure about my future activity on this blog and on developing WordPress themes in general. However, this will figure out soon and the support for the already existing themes will be continued anyway.</p>
<p>For me there are two possibilities: either I invent a whole new concept for a third theme which I will in that case start up all from the bottom &#8211; or I reduce my work concerning web design on the mere support of my existing work in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2010/02/the-sites-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Transforming jQ index pages</title>
		<link>http://devolux.nh2.me/2009/10/jq-index-pages/</link>
		<comments>http://devolux.nh2.me/2009/10/jq-index-pages/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 18:13:57 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[WP Code]]></category>
		<category><![CDATA[WP Themes]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQ]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=312</guid>
		<description><![CDATA[If you want to transform jQ in a way that only the post headings are displayed on index pages, there's a very easy method to achieve this. ]]></description>
			<content:encoded><![CDATA[<p>If you want to transform jQ in a way that only the post headings are displayed on index pages, there&#8217;s a very easy method to achieve this. The one thing you have to do is editing the file <em>theme.js</em> which is located in <em>/wp-content/themes/jQ/lib/js/</em>.</p>
<h3>Replace the code inside the file with the following:</h3>
<pre name="code" class="js">

$(document).ready(function(){

//Superfish menu
$(&quot;ul.sf-menu&quot;).supersubs().superfish(
{
delay:       1000,                            // one second delay on mouseout
animation:   {opacity:&#039;show&#039;},  // fade-in and slide-down animation
speed:       &#039;normal&#039;,                          // faster animation speed
autoArrows:  false,                           // disable generation of arrow mark-up
dropShadows: false                            // disable drop shadows
}
);

//Toggle functions
$(&quot;.excerpt&quot;).hide();
$(&quot;.hide-excerpt&quot;).click(function (event) {
event.preventDefault();
$(this).parents(&quot;.excerpt&quot;).hide(&quot;normal&quot;);
});

$(&quot;.view-excerpt&quot;).toggle(
function(){
$(this).parents(&quot;.headline&quot;).next(&quot;.excerpt&quot;).show(&quot;normal&quot;);
}, function() {
$(this).parents(&quot;.headline&quot;).next(&quot;.excerpt&quot;).hide(&quot;normal&quot;);
});

$(&quot;#toggle-all&quot;).toggle(
function(){
$(&quot;.excerpt&quot;).show(&#039;slow&#039;);
$(&quot;#toggle&quot;).attr(&quot;class&quot;,&quot;show-all&quot;);
}, function() {
$(&quot;.excerpt&quot;).hide(&#039;slow&#039;);
$(&quot;#toggle&quot;).attr(&quot;class&quot;,&quot;hide-all&quot;);
});
});
</pre>
<p>This hides all post content by default. It also switches the controls, so that you can show the post content properly by clicking, instead of hiding it when it is hidden anyway.</p>
<p>Now, there&#8217;s just one thing left to do. Go to your sidebar.php file. In <em>line 2</em> you will find the following:</p>
<pre name="code" class="php">

&lt;p id=&quot;toggle-all&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;toggle&quot; class=&quot;hide-all&quot;&gt;Toggle posts&lt;/a&gt;&lt;/p&gt;
</pre>
<h3>Replace <em>line 2</em> with this:</h3>
<pre name="code" class="php">

&lt;p id=&quot;toggle-all&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;toggle&quot; class=&quot;show-all&quot;&gt;Toggle posts&lt;/a&gt;&lt;/p&gt;
</pre>
<p>The new line will effect the image of the &#8220;toggle-all&#8221; link on top of the sidebar. Now you see &#8220;+&#8221; instead of &#8220;-&#8221; when loading the page. That&#8217;s it, the appearence of the theme should have changed. One further note: I consider it reasonable to offer the user at least some content of a web page directly. To show the content of the first post of your index (while of course keeping the others hidden), add this</p>
<pre name="code" class="js">

$(&quot;.excerpt:first&quot;).show();
</pre>
<p>to your theme.js, right after:</p>
<pre name="code" class="js">

$(&quot;.excerpt&quot;).hide();
</pre>
<p>Anything else to mention?</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/10/jq-index-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQ featured on WordPress.org</title>
		<link>http://devolux.nh2.me/2009/10/jq-featured-on-wordpress-org/</link>
		<comments>http://devolux.nh2.me/2009/10/jq-featured-on-wordpress-org/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:36:47 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[WP Themes]]></category>
		<category><![CDATA[jQ]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[WebDesign]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=298</guid>
		<description><![CDATA[I am glad to announce that my second WordPress theme has been included to the featured theme list on WordPress.org. This is a great success and a new motivation to continue my OpenSource work.]]></description>
			<content:encoded><![CDATA[<p>I am glad to announce that my second WordPress theme has been included to the featured theme list on <a href="http://wordpress.org/extend/themes/">WordPress.org</a>. This is a great success and a new motivation to continue my OpenSource work. My current projects are:</p>
<ul>
<li>Collecting bug information and updating jQ for version 2.0 which will be released soon.</li>
<li>PressThis, my newest theme with some cool new functions.</li>
</ul>
<p>I hope you will enjoy all that&#8217;s coming in the future. Please note that I&#8217;m glad for every comment which helps me to improve my work!</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/10/jq-featured-on-wordpress-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-Plugin: jQuery Font Scaling</title>
		<link>http://devolux.nh2.me/2009/08/fontresizer/</link>
		<comments>http://devolux.nh2.me/2009/08/fontresizer/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 16:38:37 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[WP Code]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=266</guid>
		<description><![CDATA[The plugin is a jQuery supported fontscaling script that offers three links to change the font size of your WordPress web-log.]]></description>
			<content:encoded><![CDATA[<h2>Description</h2>
<p>The plug-in offers three links to change the font size of your blog. They can be inserted anywhere on your website by including a simple PHP-function (-&gt; <em>Installation</em>). These links change the font size value of the most outward html element of the page: the body element. All values of the elements inside the html body must therefore have relative font size values. Only text that you want not to change its font size at all must have an absolute value.</p>
<p>Here is an example for better understanding: The default font size value of the body element must be set to &#8220;10px&#8221; (-&gt; <em>Installation</em>). By clicking the &#8220;A+&#8221;-link this value will be set to &#8220;11px&#8221;. All elements with <em>relative</em> font size values like</p>
<pre name="code" class="css">

p {font-size: 100%;}
</pre>
<p>will then be automatically adjusted to the new top-level font size. In this case the font size of a &#8220;p&#8221;-element will switch from 10px (100% of 10px = 10px) to 11px (100% of 11px = 11px). Font size values of other elements will change likewise (a value of 120% will result in a new font size of 13.2px).<br />
<strong>Important: </strong>Relative font size values are calculated from the <em>direct</em> parent element. This means: An element B which has a 100% font size and which lays inside an element A that has a 120% font size will have the font size values of the element A (12px/13.2px), not the values calculated in proportion to the body element (10px/11px).</p>
<h2>Installation</h2>
<p>1. Upload the plug-in to the &#8220;/wp-content/plugins/&#8221; directory.</p>
<p>2. Activate the plug-in through the &#8220;Plug-ins&#8221; menu in WordPress.</p>
<p>3. Place &#8220;&lt;?php resize_links(); ?&gt;&#8221; in one of your templates to provide the scaling links on your website.</p>
<p>4. Go to your style.css file and assign a font size of 10px to the body element of your website: &#8220;body {font-size: 10px;}&#8221;.</p>
<p>5. This is the most <em>important</em> step: All other font size values in your style sheets must be <em>relative</em> values. Only elements with text that you want not to change its font size at all must have an absolute value.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/08/fontresizer/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Automatic Post Thumb</title>
		<link>http://devolux.nh2.me/2009/05/post-thumb/</link>
		<comments>http://devolux.nh2.me/2009/05/post-thumb/#comments</comments>
		<pubDate>Sat, 02 May 2009 15:43:34 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=203</guid>
		<description><![CDATA["Automatic Post Thumb" is a WordPress plugin that generates a thumbnail from the first image uploaded to a post. Download available at WordPress.org.]]></description>
			<content:encoded><![CDATA[<h2>Description</h2>
<p>The plug-in extracts the first image uploaded to a WordPress post by using a simple database query. Please note that the database order of the images is not influenced by the way you order your images in a post. The first image uploaded will remain the thumbnail, even if you place it at the end of your article. If you delete the first image, the second one will take its position. If no image at all is added to a post, the plug-in delivers a default image (a white WordPress logo with light grey background).</p>
<p>The title of the thumbnail is generated out of the post title. You can insert the image anywhere in your theme inside the wp-loop by adding a template tag to the source code. Please be aware that the plug-in does not scale or crop the images. It simply delivers the html tag. The styling is intended to be solved via CSS (-&gt; <em>Installation</em>).</p>
<h2>Installation</h2>
<p>1. Upload &#8220;post_thumb&#8221; to the <code>/wp-content/plugins/</code> directory</p>
<p>2. Activate the plugin through the &#8220;Plugins&#8221; menu in WordPress</p>
<p>3. Place <code>&lt;?php post_thumb(); ?&gt;</code> inside the wp-loop of your template, where ever you want the thumbnail to appear.</p>
<p>4. A nice way to use this plugin is to link the images to the post by wrapping the plugin template tag into the post URL:</p>
<pre name="code" class="php">

&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php post_thumb(); ?&gt;&lt;/a&gt;
</pre>
<p>5. Adjust display and image size using CSS. The plugin renounces on resizing the thumbnail because this can be done easily inside your style.css. You can use it at any place of your theme by giving it a <code>max-width</code> value. The height will automatically be adjusted and, in the case that the image is more narrow than the <code>max-width</code>, it will keep its original dimensions.</p>
<h2>Download</h2>
<p><a href="http://wordpress.org/extend/plugins/automatic-post-thumb/">Automatic Post Thumb plug-in</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/05/post-thumb/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Custom Text if no tags are available</title>
		<link>http://devolux.nh2.me/2009/04/custom-text-for-no-tags/</link>
		<comments>http://devolux.nh2.me/2009/04/custom-text-for-no-tags/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 19:21:57 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[WP Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=188</guid>
		<description><![CDATA[I have just worked out a way to dislpay a custom piece of text for a wordpress post which has no tags assigned to it.]]></description>
			<content:encoded><![CDATA[<p>Just insert the following code to one of your WP templates:</p>
<pre name="code" class="php">

&lt;?php
$tag = get_the_tags();
if (! $tag)
{
echo &quot;No tags&quot;;
}
else
{
the_tags(&#039;Tags: &#039;, &#039;, &#039;, &#039;&#039;);
}
?&gt;
</pre>
<p>This prints &#8220;No tags&#8221; where ever you want it.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/04/custom-text-for-no-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery font scaling</title>
		<link>http://devolux.nh2.me/2009/03/jquery-font-resizer/</link>
		<comments>http://devolux.nh2.me/2009/03/jquery-font-resizer/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 22:00:14 +0000</pubDate>
		<dc:creator>Devolux</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://devolux.org/?p=155</guid>
		<description><![CDATA[I have just invented a simple but nicely working jQuery font scaling programme. I intend to create a jQuery and a WordPress plug-in from it.]]></description>
			<content:encoded><![CDATA[<p>Required are the jQuery core and the jQuery plug-in &#8220;COOKIE&#8221;. Here you see the font scaling jQuery code:</p>
<pre name="code" class="js">

$(document).ready(function(){

$(&quot;#small&quot;).click(function(event){
event.preventDefault();
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;8px&quot;);
$.cookie(&quot;fontSize&quot;,&quot;8px&quot;);
});

$(&quot;#default&quot;).click(function(event){
event.preventDefault();
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;10px&quot;);
$.cookie(&quot;fontSize&quot;,&quot;10px&quot;);
});

$(&quot;#large&quot;).click(function(event){
event.preventDefault();
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;12px&quot;);
$.cookie(&quot;fontSize&quot;,&quot;12px&quot;);
});

// Cookie
var fontSize = $.cookie(&quot;fontSize&quot;);

// Calling Cookie
if(fontSize == &quot;8px&quot;) {
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;8px&quot;);
};

if(fontSize == &quot;10px&quot;) {
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;10px&quot;);
};

if(fontSize == &quot;12px&quot;) {
$(&quot;#page&quot;).css(&quot;font-size&quot;,&quot;12px&quot;);
};

});
</pre>
<p>In addition, the font scaling affects two other files of your website. You must insert three links into your html document, just as it is done here:</p>
<pre name="code" class="html">

&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Font Scaling&lt;/title&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;fontResizer.css&quot; type=&quot;text/css&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1-3-2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;cookies.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;fontResizer.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;page&quot;&gt;
&lt;p&gt;
&lt;a id=&quot;small&quot; href=&quot;http://jquery.com/&quot;&gt;small&lt;/a&gt;
&lt;a id=&quot;default&quot; href=&quot;http://jquery.com/&quot;&gt;default&lt;/a&gt;
&lt;a id=&quot;large&quot; href=&quot;http://jquery.com/&quot;&gt;large&lt;/a&gt;
&lt;/p&gt;

&lt;div id=&quot;content&quot;&gt;
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
&lt;p id=&quot;test&quot;&gt;Duis autem vel eum iriure dolor in hendrerit&lt;/p&gt; in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.
Consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Finally, it is essential that only the outward element of your document owns an absolute CSS font size. All elements inside it must obtain <em>relative</em> font sizes. These will be in relation to the value set in the outward container. Have a look at the following CSS:</p>
<pre name="code" class="css">

div#page
{font: normal 10px Verdana;}

a
{font-size: 110%;}

div#content
{font-size: 120%;}
</pre>
<p>This will result in an 11px font size for all a-element and a 12px font size for divs. That&#8217;s it. I hope you will enjoy it.</p>
<p><strong>Note: </strong>If you should use this code on your homepage I&#8217;d be very graceful for creating also a link to my website.</p>
]]></content:encoded>
			<wfw:commentRss>http://devolux.nh2.me/2009/03/jquery-font-resizer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

