<?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>Royal Deer Design &#187; JavaScript</title>
	<atom:link href="http://www.royaldeerdesign.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.royaldeerdesign.com</link>
	<description>Web Design Company</description>
	<lastBuildDate>Thu, 21 Aug 2025 15:08:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Hacking Pin It Button</title>
		<link>http://www.royaldeerdesign.com/2012/10/hacking-pin-it-button/</link>
		<comments>http://www.royaldeerdesign.com/2012/10/hacking-pin-it-button/#comments</comments>
		<pubDate>Sat, 20 Oct 2012 14:53:39 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business News]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Pinterest]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=928</guid>
		<description><![CDATA[Pinterest offers a user friendly Pin It button generator. Unfortunately, they don&#8217;t really let web developers to modify the look of it. It is getting problematic in a situation when we insert few social media buttons horizontally next to each other and we realize that they have slightly different height. I faced this issue working]]></description>
				<content:encoded><![CDATA[<p>Pinterest offers a user friendly Pin It button generator. Unfortunately, they don&#8217;t really let web developers to modify the look of it. It is getting problematic in a situation when we insert few social media buttons horizontally next to each other and we realize that they have slightly different height.</p>
<p>I faced this issue working on my client&#8217;s website organiceyourlife.com.</p>
<p>This is how Pin It button was not fitting into the crowed of other two social networking buttons:</p>
<p><img src="http://www.royaldeerdesign.com/wp-content/uploads/2013/03/pinit1.jpg" alt="pinit1" width="175" height="82" class="alignnone size-full wp-image-929" /></p>
<p>The goal was to make it look this way:</p>
<p><img src="http://www.royaldeerdesign.com/wp-content/uploads/2013/03/pinit2.jpg" alt="pinit2" width="179" height="80" class="alignnone size-full wp-image-930" /></p>
<p>The problems is that the button itself is loaded in iframe (on top of that this iframe is generated by JS) and all the files, including JS and leaded to iframe HTML file are hosted on Pinterest server. I did try many tricks like loading external CSS file to the iframe and forcing CSS styles on iframe elements by JavaScript. Nothing worked.<br />
Solution.</p>
<p>Digging more into the structure of the button I found that I can host on my own server not only JS file which generates the iframe but also leaded into the iframe HTML file, and the functionality of the button will stay.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.royaldeerdesign.com/2012/10/hacking-pin-it-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternatives to CAPTCHA</title>
		<link>http://www.royaldeerdesign.com/2011/05/alternatives-to-captcha/</link>
		<comments>http://www.royaldeerdesign.com/2011/05/alternatives-to-captcha/#comments</comments>
		<pubDate>Thu, 05 May 2011 12:10:44 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business Tips]]></category>
		<category><![CDATA[CAPTCHA]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=3026</guid>
		<description><![CDATA[Spam from contact forms located on websites is a huge problem, and the only way to solve this issue it used to be putting a CAPTCHA. However, this solution has a very bad impact on conversion rate. There are studies which show that the company could lose out on 3.2% of all their conversions when]]></description>
				<content:encoded><![CDATA[<p>Spam from contact forms located on websites is a huge problem, and the only way to solve this issue it used to be putting a CAPTCHA. However, this solution has a very bad impact on conversion rate. There are studies which show that the company could lose out on 3.2% of all their conversions when using CAPTCHA. But there is a good news &#8211; there are other better solution than CAPTCHA.</p>
<div class="headline no-margin"><h3>Javascript alternative to CAPTCHA</h3></div>
<p>Much more simpler approach is to use a hidden and required text field that is generated with Javascript. The idea behind this solution is very simple &#8211; spambots cannot fill in the field because they are not able to interact with objects in client-side JavaScript. The only minus of this problem solution is that it relies on JavaScript to work.</p>
<div class="headline no-margin"><h3>Honeypot Captcha</h3></div>
<p>Another solution is Honeypot Captcha approach. You create a honeypot form field that should be left blank and hide it by using CSS techniques. When the form is submitted, your script checks if the value of that form field is blank. If it is not blank that means it was submitted by a spam bot (the form is invisible for user).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.royaldeerdesign.com/2011/05/alternatives-to-captcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Change Font Size</title>
		<link>http://www.royaldeerdesign.com/2010/06/javascript-change-font-size/</link>
		<comments>http://www.royaldeerdesign.com/2010/06/javascript-change-font-size/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 15:27:50 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business News]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web developer]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=2175</guid>
		<description><![CDATA[We are working on a website with a dynamic font size functionality. Do you know that this so useful functionality costs only two lines of code? If you consider the need of people to see larger fonts on your website you can use JavaScript code crated by our web developer. Change Font Size with Javascript]]></description>
				<content:encoded><![CDATA[<p>We are working on a website with a dynamic font size functionality. Do you know that this so useful functionality costs only two lines of code? If you consider the need of people to see larger fonts on your website you can use JavaScript code crated by our web developer.</p>
<p>Change Font Size with Javascript Ready to use code:</p>
<p><script type="text/javascript">
<!--

function changeFontSize(multiply)
{
if (document.body.style.fontSize == "") document.body.style.fontSize = "1.0em";
document.body.style.fontSize = parseFloat(document.body.style.fontSize) + (multiply * 0.2) + "em";
}

-->
</script> </p>
<p><a href="javascript:void(0);" onclick="changeFontSize(1)">+A</a><br />
<a href="javascript:void(0);" onclick="changeFontSize(-1)">-A </a></p>
<p>You can use this code on your website, just copy the code and past it into your document. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.royaldeerdesign.com/2010/06/javascript-change-font-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website loading time</title>
		<link>http://www.royaldeerdesign.com/2010/02/website-loading-time/</link>
		<comments>http://www.royaldeerdesign.com/2010/02/website-loading-time/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 10:47:01 +0000</pubDate>
		<dc:creator><![CDATA[Sheuli]]></dc:creator>
				<category><![CDATA[Internet Business News]]></category>
		<category><![CDATA[Internet Business Tips]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Loading Time]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Website Optimization]]></category>

		<guid isPermaLink="false">http://coot.arvixe.com/~royald/?p=2518</guid>
		<description><![CDATA[According to a new study from Gomez (the company which provides the industry&#8217;s leading platform of Web application experience management solutions) customers don&#8217;t have a patience for Internet stores, ebanks and travel sites that loads slow, act unsteadily or crash during transaction seasons. The survey shows that 78 percent of consumers go to a competitor&#8217;s]]></description>
				<content:encoded><![CDATA[<p>According to a new study from Gomez (the company which provides the industry&#8217;s leading platform of Web application experience management solutions) customers don&#8217;t have a patience for Internet stores, ebanks and travel sites that loads slow, act unsteadily or crash during transaction seasons. The survey shows that 78 percent of consumers go to a competitor&#8217;s site after disappointing experience with slow-loading pages, errors or transaction problems. 88 percent do not return to a website which performance disappointed them. &#8220;People are pretty impatient nowadays and they don&#8217;t want to wait, they have other choices,&#8221; said Jeff Loeb, vice president of products and solutions marketing at Gomez, a division of Compuware. Below advice from Royal Deer Design, how to keep your website in good shape and how to make it load faster.</p>
<div class="headline no-margin"><h3>Make Your Website Load Faster</h3></div>
<p>-Do you really need this heavy flash animation on your homepage? People with iPhone and blackberry don?t see it anyway, MACs like to crash during displaying flash animations. Consider JavaScript as a platform for a simple animations<br />
&#8211; Clean your html/css code<br />
&#8211; Decrees an amount of images on your website<br />
&#8211; Reduce the size of the images<br />
&#8211; Remove Unnecessary Widgets/Scripts/Statistics </p>
<p>To learn more techniques submit for our free newsletter. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.royaldeerdesign.com/2010/02/website-loading-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
