<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WAI / XHTML Valid Input Fields Watermark</title>
	<atom:link href="http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark</link>
	<description>...looking for more than eyes can see</description>
	<pubDate>Sat, 22 Nov 2008 09:12:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Mettre le libellé des champs dans les champs avec Prototype &#124; accolade.ch</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-5560</link>
		<dc:creator>Mettre le libellé des champs dans les champs avec Prototype &#124; accolade.ch</dc:creator>
		<pubDate>Mon, 17 Nov 2008 18:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-5560</guid>
		<description>[...] ont déjà traités de l&#8217;aspect validation/accessibilité de cette méthode comme par exemple ici ou ici. Je ne vais pas revenir sur ces aspects mais plutôt sur les solutions Javascript à notre [...]</description>
		<content:encoded><![CDATA[<p>[...] ont déjà traités de l&#8217;aspect validation/accessibilité de cette méthode comme par exemple ici ou ici. Je ne vais pas revenir sur ces aspects mais plutôt sur les solutions Javascript à notre [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ariel</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-1382</link>
		<dc:creator>ariel</dc:creator>
		<pubDate>Wed, 07 May 2008 14:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-1382</guid>
		<description>Thanks a lot for sharing this script! Is very nice and simple. Here is an enhacement to make the watermark text gray:

add 2 vars:
var watermarkColor = 'gray';
var normalColor = 'black';

add new event in inputWatermark():
  addEvent(cur, "keypress", onTextChange);

add this new function:
  function onTextChange() {
      var inpname = this.id ? this.id: this.name;
      if (this.value == '') {
          this.style.color = normalColor;
      }
  }

in onBlurHandler(), inside the if:
  this.style.color = watermarkColor;

:-)</description>
		<content:encoded><![CDATA[<p>Thanks a lot for sharing this script! Is very nice and simple. Here is an enhacement to make the watermark text gray:</p>
<p>add 2 vars:<br />
var watermarkColor = &#8216;gray&#8217;;<br />
var normalColor = &#8216;black&#8217;;</p>
<p>add new event in inputWatermark():<br />
  addEvent(cur, &#8220;keypress&#8221;, onTextChange);</p>
<p>add this new function:<br />
  function onTextChange() {<br />
      var inpname = this.id ? this.id: this.name;<br />
      if (this.value == &#8221;) {<br />
          this.style.color = normalColor;<br />
      }<br />
  }</p>
<p>in onBlurHandler(), inside the if:<br />
  this.style.color = watermarkColor;</p>
<p> <img src='http://blog.creonfx.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-125</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 26 Nov 2007 09:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-125</guid>
		<description>I couldn't understand some parts of this article HTML Valid Input Fields Watermark &#124; Peter Velichkov's Blog, but I guess I just need to check some more resources regarding this, because it sounds interesting.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t understand some parts of this article HTML Valid Input Fields Watermark | Peter Velichkov&#8217;s Blog, but I guess I just need to check some more resources regarding this, because it sounds interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-32</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 23 Oct 2007 19:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-32</guid>
		<description>yes - you can make your form to check if the values are the default on submit

or even better to disable the submit button until entered different values</description>
		<content:encoded><![CDATA[<p>yes - you can make your form to check if the values are the default on submit</p>
<p>or even better to disable the submit button until entered different values</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-31</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 23 Oct 2007 16:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-31</guid>
		<description>I'm having an issue with this code, as it is writing the watermark values to the database if the user does not override with their own entry.  Is there any way to prevent this behavior?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having an issue with this code, as it is writing the watermark values to the database if the user does not override with their own entry.  Is there any way to prevent this behavior?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-8</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 07 Oct 2007 19:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-8</guid>
		<description>Cheers</description>
		<content:encoded><![CDATA[<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wahoo</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-5</link>
		<dc:creator>Wahoo</dc:creator>
		<pubDate>Sat, 06 Oct 2007 01:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-5</guid>
		<description>Thank you for sharing!</description>
		<content:encoded><![CDATA[<p>Thank you for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cash Advance</title>
		<link>http://blog.creonfx.com/javascript/wai-xhtml-valid-input-fields-watermark#comment-3</link>
		<dc:creator>Cash Advance</dc:creator>
		<pubDate>Fri, 14 Sep 2007 17:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.creonfx.com/blog/other/waixhtml-valid-input-fields-watermark#comment-3</guid>
		<description>Wonderful blog post covering WAI / XHTML Valid Input Fields Watermark. Always enjoy your view.</description>
		<content:encoded><![CDATA[<p>Wonderful blog post covering WAI / XHTML Valid Input Fields Watermark. Always enjoy your view.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
