<?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>Wed, 03 Dec 2008 07:29:48 +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>
</channel>
</rss>
