<?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: Proportional Scaling Calculator</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2008/05/13/proportional-scaling-calculator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2008/05/13/proportional-scaling-calculator/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: davydog</title>
		<link>http://www.scriptygoddess.com/archives/2008/05/13/proportional-scaling-calculator/comment-page-1/#comment-586242</link>
		<dc:creator>davydog</dc:creator>
		<pubDate>Wed, 23 Jul 2008 01:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1518#comment-586242</guid>
		<description>Thanks for writing this cool script!

I&#039;m not clever at all with Javascript so unfortunately the little fix I made to it (described below) took me all day to figure out. (I should&#039;ve paid more attention in math class.)

I couldn&#039;t get my mind off the fact that filling in the New Height value while leaving the New Width blank produced a result that was incorrect. The answer, of course, came as one of those &quot;doh!&quot; moments once I finally got it.

Here are the 3 lines I finally zeroed in on:

	var ratio = origwidth/origheight;
	newheight = newwidth/ratio;
	newwidth = newheight/ratio;

To get an accurate new width, you have to multiply it by the ratio:
	newwidth = newheight*ratio;

Hope this helps. I also would appreciate it--since I&#039;m weak both in math and Javascript--if someone points out any errors and/or omissions I might have made with this fix.

You can find a working example of my edited version of the Proportional Scaler script here: http://www.pixeljax.com/</description>
		<content:encoded><![CDATA[<p>Thanks for writing this cool script!</p>
<p>I&#039;m not clever at all with Javascript so unfortunately the little fix I made to it (described below) took me all day to figure out. (I should&#039;ve paid more attention in math class.)</p>
<p>I couldn&#039;t get my mind off the fact that filling in the New Height value while leaving the New Width blank produced a result that was incorrect. The answer, of course, came as one of those &#034;doh!&#034; moments once I finally got it.</p>
<p>Here are the 3 lines I finally zeroed in on:</p>
<p>	var ratio = origwidth/origheight;<br />
	newheight = newwidth/ratio;<br />
	newwidth = newheight/ratio;</p>
<p>To get an accurate new width, you have to multiply it by the ratio:<br />
	newwidth = newheight*ratio;</p>
<p>Hope this helps. I also would appreciate it&#8211;since I&#039;m weak both in math and Javascript&#8211;if someone points out any errors and/or omissions I might have made with this fix.</p>
<p>You can find a working example of my edited version of the Proportional Scaler script here: <a href="http://www.pixeljax.com/" rel="nofollow">http://www.pixeljax.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyberante</title>
		<link>http://www.scriptygoddess.com/archives/2008/05/13/proportional-scaling-calculator/comment-page-1/#comment-578195</link>
		<dc:creator>cyberante</dc:creator>
		<pubDate>Thu, 12 Jun 2008 19:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1518#comment-578195</guid>
		<description>How easy would it be to add one more element to this lovely tool - The percentage? 

I would like to see it as a result of the calculation and as an amount you could specify to get both the width and height. Used for figuring parts of a larger area, this would make this tool a fully functioning proportional scale.

Thanks for making it available.</description>
		<content:encoded><![CDATA[<p>How easy would it be to add one more element to this lovely tool &#8211; The percentage? </p>
<p>I would like to see it as a result of the calculation and as an amount you could specify to get both the width and height. Used for figuring parts of a larger area, this would make this tool a fully functioning proportional scale.</p>
<p>Thanks for making it available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hunter</title>
		<link>http://www.scriptygoddess.com/archives/2008/05/13/proportional-scaling-calculator/comment-page-1/#comment-573489</link>
		<dc:creator>Hunter</dc:creator>
		<pubDate>Wed, 14 May 2008 13:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1518#comment-573489</guid>
		<description>Funny.  I did the same thing.  Easier to build it than find it and bookmark it.  Of course, mine doesn&#039;t look nearly as pretty as yours, but since I&#039;m the only one that uses it, it works for me.</description>
		<content:encoded><![CDATA[<p>Funny.  I did the same thing.  Easier to build it than find it and bookmark it.  Of course, mine doesn&#039;t look nearly as pretty as yours, but since I&#039;m the only one that uses it, it works for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

