<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Customize the default alert() function of Javascript</title>
	<atom:link href="http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/</link>
	<description>PHP, CSS, xhtml, javascript / jquery tutorials</description>
	<lastBuildDate>Sat, 18 Feb 2012 11:01:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: sandeep</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-122357</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Wed, 25 Jan 2012 09:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-122357</guid>
		<description>nice post but i think the functionality of overlay disable the selection of conent of the background, but here its selectable even if alert is displayed.</description>
		<content:encoded><![CDATA[<p>nice post but i think the functionality of overlay disable the selection of conent of the background, but here its selectable even if alert is displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barwal</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-65528</link>
		<dc:creator>barwal</dc:creator>
		<pubDate>Sat, 24 Sep 2011 17:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-65528</guid>
		<description>hey its not working on my when i click on link screen goes completely dark... please help?</description>
		<content:encoded><![CDATA[<p>hey its not working on my when i click on link screen goes completely dark&#8230; please help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ep</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-37025</link>
		<dc:creator>ep</dc:creator>
		<pubDate>Mon, 11 Jul 2011 07:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-37025</guid>
		<description>hi! this is a very useful script! thanks!

i was wondering if you can use the script when the alert is being evoke by php like this:
&lt;?php
if (isset($_POST[&#039;submit&#039;])){
	echo &quot;\n&quot;;
	echo &quot;alert(&#039;You&#039;re message here.&#039;)&quot;;
	echo &quot;&quot;;
	echo &quot;document.location.href=&#039;index.php&#039;&quot;;	
}
?&gt;

it&#039;s not working for me. it seems that it will ignore the alert box and it will go directly to index.php.

any help is greatly appreciated.

thanks!</description>
		<content:encoded><![CDATA[<p>hi! this is a very useful script! thanks!</p>
<p>i was wondering if you can use the script when the alert is being evoke by php like this:<br />
&lt;?php<br />
if (isset($_POST[&#039;submit&#039;])){<br />
	echo &quot;\n&#8221;;<br />
	echo &#8220;alert(&#8216;You&#8217;re message here.&#8217;)&#8221;;<br />
	echo &#8220;&#8221;;<br />
	echo &#8220;document.location.href=&#8217;index.php&#8217;&#8221;;<br />
}<br />
?&gt;</p>
<p>it&#8217;s not working for me. it seems that it will ignore the alert box and it will go directly to index.php.</p>
<p>any help is greatly appreciated.</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MP</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-31570</link>
		<dc:creator>MP</dc:creator>
		<pubDate>Tue, 14 Jun 2011 22:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-31570</guid>
		<description>&quot;EXCUSE ME BUT IE6 IS DEAD &quot;

I&#039;m afraid not! We&#039;ve got over 520 machines here with XP/SP2 and IE6, and yes this is mid  2011, and they work like a charm thank you! ;)

Now, will you kindly refrain from playing the Internet police telling people what they should or shouldn&#039;t be running?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>&#8220;EXCUSE ME BUT IE6 IS DEAD &#8221;</p>
<p>I&#8217;m afraid not! We&#8217;ve got over 520 machines here with XP/SP2 and IE6, and yes this is mid  2011, and they work like a charm thank you! ;)</p>
<p>Now, will you kindly refrain from playing the Internet police telling people what they should or shouldn&#8217;t be running?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-14612</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sun, 26 Dec 2010 19:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-14612</guid>
		<description>Hi,

ave tried your script in IE7, it still has Focus issue any workaround for this ? will be greatful to you if suggest so

Thanks
John</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>ave tried your script in IE7, it still has Focus issue any workaround for this ? will be greatful to you if suggest so</p>
<p>Thanks<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Hans</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-6656</link>
		<dc:creator>Larry Hans</dc:creator>
		<pubDate>Wed, 17 Feb 2010 17:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-6656</guid>
		<description>Nice script but it not works on IE. So, it is not useful. :(</description>
		<content:encoded><![CDATA[<p>Nice script but it not works on IE. So, it is not useful. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manal Nor</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-3058</link>
		<dc:creator>Manal Nor</dc:creator>
		<pubDate>Wed, 14 Oct 2009 13:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-3058</guid>
		<description>Hello Dear Sir,
I&#039;ve read your amazing article how to customize the alert of js
at the following link :
http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/

However i have a question , how it could be in case of forms , for example if we have


function NewBanner() {
if(document.f1.BannerFile.value==&quot;&quot;)
{
alert(&#039;blah blah blah&#039;);
document.f1.BannerFile.focus();
return false;
}
}


and we have form html code as following :-









i mean how to customiz the alert if it was depends on an action , when i do don&#039;t choose banner and click on submit, it gives me alert blah blah .... how then customiz it in such case.


thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello Dear Sir,<br />
I&#8217;ve read your amazing article how to customize the alert of js<br />
at the following link :<br />
<a href="http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/" rel="nofollow">http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/</a></p>
<p>However i have a question , how it could be in case of forms , for example if we have</p>
<p>function NewBanner() {<br />
if(document.f1.BannerFile.value==&#8221;")<br />
{<br />
alert(&#8216;blah blah blah&#8217;);<br />
document.f1.BannerFile.focus();<br />
return false;<br />
}<br />
}</p>
<p>and we have form html code as following :-</p>
<p>i mean how to customiz the alert if it was depends on an action , when i do don&#8217;t choose banner and click on submit, it gives me alert blah blah &#8230;. how then customiz it in such case.</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ah_fui</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-2865</link>
		<dc:creator>ah_fui</dc:creator>
		<pubDate>Mon, 05 Oct 2009 09:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-2865</guid>
		<description>hi,


tested in IE7 &gt; error &gt; focus issue.

it show but alignment run to almost out of screen at top part if i comment off focus() at top part of gdAlert.js.

firefox &amp; chrome works without an error.</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>tested in IE7 &gt; error &gt; focus issue.</p>
<p>it show but alignment run to almost out of screen at top part if i comment off focus() at top part of gdAlert.js.</p>
<p>firefox &amp; chrome works without an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitter Trackbacks for Customize the default alert() function of Javascript - Gaya Design [gayadesign.com] on Topsy.com</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-2250</link>
		<dc:creator>Twitter Trackbacks for Customize the default alert() function of Javascript - Gaya Design [gayadesign.com] on Topsy.com</dc:creator>
		<pubDate>Sun, 30 Aug 2009 00:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-2250</guid>
		<description>[...] Customize the default alert() function of Javascript - Gaya Design  www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript &#8211; view page &#8211; cached  Web designers, developers and web users know them. We all have run across one of these; the Javascript alert message. Most of the time, I don&#039;t even read them and click them away. But the more important thing is that they just look ugly, no matter which browser you use. So why not remake the whole Javascript alert function? This article will give you the basics of my customization of the alert message. &#8212; From the page [...]</description>
		<content:encoded><![CDATA[<p>[...] Customize the default alert() function of Javascript &#8211; Gaya Design  <a href="http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript" rel="nofollow">http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript</a> &ndash; view page &ndash; cached  Web designers, developers and web users know them. We all have run across one of these; the Javascript alert message. Most of the time, I don&#39;t even read them and click them away. But the more important thing is that they just look ugly, no matter which browser you use. So why not remake the whole Javascript alert function? This article will give you the basics of my customization of the alert message. &mdash; From the page [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neki chan</title>
		<link>http://www.gayadesign.com/diy/customize-the-default-alert-function-of-javascript/comment-page-1/#comment-338</link>
		<dc:creator>neki chan</dc:creator>
		<pubDate>Mon, 27 Apr 2009 09:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://dev.gayadesign.nl/?p=138#comment-338</guid>
		<description>mmm... i forget :(
between IE8 or mozilla..

i haven&#039;t tried it again :)</description>
		<content:encoded><![CDATA[<p>mmm&#8230; i forget :(<br />
between IE8 or mozilla..</p>
<p>i haven&#8217;t tried it again :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

