<?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>Web Design Blog &#124; ModernBlue.com &#187; Design Strategies</title>
	<atom:link href="http://www.modernblue.com/web-design-blog/category/design-strategies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modernblue.com/web-design-blog</link>
	<description>Web and Graphics Studio</description>
	<lastBuildDate>Tue, 21 Jun 2011 07:34:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Modern Blue v3</title>
		<link>http://www.modernblue.com/web-design-blog/modern-blue-v3/</link>
		<comments>http://www.modernblue.com/web-design-blog/modern-blue-v3/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 15:34:43 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Corporate News]]></category>
		<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.modernblue.com/web-design-blog/?p=62</guid>
		<description><![CDATA[My site was due for a makeover. I actually created 2 new designs, and would love to know which one you like more. The live version I definitely like. My idea here was to focus on my recent work, and &#8230; <a href="http://www.modernblue.com/web-design-blog/modern-blue-v3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My site was due for a makeover. I actually created 2 new designs, and would love to know which one you like more.</p>
<p><a href="http://www.modernblue.com">The live version</a> I definitely like. My idea here was to focus on my recent work, and most importantly give a clean and modern feel. I like the overall tone, and feel it goes with my name and brand.</p>
<p><a href="http://www.modernblue.com/version%203.0/">The first version</a> I actually like a lot too. This one I had been working on for a while. However, I still felt it was missing something, and could feature my work a little better.</p>
<p>I think the main thing with both of these versions, is keeping things simple and clean. That&#8217;s what I am all about. Also, don&#8217;t think you can steal the second design since I am not currently using it&#8230; I most likely will work it into a future client. Or who knows, maybe a do an A/B test using both designs.</p>
<p>For those of you who would like to know, I used <a href="http://labs.adobe.com/technologies/spry/">Spry</a> to handle the animations. I created my own function that handles the timer to make it move on it&#8217;s own, as well as highlight the current number. Also, I used a simple function to pull my latest WP blog posts. The blog and portfolio are currently being redesigned. In the meantime, let&#8217;s get some feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/modern-blue-v3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>5ones Redesign</title>
		<link>http://www.modernblue.com/web-design-blog/5ones-redesign/</link>
		<comments>http://www.modernblue.com/web-design-blog/5ones-redesign/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 14:36:15 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[5ones]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[redesign]]></category>

		<guid isPermaLink="false">http://www.modernblue.com/web-design-blog/?p=60</guid>
		<description><![CDATA[Just wanted to put a word out for a new redesign I did for an action action sports news and information site , 5ones, recently redesigned and launched. I must say again, WordPress is so easy to use. I created &#8230; <a href="http://www.modernblue.com/web-design-blog/5ones-redesign/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just wanted to put a word out for a new redesign I did for an action <a href="http://5ones.com/">action sports news and information site</a> , 5ones, recently redesigned and launched. I must say again, WordPress is so easy to use. I created a theme and used the mighty functions.php file to create the cool things you see, like parsing a post for images and showing them on the home page, and the way I set up the whole home page for that matter. I am very pleased with the way it turned out. Hopefully this will inspire some of you. If you want to know how I managed to do anything via wordpress you see, don&#8217;t be afraid to post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/5ones-redesign/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Patrick Bennett featured on Elance for WordPress Tips</title>
		<link>http://www.modernblue.com/web-design-blog/patrick-bennett-featured-on-elance-for-wordpress-tips/</link>
		<comments>http://www.modernblue.com/web-design-blog/patrick-bennett-featured-on-elance-for-wordpress-tips/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 23:49:46 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Corporate News]]></category>
		<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernblue.com/web-design-blog/patrick-bennett-featured-on-elance-for-wordpress-tips/</guid>
		<description><![CDATA[Elance recently asked me to write an article about creating a successful WordPress blog. Read my WordPress Tips article.]]></description>
			<content:encoded><![CDATA[<p>Elance recently asked me to write an article about creating a successful WordPress blog. Read my <a href="http://www.elance.com/p/tips-for-wordpress-blogs">WordPress Tips</a> article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/patrick-bennett-featured-on-elance-for-wordpress-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Braintree Payment Solutions comes through</title>
		<link>http://www.modernblue.com/web-design-blog/braintree-payment-solutions-comes-through/</link>
		<comments>http://www.modernblue.com/web-design-blog/braintree-payment-solutions-comes-through/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 22:04:57 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernblue.com/web-design-blog/braintree-payment-solutions-comes-through/</guid>
		<description><![CDATA[I recently made the switch to Braintree from Paypal to process my credit card payments, and I couldn&#8217;t be happier. I was very impressed with the ease of integration. In about 1 hour, I set up a simple PHP script &#8230; <a href="http://www.modernblue.com/web-design-blog/braintree-payment-solutions-comes-through/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently made the switch to  <a href="http://www.braintreepaymentsolutions.com/">Braintree</a> from Paypal to process my credit card payments, and I couldn&#8217;t be happier. </p>
<p>I was very impressed with the ease of integration. In about 1 hour, I set up a simple PHP script that allows my clients to pay invoices online. Paypal for the same thing took about 3 hours… to read through their complex documentation, decide which API method I wanted to use, and even a call into Customer Support for a common error you will find across Paypal&#8217;s customer support forums. Braintree gave me a PHP class that was ready to go. I only had to define my merchant info and get the values from my form and it was working great. </p>
<p>A really nice feature of their solutions is how they <a href="http://www.braintreepaymentsolutions.com/pci-dss-compliance/">simplify PCI Compliance</a> and eliminate my need to locally handle or store my customers credit card data – without using a hosted page.  I was also able to achieve compliance much faster and with less cost. </p>
<p>In stark contrast to other providers I spoke with, Braintree&#8217;s approach is honest and straightforward. They don&#8217;t hide fees behind teaser rates and everyone I&#8217;ve worked with there, from sales to support, has been extremely responsive and knowledgeable. </p>
<p>I am a developer that always likes to keep things simple. Through working closely with Braintree and using their product first hand, I have realized they are the same.   I am thus sticking with Braintree for all of my credit card processing needs, and recommend them to all of my clients.  It’s nice to find other companies as passionate about their industry as I am about mine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/braintree-payment-solutions-comes-through/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lets put the value back in web design</title>
		<link>http://www.modernblue.com/web-design-blog/lets-put-the-value-back-in-web-design/</link>
		<comments>http://www.modernblue.com/web-design-blog/lets-put-the-value-back-in-web-design/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 22:27:50 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernblue.com/web-design-blog/lets-put-the-value-back-in-web-design/</guid>
		<description><![CDATA[The demand for websites has never been higher. It seems like the internet boom of the late ninety&#8217;s is back, but more stable. People are lining up to have websites built by the masses, and thus design firms are increasingly &#8230; <a href="http://www.modernblue.com/web-design-blog/lets-put-the-value-back-in-web-design/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The demand for websites has never been higher. It seems like the internet boom of the late ninety&#8217;s is back, but more stable. People are lining up to have websites built by the masses, and thus design firms are increasingly finding ways to produce websites cheaper and faster. The true purpose of web design is being lost to myths and misrepresented claims. The weight web design once had is being lost to other terms such as SEO. Although there are more, I want to discuss a few myths that cause these problems, and my own experienced-based rebuttals.</p>
<p><strong>Myth 1: As long as I have a lot of traffic, my design doesn&#8217;t matter </strong></p>
<p>With the magic word &#8220;SEO&#8221; becoming the new internet gold rush, companies and individuals are increasingly believing that design doesn&#8217;t matter. As long as the herds of consumers are coming to their site, there is no need to worry about design research, color schemes, navigational structure, or usability. Before I am misunderstood, I am not bagging on SEO&#8217;s at all. My brother is a well-respected owner of 97thfloor, an <a href="http://www.97thfloor.com">SEO firm.</a> Even he has told me that some of his clients would be better off having their website rebuilt or redesigned, to increase website conversion, before starting such a large marketing campaign. Every company, whether a mom and pop shop or Wal-Mart can benefit on a design that is created around conversion and the user experience. With that said, it is often that companies come to me and say &#8220;We have put a lot of money toward advertising, we rank high on Google, but we are not seeing the sales or conversion we had hoped for.&#8221; My reply, &#8220;Your design and user interface scream lack of money, lack of research, lack of care.&#8221; Web design isn&#8217;t a slipshod process. It isn&#8217;t just a matter of &#8220;getting something up&#8221;. It is much more than that.</p>
<p><strong>Myth 2: Since web design involves programming, any firm can do the work I need.</strong></p>
<p>A smart business would never allow a cousin, friend, acquaintance etc&#8230; to make important business decisions with lack of experience. However, people allow these same people to create their companies websites all the time to save a buck or two. How often have I had to redesign a site, a matter of weeks after their first round, because their first designer didn&#8217;t create what was needed. In these cases, they loose time (which is money) having to start from scratch and redevelop something new. This time by someone who knows what they are doing. With how important the internet is these days, companies have to pick design firms that are experienced in designs that create customers out of site visitors.</p>
<p><strong>Myth 3: If I tell a web company my budget for design, they will up their price to match it. </strong></p>
<p>This one happens frequently. I ask every potential client that comes to me, &#8220;What budget have you set aside for this project?&#8221; As I wrote in a previous article, if they don&#8217;t have a budget this is usually a red flag for me. This means that 1. They really haven&#8217;t sat down and thought how much energy, time and resources they want to put into their project, and 2. The company may hiding it to try and narrow down design firms based on how cheap they are, not by how well they can take their budget and turn it into something fantastic. I like companies to have a budget for two main reasons: 1. It tells me they are organized and serious about their project, which gets me more excited to be a part of it, and 2. I can give them options of what is possible to deliver within that budget. It may make more sense to break a project into phases and work on them as sequentially. So companies, please let us know you are serious by figuring out your budget before you expect design firms to seriously look at your project.</p>
<p>Basically, we design firms need to find new ways to show our clients that we are different then the run-of-the-mill firm, or their neice. We need to show them that our design will increase profits, help to magnify their brand, and improve their business as a whole. If we can somehow put the value back in web design, businesses will be happier having received a design that accentuates  their goals&#8230; and true designers will be happy taking on projects of value, while being compensated for their time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/lets-put-the-value-back-in-web-design/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Valid CSS Forms</title>
		<link>http://www.modernblue.com/web-design-blog/valid-css-forms/</link>
		<comments>http://www.modernblue.com/web-design-blog/valid-css-forms/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 14:35:57 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernbluedesign.com/web-design-blog/valid-css-forms/</guid>
		<description><![CDATA[Nice looking forms always bring attention. It&#8217;s one of those extra miles a web designer doesn&#8217;t have to take. But whenever I see nice looking forms on websites I think, &#8220;This guy pays attention to details.&#8221; Since the big push &#8230; <a href="http://www.modernblue.com/web-design-blog/valid-css-forms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nice looking forms always bring attention. It&#8217;s one of those extra miles a web designer doesn&#8217;t have to take. But whenever I see nice looking forms on websites I think, &#8220;This guy pays attention to details.&#8221;</p>
<p>Since the big push for &#8220;Web 2.0&#8243; and &#8220;Valid&#8221; websites, there as been an increase in mirrored text effects, gradients, bevels, colors etc&#8230; however, on many of these websites the forms get passed up.  Why? You will have to check with the web designer I guess.</p>
<p>Anyways, I took it upon myself this morning to develop a valid, beautiful, css form in under 10 minutes. I took me 12 minutes actually. In fact, it is taking me longer to write this article and link to the form then actually making the form.  Anyways, take a look at these forms I whipped up: <a href="http://modernbluedesign.com/web-design-blog/case-studies/css%20forms/form1.html">Form1</a> | <a href="http://modernbluedesign.com/web-design-blog/case-studies/css%20forms/form2.html">Form2 </a>Â  Here is a preview one Form 2:</p>
<p><a href="http://www.modernbluedesign.com/web-design-blog/wp-content/uploads/2007/08/form1.png" title="Form2"><img src="http://www.modernbluedesign.com/web-design-blog/wp-content/uploads/2007/08/form1.png" alt="Form2" /></a></p>
<p>Form 1 could be used to collect more information then a normal contact form. For example you could ask for their personal details, then shipping info etc&#8230; Form 2 is a basic contact form that most sites need.</p>
<p>Feel free to take the code and customize it to fit your needs. Also, you will notice that the forms are pointing to &#8220;process.php&#8221;. Well, if you want to know what to put in that file to make it work, download it <a href="http://modernbluedesign.com/web-design-blog/case-studies/css%20forms/process.html">here.</a></p>
<p>So, hopefully this will help us all to create nice forms. All you need to do is follow my lead. Change the repeating background image in the css properties for &lt;fieldset&gt;, make some color adjustments to other properties, add some extra fields etc&#8230;</p>
<p>Happy Forming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/valid-css-forms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fighting Spam with CSS</title>
		<link>http://www.modernblue.com/web-design-blog/fighting-spam-with-css/</link>
		<comments>http://www.modernblue.com/web-design-blog/fighting-spam-with-css/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 14:35:49 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernbluedesign.com/web-design-blog/fighting-spam-with-css/</guid>
		<description><![CDATA[It can be very frustrating when you have a form on your site which has a good and useful purpose, but almost becomes obsolete because of relentless spamming. I had this problem a few months ago with my old site, &#8230; <a href="http://www.modernblue.com/web-design-blog/fighting-spam-with-css/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It can be very frustrating when you have a form on your site which has a good and useful purpose, but almost becomes obsolete  because of relentless spamming. I had this problem a few months ago with my old site, and was thus forced to find a solution that  was light-weight, easy to implement, and most importantly was effective.  I decided to turn toward my friend CSS to help me out.</p>
<p>The idea here is setting up a form with a text field and via CSS making it invisible. Then, if a post is sent to a php script handling the request and that text box has information in it, that means a human didn&#8217;t fill it out, and the script is simply aborted.</p>
<p>Here is a simple example. You can view the <a href="http://www.modernbluedesign.com/web-design-blog/case-studies/css-spam-fighter/">actual page here</a>.</p>
<p><strong>THE FORM:</strong></p>
<p>Here is the xhtml I am using for the form code:</p>
<p><code><br />
&lt;form action="process.php" method="post"&gt; &lt;fieldset&gt;<br />
&lt;label&gt;Name: &lt;/label&gt;<br />
&lt;input name="name" type="text" /&gt;<br />
&lt;label&gt;Email: &lt;/label&gt;<br />
&lt;input name="email" type="text" /&gt;<br />
&lt;label&gt;Comment: &lt;/label&gt;<br />
&lt;input name="comments" type="text" /&gt; &lt;input class="special" name="info" type="text" /&gt; &lt;input type="submit" value="Send" /&gt; &lt;/fieldset&gt;<br />
&lt;/form&gt;<br />
</code></p>
<p>First, this is not a tutorial on making forms look nice, so don&#8217;t give me crap. Everything should be straightforward, however, you will notice after the comment text box, there is another text box with the name &#8220;info&#8221; and the class &#8220;special&#8221;. This is the spam fighter. I didn&#8217;t want to mess up the orientation of the form, so I didn&#8217;t put a break between the comments box and the spam box. I just put it at the end of the line. Real people won&#8217;t see it looking at the page, because I turned off the visibility in CSS:</p>
<p><strong>THE STYLES:</strong></p>
<p>[quickcode:noclick]<br />
body {<br />
line-height:35px;<br />
font-family:Arial, Helvetica, sans-serif;<br />
color:#333;<br />
font-size:14px;<br />
}<br />
.special {<br />
display:none;<br />
}<br />
[/quickcode]</p>
<p>Really, the only class you need to look into is called &#8220;special&#8221;. Basically, I made it really small, again to avoid any design conflicts, and then I assigned the visibility property with the value &#8220;hidden&#8221;. This way, browsers don&#8217;t make it visible, and thus people can&#8217;t fill it in. However, when a spam scraper comes through the site, it&#8217;s going to read it and think it should be filled in &#8212; only to their surprise.</p>
<p><strong>THE SCRIPT:</strong></p>
<p>The php to handle this is very straightforward. Basically, you just look to see if that field has been filled in before it was posted, and if it was, you simply break the script so no email is sent, and tell the spammer to get lost. If it&#8217;s not filled in, then business as usual. To see this in action, fill out the top form and press &#8220;submit&#8221;. Then, fill out the bottom form including the spam box and press submit. Process.php returns different results based on what is typed in.</p>
<p><strong>More Thoughts:</strong></p>
<p>After doing this, my spam levels from form submission went down to zero. You could always add a function to search for html in the post as an extra caution as well. It just made me realize once more how important CSS is to making things work right. So in this case, CSS is my weapon of choice. I recently implemented this on my <a href="http://orlando.used-cars-fl.com/">Orlando Florida Used Cars</a> and <a href="http://www.used-cars-utah.com">Utah used cars</a> website. It&#8217;s also working great for <a href="http://themagicwriter.com">Doug Bennett Magic</a> and <a href="http://www.thecreditrepairagency.com">Consumer Credit Repair Agency</a>.</p>
<p><strong>Another interesting article:</strong><br />
For those of you tired of gamma not showing correctly for images in PNG format, <a href="http://www.modernbluedesign.com/web-design-blog/tweak-that-gamma/">this awesome fix</a> is for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/fighting-spam-with-css/feed/</wfw:commentRss>
		<slash:comments>149</slash:comments>
		</item>
		<item>
		<title>Tweak that gamma</title>
		<link>http://www.modernblue.com/web-design-blog/tweak-that-gamma/</link>
		<comments>http://www.modernblue.com/web-design-blog/tweak-that-gamma/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 17:21:48 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.modernbluedesign.com/web-design-blog/tweak-that-gamma/</guid>
		<description><![CDATA[One of the frustrations of using the image compression (.png format), is the problems it can have with IE 6, 7. For those of use that like to use transparencies in png images for example, know that we have to &#8230; <a href="http://www.modernblue.com/web-design-blog/tweak-that-gamma/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the frustrations of using the image compression (.png  format), is the problems it can have with IE 6, 7. For those of use that like to use transparencies in png images for example, know that we have to find a png IE 6 <a href="http://www.twinhelix.com/css/iepngfix/">transparency fix</a>, if we want them to work in IE 6. Fortunately, Microsoft was somewhat on the ball with the release of IE 7, because it now supports png transparencies. However, in creating some web pages where I was using a png next to a jpg with what I thought to have the same background color, IE 7 for some reason made the png darker. Although it was ok in Firefox, this is frustrating for cross-browser debugging. This discrepancy is due to a way IE 7 reads the png file information.</p>
<p>When you compress an image in Photshop as a png format, the gamma information related to it is saved within the file information. When taking advantage of transparencies within the png format, this data has to be removed in order to work correctly in IE 7.  So how do you do this? <a href="http://www.twinhelix.com/css/iepngfix/">TweakPNG</a>.</p>
<p>First, <a href="http://entropymine.com/jason/tweakpng/">download the program</a>. It&#8217;s standalone, so you won&#8217;t need to install anything. Open the program and drag your problematic png into the window of it. You will then be shown some options that will look like this:</p>
<p><a href="http://www.modernbluedesign.com/web-design-blog/wp-content/uploads/2007/06/tweakpng.png" title="TweakPNG"><img src="http://www.modernbluedesign.com/web-design-blog/wp-content/uploads/2007/06/tweakpng.thumbnail.png" alt="TweakPNG" /></a></p>
<p>If you look on the left in the &#8220;Chunk&#8221; column, you will see a &#8220;gAMA&#8221; property. All you have to do is click on it, and press Delete. While you are in there, you might as well save a little bit of space by deleting the &#8220;tEXt&#8221; field as well, which only contains data of where the png was created, in this case Adobe Image Ready. Then click on &#8220;File -&gt; Save&#8221; in the menu at the top, and re-upload your png, test it in IE7, and you should be good to go.</p>
<p>Although this can be a hassle, you should realize you don&#8217;t have to do this to every png you create. The problems occur when a png and jpeg or gif that need to match colors are close together. For many sites I do, I never use it because I am able to use images all on png format. But, it does come in handy when something needs to be done.</p>
<p>For more information about the png format, and how it is recommended by Wc3, <a href="http://www.w3.org/Graphics/PNG/">click here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/tweak-that-gamma/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Image Swapping</title>
		<link>http://www.modernblue.com/web-design-blog/image-swapping/</link>
		<comments>http://www.modernblue.com/web-design-blog/image-swapping/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 16:56:24 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>

		<guid isPermaLink="false">http://modernbluedesign.com/web-design-blog/image-swapping/</guid>
		<description><![CDATA[Recently with a project I am working on, I was using a technique known as image swapping. The gist can be seen here, if you roll your mouse over the buttons on the left (click here). Its a sweet technique &#8230; <a href="http://www.modernblue.com/web-design-blog/image-swapping/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently with a project I am working on, I was using a technique known as image swapping. The gist can be seen here, if you roll your mouse over the buttons on the left (<a href="http://www.modernbluedesign.com/Clients/Win-Account/">click here</a>). Its a sweet technique that adds a simple, cool functionality to a site&#8217;s navigation. Here is how to do it:<br />
First, we need to set up the javascript in between the HEAD tags. First, creating the function. It looks like this:</p>
<p>[quickcode:noclick]<br />
<script type="text/javascript"><!--//--><![CDATA[//><!-- sfHover = function() { var sfEls = document.getElementById("pic1").getElementsByTagName("img"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]&gt;</script><br />
[/quickcode]</p>
<p>I am not going to get into how everything is working. I would have to do a big javascript tutorial. Basically, you are  setting up the function of what happens when the mouse rolls over a button, or when it comes off a button. Then, here is the where you assign the actual variables to the pictures you want to change:</p>
<p>[quickcode:noclick]<br />
<script language="JavaScript"> <!-- if (document.images) { image_off= new Image(470,167); image_off.src="images/pic.jpg"        ;</p>
<p>image2= new Image(470,167); image2.src="images/learn-more.jpg"        ; image3= new Image(470,167); image3.src="images/open-account.jpg"        ; image4= new Image(470,167); image4.src="images/about-us.jpg"        ; }</p>
<p>function change1(picName,imgName) { if (document.images) { imgOn=eval(imgName + ".src"); document[picName].src= imgOn; } } //--> </script><br />
[/quickcode]</p>
<p>In the above code, a few things need to change to work on your site. First, for: image_off= new Image(470,167), this needs to be changed to the size of the image. Width, height. This should be changed anywhere you see those numbers in the above code, for each pic you are going to use. On my site the images are staying in the same spot, so the sizes are all the same. Also, anywhere it says images/&#8230;&#8221; this is the relative URL to the pic you want changed. Image2, Image3, Image4, are the 3 pics that I will rotate. So I first assign their width and height, and then the relative URL to where the image I want is. Before this will work, you have to give a title to the default image. Like this:</p>
<p>[quickcode:noclick]<br />
<img src="http://www.modernbluedesign.com/web-design-blog/wp-admin/imageUrl" id="pic1" name="pic1" /><br />
[/quickcode]</p>
<p>Once that&#8217;s done and the javascript code set up, you need to now add the function into the links you want to use to cause the images to change. For example:</p>
<p>[quickcode:noclick]<br />
<a href="http://www.modernbluedesign.com/web-design-blog/wp-admin/yourdomain.com/page" onmouseover="change1('pic1','image2')">Your Link</a><br />
[/quickcode]</p>
<p>The above link will change the default pic above to the src you specify in image2.src above in the javascript. Sorry if this is a bit confusing. I don&#8217;t have enough time to get into how it all works. However, you can easily copy and paste the code and it will work for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/image-swapping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code Snippets</title>
		<link>http://www.modernblue.com/web-design-blog/code-snippets/</link>
		<comments>http://www.modernblue.com/web-design-blog/code-snippets/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 13:28:54 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Design Strategies]]></category>

		<guid isPermaLink="false">http://modernbluedesign.com/web-design-blog/code-snippets/</guid>
		<description><![CDATA[There are a few things often asked of me, regarding some .htaccess stuff. The fist is how to make your domain automatically revert to http://www.yourdomain.com if someone types in http://yourdomain.com. The reason why people are interested in this is because &#8230; <a href="http://www.modernblue.com/web-design-blog/code-snippets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are a few things often asked of me, regarding some .htaccess stuff. The fist is how to make your domain automatically revert to http://www.yourdomain.com if someone types in http://yourdomain.com. The reason why people are interested in this is because google sees that as 2 different sites. By reverting it, you tell google that your site is only with the www (you can also do it without), which will help with consistency of linking. If someone links to your page not using the www and you aren&#8217;t using this, it could hurt you. However if you have this in an .htaccess file uploaded to your root directory, it will revert to www.yourdomain.com no matter how they write out the link to your site. So, in the .htaccess file, here is what you want to put:</p>
<p>[quickcode:noclick]<br />
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^yourdomain\.com [nc]<br />
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]<br />
[/quickcode]</p>
<p>This is an apache re-write. You are basically re-writing any domain without the  www to become  the domain with the www. It is set up as a 301 link, or permanently moved. So when search engine bots come through, they will read the change, and always redirect to the domain you want.</p>
<p>Search engines also will treat yourdomain.com  and yourdomain.com/index.php as two different pages. To change this and revert any /index.php requests back to the home domain, you can do this in the same .htaccess file:</p>
<p>[quickcode:noclick]redirectMatch 301 ^/index\.php(.+)$ http://www.yourdomain.com/$1[/quickcode]</p>
<p>Make sure to be uniform here. It would be counter productive to have /index.php revert to http://yourdomain.com if above you made it re-write to www.yourdomain.com.</p>
<p><span style="font-weight: bold">A Tip: </span>Make sure all URLs for links in your site are absolute, not relative. This will ensure clean spidering, and also help you rank individual pages of your website, which is your goal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.modernblue.com/web-design-blog/code-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

