<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Javascript - text resize</title>
	<link>http://nicusor.com/programming-stuff/javascript-text-resize/</link>
	<description>My little place from infinity</description>
	<pubDate>Fri, 30 Jul 2010 07:17:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Javascript - text resize with cookie &#124; Nicusor Cheles - Blog personal</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-60</link>
		<author>Javascript - text resize with cookie &#124; Nicusor Cheles - Blog personal</author>
		<pubDate>Sat, 14 Jul 2007 18:24:08 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-60</guid>
					<description>[...] was telling you in a previous article - Javascript - text resize - how you can give your site’s visitors the possibility to see your page’s content at different [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] was telling you in a previous article - Javascript - text resize - how you can give your site’s visitors the possibility to see your page’s content at different [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jeff</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-228</link>
		<author>Jeff</author>
		<pubDate>Tue, 23 Oct 2007 12:14:02 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-228</guid>
					<description>Surprised to still see code like this being written in 2007.

There is no such thing as a javascript: protocol to use in links. Click event handlers should be used instead. Event handlers should be added in the script itself, not hard coded into the HTML. In fact, given that this solution won't work without javascript, the links should also be generated in script, so if someone visits the page without javascript turned on, they don't see links that effectively do nothing for them.

Or even better, (link removed) teach people how to do it themselves.</description>
		<content:encoded><![CDATA[<p>Surprised to still see code like this being written in 2007.</p>
<p>There is no such thing as a javascript: protocol to use in links. Click event handlers should be used instead. Event handlers should be added in the script itself, not hard coded into the HTML. In fact, given that this solution won&#8217;t work without javascript, the links should also be generated in script, so if someone visits the page without javascript turned on, they don&#8217;t see links that effectively do nothing for them.</p>
<p>Or even better, (link removed) teach people how to do it themselves.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nicusor</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-232</link>
		<author>nicusor</author>
		<pubDate>Wed, 24 Oct 2007 14:14:18 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-232</guid>
					<description>I didn't quite understand your reaction to my post, but I'm going to answer you mindless of it.

I don't know your level of expertize in this matter, but I do know that javscript: can be used in href attribute of a link tag, although it's better to use DOM events instead. 

If the javascript is disabled, that piece of code / function will not be executed no matter where you put it...

Of course, I could've been more careful about how the result displays, but my main intention was to show you the code itself, rather than giving you an out of the box solution. 

Also, this post is for programmers, so a link to a page where people can learn  how to change the text size for their browser has nothing to do with this subject. 

Finally, go to &lt;a href="http://www.google.ro/ig" target="_blank" rel="nofollow"&gt;iGoogle&lt;/a&gt; and search href="javascript: into the source code - you'll be surprised! ;)</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t quite understand your reaction to my post, but I&#8217;m going to answer you mindless of it.</p>
<p>I don&#8217;t know your level of expertize in this matter, but I do know that javscript: can be used in href attribute of a link tag, although it&#8217;s better to use DOM events instead. </p>
<p>If the javascript is disabled, that piece of code / function will not be executed no matter where you put it&#8230;</p>
<p>Of course, I could&#8217;ve been more careful about how the result displays, but my main intention was to show you the code itself, rather than giving you an out of the box solution. </p>
<p>Also, this post is for programmers, so a link to a page where people can learn  how to change the text size for their browser has nothing to do with this subject. </p>
<p>Finally, go to <a href="http://www.google.ro/ig" target="_blank" rel="nofollow">iGoogle</a> and search href=&#8221;javascript: into the source code - you&#8217;ll be surprised! <img src='http://nicusor.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mag Leahy</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-255</link>
		<author>Mag Leahy</author>
		<pubDate>Fri, 02 Nov 2007 10:37:21 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-255</guid>
					<description>Hello Nickoo, 

It's an interesting idea this JS text size changer but I have to say I do not recommend it's usage coming from an accessibility point of view. 

A few things:

1. IE7 and Opera for example, have their own "page zoom" functionality and it seems to work really well. In these cases the text increase by JS makes the page look less good that these browsers would (though IE7 also has text zoom built in as well as "page zoom"). The rest have their own inbuilt text increase functionality already which is not JS dependant. 

2. Most of the people who will rely on text zoom will know the browser text changer/page zoomer shortcut keys because they need to, or will have a special "zoomer viewer".

3. Anything that relies on js and can be avoided in my opinion is better for  accessibility. 

Anyway I know this is not the point of this page, it is simply to share the js code for text change. Just wanted to give you some food for thought. 

Thanks for posting this information in such a clear and readable manner.</description>
		<content:encoded><![CDATA[<p>Hello Nickoo, </p>
<p>It&#8217;s an interesting idea this JS text size changer but I have to say I do not recommend it&#8217;s usage coming from an accessibility point of view. </p>
<p>A few things:</p>
<p>1. IE7 and Opera for example, have their own &#8220;page zoom&#8221; functionality and it seems to work really well. In these cases the text increase by JS makes the page look less good that these browsers would (though IE7 also has text zoom built in as well as &#8220;page zoom&#8221;). The rest have their own inbuilt text increase functionality already which is not JS dependant. </p>
<p>2. Most of the people who will rely on text zoom will know the browser text changer/page zoomer shortcut keys because they need to, or will have a special &#8220;zoomer viewer&#8221;.</p>
<p>3. Anything that relies on js and can be avoided in my opinion is better for  accessibility. </p>
<p>Anyway I know this is not the point of this page, it is simply to share the js code for text change. Just wanted to give you some food for thought. </p>
<p>Thanks for posting this information in such a clear and readable manner.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nicusor</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-256</link>
		<author>nicusor</author>
		<pubDate>Fri, 02 Nov 2007 14:01:35 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-256</guid>
					<description>Thanks Mag for your comment!

I know that there are such functionality already build into browsers, but the thing is that many people don't know about them or how to use them... and some times it's just easier to click on a button / link instead of searching through menus or remembering keys combinations.</description>
		<content:encoded><![CDATA[<p>Thanks Mag for your comment!</p>
<p>I know that there are such functionality already build into browsers, but the thing is that many people don&#8217;t know about them or how to use them&#8230; and some times it&#8217;s just easier to click on a button / link instead of searching through menus or remembering keys combinations.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: James</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1085</link>
		<author>James</author>
		<pubDate>Mon, 20 Oct 2008 16:20:38 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1085</guid>
					<description>Great tut, it seems as if this is the only JavaScript tutorial related to text resizing that currently works. All of the other ones posted online produce wacky results. This post is a bit outdated, but keep up the good work.</description>
		<content:encoded><![CDATA[<p>Great tut, it seems as if this is the only JavaScript tutorial related to text resizing that currently works. All of the other ones posted online produce wacky results. This post is a bit outdated, but keep up the good work.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Laurie</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1256</link>
		<author>Laurie</author>
		<pubDate>Fri, 13 Feb 2009 15:20:48 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1256</guid>
					<description>How could you program a "reset" for the font size using your script?
Something to set the font back to it's original settings...</description>
		<content:encoded><![CDATA[<p>How could you program a &#8220;reset&#8221; for the font size using your script?<br />
Something to set the font back to it&#8217;s original settings&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nicusor</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1258</link>
		<author>nicusor</author>
		<pubDate>Fri, 13 Feb 2009 19:23:38 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1258</guid>
					<description>If your original font size was 10px for example, you could use a link like this:
&#60;a href="javascript:fsize(10,'px','content');"&gt;Reset font size&#60;/a&gt;</description>
		<content:encoded><![CDATA[<p>If your original font size was 10px for example, you could use a link like this:<br />
&lt;a href=&#8221;javascript:fsize(10,&#8217;px&#8217;,'content&#8217;);&#8221;>Reset font size&lt;/a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Laurie</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1262</link>
		<author>Laurie</author>
		<pubDate>Mon, 16 Feb 2009 12:40:52 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1262</guid>
					<description>Thank you!, that was just what I needed :)</description>
		<content:encoded><![CDATA[<p>Thank you!, that was just what I needed <img src='http://nicusor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nicusor</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1263</link>
		<author>nicusor</author>
		<pubDate>Mon, 16 Feb 2009 13:20:46 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-1263</guid>
					<description>You're welcome! :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome! <img src='http://nicusor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jesse</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2903</link>
		<author>Jesse</author>
		<pubDate>Tue, 04 May 2010 17:23:57 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2903</guid>
					<description>Great tutorial, for sure.  I was wondering if there was a working example of this script out there?</description>
		<content:encoded><![CDATA[<p>Great tutorial, for sure.  I was wondering if there was a working example of this script out there?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2908</link>
		<author>Anonymous</author>
		<pubDate>Thu, 06 May 2010 07:46:52 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2908</guid>
					<description>thanks for the script,, using it now :D
and working ,,</description>
		<content:encoded><![CDATA[<p>thanks for the script,, using it now <img src='http://nicusor.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
and working ,,</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nhan</title>
		<link>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2942</link>
		<author>Nhan</author>
		<pubDate>Mon, 17 May 2010 16:56:59 +0000</pubDate>
		<guid>http://nicusor.com/programming-stuff/javascript-text-resize/#comment-2942</guid>
					<description>hi nicusor, can you help me? i got your text resize to work at http://www.jiezhou.com.tw/category/products/ but when i increase the text size, the main content area pushed the left sidebar to the bottom. can you explain how i can just enlarge the text within the 'content' and not changing the 'content' box size? Thanks</description>
		<content:encoded><![CDATA[<p>hi nicusor, can you help me? i got your text resize to work at <a href="http://www.jiezhou.com.tw/category/products/" rel="nofollow">http://www.jiezhou.com.tw/category/products/</a> but when i increase the text size, the main content area pushed the left sidebar to the bottom. can you explain how i can just enlarge the text within the &#8216;content&#8217; and not changing the &#8216;content&#8217; box size? Thanks</p>
]]></content:encoded>
				</item>
</channel>
</rss>
