<?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>WebDesign &#38; Such &#187; Web Design</title>
	<atom:link href="http://webdesignandsuch.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesignandsuch.com</link>
	<description>a Beantown Design Production</description>
	<lastBuildDate>Thu, 29 Jul 2010 00:02:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make the words in a Form Input disappear or be selected on click / focus.</title>
		<link>http://webdesignandsuch.com/2010/06/make-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus/</link>
		<comments>http://webdesignandsuch.com/2010/06/make-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 10:39:27 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[form select]]></category>
		<category><![CDATA[Form Styling]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=774</guid>
		<description><![CDATA[
			
				
			
		

Recently I was creating a contact form for a client&#8217;s website. Due to the fact that the form was in a rather small area, I didn&#8217;t have very much room for the text and inputs. See my solution below.
Usually I would write the name of the input followed by the input like this:
First Name:

Since I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fmake-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fmake-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/clear-input/input-clear.jpg" title="clear a from input on select" class="alignnone" width="422" height="211" style="border:3px solid #000; margin:0 0 15px 0"/></p>
<p>Recently I was creating a contact form for a client&#8217;s website. Due to the fact that the form was in a rather small area, I didn&#8217;t have very much room for the text and inputs. See my solution below.</p>
<p>Usually I would write the name of the input followed by the input like this:</p>
<p style="color: #333; margin-bottom: 0px;"><strong>First Name:</strong></p>
<input style="background-color: #c3effc;" type="text" />
<p>Since I didn&#8217;t have room for that I had to come up with a solution.</p>
<p><span id="more-774"></span></p>
<p style="padding-top: 15px; border-top: 1px dotted #ccc; margin-top: 25px;">The first thing I thought was to add the name of the field as a <strong>value:</strong></p>
<input style="background-color: #c3effc;" type="text" value="First Name:" />
<p style="padding-top: 15px; border-top: 1px dotted #ccc; margin-top: 25px;">What I don&#8217;t like about that solution is that the user has to select the text manually, delete it, and then fill out the field. I wanted the text to disappear when the user clicked into the input. I looked around and figured it out; here&#8217;s how it looks / works finished:</p>
<input onfocus="this.value=''" style="background-color: #c3effc;" type="text" value="First Name:" />
<p style="padding-top: 15px; border-top: 1px dotted #ccc; margin-top: 25px;">All you need to do is add <strong>onfocus=&#34;this.value=&#39;&#39;&#34;</strong> to your input. So the code for this input looks like this:</p>
<div class="codeBox"><code>&lt;input onfocus="this.value=''" type="text" value="First Name:"  /&gt;</code></div>
<p style="padding-top: 15px; border-top: 1px dotted #ccc; margin-top: 25px;">Here&#8217;s one other similar technique that might come in handy. The following input selects the text on input, instead of clearing it.</p>
<input onfocus="this.select()" type="text" value="This text will be selected on click" style="background-color: #c3effc;"/>
<p>Here&#8217;s the code for that technique:</p>
<div class="codeBox">&lt;input onfocus=&#34;this.select()&#34; type=&#34;text&#34; value=&#34;write text here&#34; /&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/make-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a Popup with CSS and Javascript</title>
		<link>http://webdesignandsuch.com/2009/12/how-to-create-a-popup-with-css-and-javascript/</link>
		<comments>http://webdesignandsuch.com/2009/12/how-to-create-a-popup-with-css-and-javascript/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 17:27:23 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Pop Up]]></category>
		<category><![CDATA[Popup]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=709</guid>
		<description><![CDATA[
			
				
			
		

Popups suck.
The good thing is you don&#8217;t see that many of them any more. That&#8217;s because browsers recognize that they suck and are most likely spam or ads and so they block the popups. The old way of creating a popup was to force open a new browser window over the current browser window. So [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fhow-to-create-a-popup-with-css-and-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fhow-to-create-a-popup-with-css-and-javascript%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #000; margin: 0 0 15px 0;" title="css popup" src="http://webdesignandsuch.com/posts/css-popup/pop.gif" alt="" width="422" height="211" /></p>
<h2 style="margin-bottom:20px">Popups suck.</h2>
<p>The good thing is you don&#8217;t see that many of them any more. That&#8217;s because browsers recognize that they suck and are most likely spam or ads and so they block the popups. The old way of creating a popup was to force open a new browser window over the current browser window. So this is what browsers block. But what if you actually have a need to use a popup window for something useful and not spammy? This happened to me the other day. A client wanted a popup window on their homepage to wish everyone a Merry Christmas.</p>
<p>Knowing I couldn&#8217;t use the old popup method, I went searching. I knew it&#8217;d be easy enough to use CSS to put a floating div over the content of the site, which creates a popup effect. The problem was how do you close the popup once it&#8217;s open? Javascript would be needed for this. Check out the demo I setup which shows how the <strong>CSS popup</strong> can be set to open on <strong>pageload</strong> or by <strong>clicking on a link</strong>; and then how Javascript allows you to have a &#8220;close&#8221; button that shuts or hides the popup. Then continue reading for the code and downloadable files.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/css-popup/css-popup.html">View Demo</a></p>
<p><span id="more-709"></span></p>
<p>If you check out the source code of the html file, you&#8217;ll see the following in the body. The &#8220;<strong>blanket</strong>&#8221; is the effect of putting the transparent black background behind the popup, which helps separate it from the rest of the content on the page. The &#8220;<strong>popUpDiv</strong>&#8221; is where you put the content of your popup.</p>
<div class="codeBox">&lt;div id=&#8221;blanket&#8221; style=&#8221;display:none;&#8221;&gt;&lt;/div&gt;<br />
&lt;div id=&#8221;popUpDiv&#8221; style=&#8221;display:none;&#8221;&gt;</p>
<p>&lt;a href=&#8221;#&#8221; onclick=&#8221;popup(&#8216;popUpDiv&#8217;)&#8221; &gt;Click to Close CSS Pop Up&lt;/a&gt;<br />
&lt;/div&gt;<br />
&lt;a href=&#8221;#&#8221; onclick=&#8221;popup(&#8216;popUpDiv&#8217;)&#8221;&gt;Click to Open CSS Pop Up&lt;/a&gt;</p>
</div>
<p>If you want the popup to load on <strong>page load</strong>, put the following in your body tag.</p>
<div class="codeBox">&lt;body   onload=&#8221;popup(&#8216;popUpDiv&#8217;)&#8221;&gt;</div>
<p>Here is the CSS used to style the blanket effect and the popup div. You&#8217;ll see I turned the blanket effect off for Internet Explorer, since it doesn&#8217;t appear to support &#8220;opacity&#8221; (big surprise).</p>
<div class="codeBox">#blanket {<br />
background-color:#111;<br />
opacity: 0.65;<br />
*background:none;<br />
position:absolute;<br />
z-index: 9001;<br />
top:0px;<br />
left:0px;<br />
width:100%;<br />
}</p>
<p>#popUpDiv {<br />
position:absolute;<br />
background:url(pop-back.jpg) no-repeat;<br />
width:400px;<br />
height:400px;<br />
border:5px solid #000;<br />
z-index: 9002;<br />
}</p>
</div>
<p>There is a Javacript file linked to the html file to make some of the magic happen. I&#8217;m going to make the demo files available so you can play with it and make your own. <strong>Enjoy!</strong></p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/css-popup/css-popup.zip">Download Files</a></p>
<p>One last thing.. the original code for this was <a href="http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/">found here</a>. I made some edits to make it work for my application.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/12/how-to-create-a-popup-with-css-and-javascript/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to create a custom iPhone icon for your website</title>
		<link>http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/</link>
		<comments>http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 11:26:55 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=683</guid>
		<description><![CDATA[
			
				
			
		

Here&#8217;s a quick way to further enhance the branding of your website. If you don&#8217;t have an iPhone go get one. Then try bookmarking your website; (go to a website in your iPhone Safari browser, hit the + symbol, and hit &#8220;Add Bookmark&#8220;). What this does is take a small screenshot of the webpage and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fhow-to-create-a-custom-iphone-icon-for-your-website%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fhow-to-create-a-custom-iphone-icon-for-your-website%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border:3px solid #ddd; margin:0 0 15px 0" title="iphone" src="http://webdesignandsuch.com/posts/iphone-icon/iphone.jpg" alt="" width="422" height="329" /></p>
<p>Here&#8217;s a quick way to further enhance the branding of your website. If you don&#8217;t have an iPhone go get one. Then try bookmarking your website; (go to a website in your iPhone Safari browser, hit the <strong>+</strong> symbol, and hit &#8220;<strong>Add Bookmark</strong>&#8220;). What this does is take a small screenshot of the webpage and add it to your iPhone, right next to the other icons you have.</p>
<p>Well forget that, now we can make custom icons, so when somebody bookmarks your website, the icon is one that you actually created! As a designer I might be a little bit TOO excited about this, but hey, this is the stuff I live for. You can see in the above image the two icons I&#8217;ve created for my websites, <a href="http://www.webdesignandsuch.com">WebDesignAndSuch</a> and <a href="http://www.beantowndesign.com">BeantownDesign</a>. So now the icons match the favicons of my websites, and I can just touch them to launch my websites on my iPhone.</p>
<p>Keep reading to see how to create your own iPhone icons.<br />
<span id="more-683"></span><br />
So the process is actually ridiculously easy. First, create your icon at the size of 57&#215;57 pixels. Don&#8217;t create any gloss or rounded edges, the iPhone actually creates both of those for you. You can see in the image below what one of my icons looked like before it was added to the iPhone.</p>
<p><img class="alignnone" title="iphone icon" src="http://webdesignandsuch.com/posts/iphone-icon/icon.jpg" alt="" width="603" height="420" class="frame"/></p>
<p>Next, save your icon as a .png in your website&#8217;s images folder. Then you need to link your website to the icon so the iPhone can do it&#8217;s magic when someone hits &#8220;Add Bookmark&#8221; on their phone.</p>
<h2 class="h-title">Glossy Icon</h2>
<p>This first code is if you want the gloss to appear over your icon. Put this in the head of your website, and of course make sure you set the path to your icon.</p>
<div class="codeBox">&lt;link rel=&#8221;apple-touch-icon&#8221; href=&#8221;images/iphone-icon.png&#8221; /&gt;</div>
<h2 class="h-title">Non-Glossy Icon</h2>
<p>If you don&#8217;t want the gloss for whatever reason you can use this code.</p>
<div class="codeBox"><span><span>&lt;</span><span>link</span><span> </span><span>rel</span><span>=</span><span>&#8220;apple-touch-icon-precomposed&#8221;</span><span> </span><span>href</span><span>=</span><span>&#8220;images/iphone-icon.png&#8221;</span><span> </span><span>/&gt;</span><span><br />
</span></span></div>
<p><strong>There you go, have fun! </strong>If you want to test this out, pop open <a href="http://www.webdesignandsuch.com">WebDesignAndSuch</a> on your iPhone in Safari, and hit &#8220;<strong>Add Bookmark</strong>&#8220;!</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Box-Shadow with CSS3</title>
		<link>http://webdesignandsuch.com/2009/11/using-box-shadow-with-css3/</link>
		<comments>http://webdesignandsuch.com/2009/11/using-box-shadow-with-css3/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:20:54 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Box-Shadow]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=567</guid>
		<description><![CDATA[
			
				
			
		

I showed in a previous post how to use text-shadow with CSS3. Now it&#8217;s time to move on to something that&#8217;s just about as exciting, using Box-Shadow with CSS3. Throw it on a div, on a table, on an image.. anything goes! Of course it doesn&#8217;t work in every browser, but then again not much [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fusing-box-shadow-with-css3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fusing-box-shadow-with-css3%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border:3px solid #ddd; margin:0 0 15px 0; -webkit-box-shadow: 0px 0px 7px #2178c7; -moz-box-shadow: 0px 0px 7px #2178c7" title="box shadow" src="http://webdesignandsuch.com/imagesForPosts/box-shadow.jpg" alt="" width="422" height="211" /></p>
<p>I showed in a <a href="http://webdesignandsuch.com/2009/11/using-text-shadow-with-css3/">previous post</a> how to use text-shadow with CSS3. Now it&#8217;s time to move on to something that&#8217;s just about as exciting, using <strong>Box-Shadow with CSS3</strong>. Throw it on a div, on a table, on an image.. anything goes! Of course it doesn&#8217;t work in every browser, but then again not much I talk about on this site does!</p>
<p>Check out the demo to see some examples and then keep reading to find out how to use <strong>Box-Shadow</strong>.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/box-shadow/box-shadow.html">View Demo</a><br />
<span id="more-567"></span><br />
Below are the examples from the demo page, with the code below it which made the shadow. For each shadow, you need to declare the dimensions for <strong>-webkit-box-shadow:</strong> and <strong> -moz-box-shadow:</strong>, which takes care of any browser that supports the box-shadow at this point.</p>
<p>The three numbers are similar to using text-shadow with CSS3, the first number is <strong>how far right</strong> the shadow is from the &#8220;box&#8221;, the next number is <strong>how far below</strong>, and the final number is the <strong>amount of blur</strong> for the shadow. Finally, you <strong>declare the color</strong> of the shadow.</p>
<p>You&#8217;ll see on a couple of them I used the awesome border-radius to show how the shadow wraps around a rounded corner. If you need a refresher on the border-radius declarations, <a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/">look here</a>. If you want to check out some examples and code of text-shadow, <a href="http://webdesignandsuch.com/2009/11/using-text-shadow-with-css3/">look here</a>.</p>
<div class="codeBox" ><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 2px 2px 4px #000; -moz-box-shadow: 2px 2px 4px #000"/></p>
<p>{<br />-webkit-box-shadow: 2px 2px 4px #000; <br />-moz-box-shadow: 2px 2px 4px #000<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 6px #444; -moz-box-shadow: 6px 6px 6px #444"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 6px #444;<br />-moz-box-shadow: 6px 6px 6px #444<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 4px 4px 6px #fc6; -moz-box-shadow: 4px 4px 6px #FF66CC"/></p>
<p>{<br />-webkit-box-shadow: 4px 4px 6px #F6C;<br />-moz-box-shadow:4px 4px 6px #F6C<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 10px #000; -moz-box-shadow: 6px 6px 10px #000; -webkit-border-radius:12px; -moz-border-radius:12px; border:15px solid #FF9900"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 10px #000; <br />-moz-box-shadow: 6px 6px 10px #000;<br />-webkit-border-radius:12px;<br />
-moz-border-radius:12px; <br />border:15px solid #F90<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 10px #990; -moz-box-shadow: 6px 6px 10px #990; -webkit-border-radius:12px; -moz-border-radius:12px; border:12px solid #000"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 10px #990; <br />-webkit-border-radius:12px; <br />-moz-box-shadow: 6px 6px 10px #990;<br />-moz-border-radius:12px; <br />border:12px solid #000<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 0px 0px 20px #6F0; -moz-box-shadow: 0px 0px 20px #66FF00"/></p>
<p>{<br />-webkit-box-shadow: 0px 0px 20px #6F0;<br />-moz-box-shadow: 0px 0px 20px #6F0<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 0px 0px 30px #000; -moz-box-shadow: 0px 0px 30px #000"/></p>
<p>{<br />-webkit-box-shadow: 0px 0px 30px #000; <br />-moz-box-shadow: 0px 0px 30px #000<br />}</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/11/using-box-shadow-with-css3/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using Smooth Scroll with Page Anchors and Javascript</title>
		<link>http://webdesignandsuch.com/2009/11/using-smooth-scroll-with-page-anchors-and-javascript/</link>
		<comments>http://webdesignandsuch.com/2009/11/using-smooth-scroll-with-page-anchors-and-javascript/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 11:39:42 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=515</guid>
		<description><![CDATA[
			
				
			
		

Using page anchors is a pretty basic web design technique. If you want to link to a certain part of a page you create an &#8220;Anchor&#8221; at that part of the page. This anchor is what you point your link at. You can link to an anchor on the current page, or to an anchor [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fusing-smooth-scroll-with-page-anchors-and-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fusing-smooth-scroll-with-page-anchors-and-javascript%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border:3px solid #ddd; margin:0 0 15px 0" title="smooth scroll" src="http://webdesignandsuch.com/imagesForPosts/smooth-scroll.jpg" alt="" width="422" height="211" /></p>
<p>Using page anchors is a pretty basic web design technique. If you want to link to a certain part of a page you create an &#8220;Anchor&#8221; at that part of the page. This anchor is what you point your link at. You can link to an anchor on the current page, or to an anchor on a certain part of another page. Useful, but not all that exciting.</p>
<p>There is, however a quick way to make even the simple act of scrolling up and down a page more visually appealing. It&#8217;s called <strong>Smooth Scroll</strong>. Check out my demo to see this in action, and then keep reading to learn how to add Smooth Scroll to your website.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/smooth-scroll/">View Demo</a><br />
<span id="more-515"></span></p>
<p>So lets start with the basics. To add an anchor on your page add the following in the place that you want you page to scroll to.</p>
<div class="codeBox">&lt;a name=&#8221;bottom&#8221; id=&#8221;bottom&#8221;&gt;&lt;/a&gt;</div>
<p>Then to point your link at this anchor, use the following. (This is to point to an anchor on the same page as the link.)</p>
<div class="codeBox">&lt;p&gt;&lt;a href=&#8221;#bottom&#8221;&gt;Bottom of the page&lt;/a&gt;&lt;/p&gt;</div>
<p>In case you were wondering, the following is how to point at an anchor on a different page.</p>
<div class="codeBox">&lt;p&gt;&lt;a href=&#8221;pageName.html#bottom&#8221;&gt;Bottom of the page&lt;/a&gt;&lt;/p&gt;</div>
<p>All you need for the Javascript Smooth Scroll effect is to link to the JS file, it does everything else for you.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/smooth-scroll/df_smooth_scroll.zip">Dowload Smooth Scroll Javascript</a></p>
<p>You&#8217;ll see the zip has all original files for the Smooth Scroll. Now I give credit where it&#8217;s due, this entire zip is from <a href="http://www.dezinerfolio.com/" target="_blank">DezinerFolio</a>. Make sure you check those guys out for some great freebies and code.</p>
<p>To link to the Javascript file, put the following in your head.</p>
<div class="codeBox">&lt;script type=&#8221;text/javascript&#8221; src=&#8221;smooth.pack.js&#8221;&gt;&lt;/script&gt;</div>
<p>The javascript file is the only file in the zip that you need to use for the Smooth Scroll to work. Have fun, and if you want to an actual webpage that uses this effect, check out the <a href="http://beantowndesign.com/web-portfolio.html">website portfolio</a> of my website.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/11/using-smooth-scroll-with-page-anchors-and-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to embed a Twitter Feed on your website</title>
		<link>http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/</link>
		<comments>http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:49:15 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=499</guid>
		<description><![CDATA[
			
				
			
		

Lots of people use Twitter. Love it or hate it, it&#8217;s true. I follow other people in the design industry to see what they&#8217;re up to. I use my Twitter page to post updates on things in my life, mostly design related.
One of the great things about Twitter is that you rarely ever go to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fhow-to-embed-a-twitter-feed-on-your-website%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F11%2Fhow-to-embed-a-twitter-feed-on-your-website%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/twitter-feed.jpg" title="twitter" class="alignnone" width="422" height="211" style="border:3px solid #ddd; margin:0 0 15px 0"/></p>
<p>Lots of people use Twitter. Love it or hate it, <strong>it&#8217;s true</strong>. I follow other people in the design industry to see what they&#8217;re up to. I use <a href="http://twitter.com/ilz_" target="_blank">my Twitter page</a> to post updates on things in my life, mostly design related.</p>
<p>One of the great things about Twitter is that you rarely ever go to the actual site. You can use a program like Tweetie or TweetDeck to send all your Tweets. Another great thing is the ability to embed your recent Tweets onto other websites. It&#8217;s a rather simple process, so check out my demo and then keep reading to learn how you can embed your Tweets on your page.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/twitter-feed/embed-twitter-feed.html">View Demo</a><br />
<span id="more-499"></span></p>
<div class="codeBox">&lt;script type=&#34;text/javascript&#34; src=&#34;http://twitter.com/javascripts/blogger.js&#34;&gt;&lt;/script&gt;<br />
&lt;script type=&#34;text/javascript&#34; src=&#34;http://twitter.com/statuses/user_timeline/beantowndesign.json?callback=twitterCallback2&amp;count=1&#34;&gt;&lt;/script&gt;</div>
<p>Copy the above code and paste it right into your XHTML code on your webpage, (right in the body).</p>
<p>All you need to do is replace where I have &#8220;beantowndesign&#8221;. That is my Twitter user name, replace it with yours. The other thing you get to decide is how many of the most recent posts you want to show. Change the part where it says &#8220;count=1&#8243; to however many Tweets you want to show up. For example, in the demo I decided to show my last 3 Tweets.</p>
<p>So that&#8217;s all there is to it.. how you style the text, links, and surrounding environment for the feed is up to you and your creativity.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Create a Shiny &#8220;Web 2.0&#8243; Button</title>
		<link>http://webdesignandsuch.com/2009/10/create-a-shiny-web-2-0-button/</link>
		<comments>http://webdesignandsuch.com/2009/10/create-a-shiny-web-2-0-button/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 01:20:39 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=503</guid>
		<description><![CDATA[
			
				
			
		

Ya.. I said &#8220;Web 2.0&#8220;.. what?
Well if you&#8217;re still here after that, here&#8217;s the deal. I was reading an interesting tutorial about creating a button similar to the one found on the Campaign Monitor website. I actually went ahead and created the button, I always love seeing the approach other designers take at creating things [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fcreate-a-shiny-web-2-0-button%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fcreate-a-shiny-web-2-0-button%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border:3px solid #ddd; margin:0 0 15px 0" title="Shiny Button" src="http://webdesignandsuch.com/imagesForPosts/shiny-button.jpg" alt="" width="422" height="211" /></p>
<p>Ya.. I said &#8220;<strong>Web 2.0</strong>&#8220;.. what?</p>
<p>Well if you&#8217;re still here after that, here&#8217;s the deal. I was reading an interesting tutorial about creating a button similar to the one found on the <a href="http://www.campaignmonitor.com/designer/" target="_blank">Campaign Monitor website</a>. I actually went ahead and created the button, I always love seeing the approach other designers take at creating things in Photoshop.</p>
<p>Well after I created it I figured I may as well put the PSD file up here for anyone that wants to use it. I&#8217;ll give the CSS code to add it to your website as a CSS sprite also. Now I need to give credit where credit is due. The CSS code, and the tutorial of how to make the button are from Jacob Gube over at <a href="http://sixrevisions.com/tutorials/photoshop-tutorials/how-to-create-a-slick-and-clean-button-in-photoshop/" target="_blank">Six Revisions</a>. Check out that link if you want the step by step of how to make this button. </p>
<p>I&#8217;m really putting it up here so I&#8217;ll have easy access to the PSD file in the future so I can download it no-matter where I am, make a few color adjustments, copy the CSS code, and have a new button for whatever I&#8217;m working on that day. Check out the demo to see the button in action, and feel free to download the PSD file of my version of the button. <em>Keep reading for the CSS code.</em></p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/shiny-button/">View Demo</a></p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/shiny-button/shiny-button.psd">Download PSD File</a></p>
<p><span id="more-503"></span></p>
<p>Below is the CSS code for your button and the rollover effect.</p>
<div class="codeBox">.button {<br />
display:block;<br />
width:250px;<br />
height:50px;<br />
text-indent:-9999px;<br />
}<br />
.button a {<br />
display:block;<br />
width:100%;<br />
height:100%;<br />
background:url(button.png) no-repeat top left;<br />
outline:none;<br />
}<br />
.button a:hover {<br />
background-position:0 -50px;<br />
}<br />
body {<br />
margin-left: 0px;<br />
margin-top: 0px;<br />
margin-right: 0px;<br />
margin-bottom: 0px;<br />
}</div>
<p>Below is the XHTML code to put the button on your page.</p>
<div class="codeBox">&lt;p class=&#8221;button&#8221;&gt;&lt;a href=&#8221;link.html&#8221;&gt;Button Text&lt;/a&gt;&lt;/p&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/10/create-a-shiny-web-2-0-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the default Background Color of Text on Selection with CSS</title>
		<link>http://webdesignandsuch.com/2009/10/change-the-default-background-color-of-text-on-selection-with-css/</link>
		<comments>http://webdesignandsuch.com/2009/10/change-the-default-background-color-of-text-on-selection-with-css/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 23:22:07 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Text Selection]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=481</guid>
		<description><![CDATA[
			
				
			
		

Here&#8217;s another interesting thing you can do with your CSS to style your website. We&#8217;ve all selected text from a webpage with our cursor before right? But most likely you never put any thought into what the default background color of the text was when you were selecting it. That is unless the website has [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fchange-the-default-background-color-of-text-on-selection-with-css%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fchange-the-default-background-color-of-text-on-selection-with-css%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/text-selection/colors.gif" title="CSS" class="alignnone" width="422" height="211"  style="border:3px solid #ddd; margin:0 0 15px 0"/><br />
<strong>Here&#8217;s another interesting thing you can do with your CSS to style your website.</strong> We&#8217;ve all selected text from a webpage with our cursor before right? But most likely you never put any thought into what the default background color of the text was when you were selecting it. That is unless the website has a blue background and you can&#8217;t see what you&#8217;re selecting because the default background color of text on selection is blue, causing it to blend in. </p>
<p>Lets get right to the example I set up so you can see what I&#8217;m talking about. Not only can you control the background color of the text when you select it with your cursor, but you can also change the color of the text itself on select.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/text-selection/">View Demo</a><br />
<span id="more-481"></span></p>
<p>So I&#8217;m not even going to get into the whole <em>&#8220;This only works in this browser, this version, blah blah&#8221;</em>. I assume anyone using this website knows the ins and outs of browsers and uses a <strong><a href="http://www.mozilla.com/en-US/firefox/personal.html">real browser</a></strong>. That being said, here is the code I used to change the colors on the demo page.</p>
<div class="codeBox">#second p::selection {<br />
background:#F3F;<br />
}<br />
#second p::-moz-selection {<br />
background:#F3F;<br />
}</p>
<p>#third p::selection {<br />
background:#F93; color:#339;<br />
}<br />
#third p::-moz-selection {<br />
background:#F93; color:#339;<br />
}</p>
<p>#forth p::selection {<br />
background:#000; color:#FFF<br />
}<br />
#forth p::-moz-selection {<br />
background: #000; color:#FFF<br />
}</p></div>
<p>So that&#8217;s all there is to it. One of those things that might not make or break a website, but is a nice touch to make your site even more custom, or perhaps even more user friendly.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/10/change-the-default-background-color-of-text-on-selection-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Navigation with an Unordered List &amp; CSS3</title>
		<link>http://webdesignandsuch.com/2009/10/create-a-navigation-with-an-unordered-list-css3/</link>
		<comments>http://webdesignandsuch.com/2009/10/create-a-navigation-with-an-unordered-list-css3/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 11:42:04 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=465</guid>
		<description><![CDATA[
			
				
			
		

Using an unordered list is a simple and easy to style method of creating a navigation bar. Now with CSS3 and round corners created by the browser, it&#8217;s even easier to make a nice and clean nav. I introduced CSS3&#8217;s border-radius in a previous post, located here.
Check out the example I created, and then keep [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fcreate-a-navigation-with-an-unordered-list-css3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fcreate-a-navigation-with-an-unordered-list-css3%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><a href="http://webdesignandsuch.com/posts/nav/ul-nav.html"><img class="alignnone" title="nav" src="http://webdesignandsuch.com/posts/nav/nav.jpg" alt="" width="422" height="140" class="frame"/></a></p>
<p>Using an unordered list is a simple and easy to style method of creating a navigation bar. Now with CSS3 and round corners created by the browser, it&#8217;s even easier to make a nice and clean nav. I introduced CSS3&#8217;s border-radius in a previous post, <a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/">located here</a>.</p>
<p>Check out the example I created, and then keep reading to find out how to create the above nav with nothing more than some CSS.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/nav/ul-nav.html">View Demo</a><br />
<span id="more-465"></span><br />
<strong>First create your unordered list in your XHTML.</strong></p>
<div class="codeBox">&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221; class=&#8221;current&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</div>
<p>The first thing to do with your CSS is to make your unordered list display on the same line, and with no bullet points.</p>
<div class="codeBox">ul {list-style-type:none}<br />
li {display:inline}</div>
<p><strong>The next step is to style the links.</strong> We&#8217;ll add some padding around the links to space them out, and to give the background color the width and height we want. On the hover state of the links I made the border appear as you roll over the link. </p>
<p>You&#8217;ll see I made an &#8220;active&#8221; state for the current page you are on. I set the cursor for the active state to be the &#8220;default&#8221; cursor. This is so when you roll over the link of the current page you are on the pointer cursor will turn into the arrow, giving the illusion that it isn&#8217;t a link (even though it really is).</p>
<div class="codeBox">a:link, a:visited {text-decoration:none; color:#ccc; border:#000 1px solid; padding:5px 15px; -webkit-border-radius:10px; -moz-border-radius:10px}</p>
<p>a:hover, a:active {text-decoration:none; color:#ccc; border:#333 1px solid; padding:5px 15px; -webkit-border-radius:10px; -moz-border-radius:10px }</p>
<p>a.current {-webkit-border-radius:10px; -moz-border-radius:10px; background:#333; color:#FFF; border:#333 1px solid; cursor:default}</p></div>
<p>So there it is, with this basic foundation and your imagination you can make a variety of looks for your navigation. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/10/create-a-navigation-with-an-unordered-list-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create an Animated Favicon for your website or Wordpress blog</title>
		<link>http://webdesignandsuch.com/2009/10/how-to-create-an-animated-favicon-for-your-website-or-wordpress-blog/</link>
		<comments>http://webdesignandsuch.com/2009/10/how-to-create-an-animated-favicon-for-your-website-or-wordpress-blog/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:05:13 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Animated Favicon]]></category>
		<category><![CDATA[Favicon]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=445</guid>
		<description><![CDATA[
			
				
			
		
So you know what a favicon is..right? At least pretend you know what it is.. it&#8217;s the little picture that shows up in your browser bar right next to the domain name of the website you&#8217;re on. In this example you can see how the WebDesign&#038;Such favicon appears in the browser bar and in the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fhow-to-create-an-animated-favicon-for-your-website-or-wordpress-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F10%2Fhow-to-create-an-animated-favicon-for-your-website-or-wordpress-blog%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><strong>So you know what a favicon is..right?</strong> At least pretend you know what it is.. it&#8217;s the little picture that shows up in your browser bar right next to the domain name of the website you&#8217;re on. In this example you can see how the WebDesign&#038;Such favicon appears in the browser bar and in the Firefox tab. You can also see the <a href="http://www.smashingmagazine.com/">Smashing Magazine</a> favicon (free shout for those guys).</p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/favicon.jpg" title="favicon" class="alignnone" width="494" height="110" style="border:3px solid #edf2f6; "/></p>
<p>If you need to know how to add a regular favicon to your post or Wordpress blog, I covered this in a previous post. <a href="http://webdesignandsuch.com/2009/01/how-to-create-add-a-favicon-to-your-website-or-wordpress-blog/">Check it out here</a>, there is also a link to the Photoshop plugin that you need to create the ico file.</p>
<p>The topic I&#8217;m going to cover today is slightly different however, I&#8217;m going to show you how to make an <strong>animated favicon</strong>.. niiiice! Here&#8217;s an example of an animated favicon, <img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/favicon.gif" title="favicon" class="alignnone" width="16" height="16" class="frame" style="padding-left:3px; padding-right:3px"/>this is the favicon I used on a previous version of <a href="http://beantowndesign.com/">BeantownDesign.com</a></p>
<p><span id="more-445"></span></p>
<p>Create a new document in Photoshop with a different layer for each state that you want in your animation. I&#8217;ll show you the process of creating the current animated favicon on <a href="http://beantowndesign.com/">BeantownDesign.com</a>; which is a rather simple favicon with only two states, one black and one blue. </p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-6.jpg" title="Favicon" class="alignnone" width="443" height="379" class="frame"/></p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-7.jpg" title="favicon" class="alignnone" width="436" height="369" class="frame"/></p>
<p>You&#8217;ll see I have one layer for the black state and one for the blue state. Next step is to open the animation controls in Photoshop (located under Window in the menu). I&#8217;m not going to go into depth the process of creating an animated gif, it&#8217;s rather simple. Just create a new frame for each layer, choose the speed and you&#8217;re done.</p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-8.jpg" title="favicon" class="alignnone" width="172" height="345" class="frame"/></p>
<p>The important thing here is how you save the file. I should probably mention again that your file size needs to be <strong>16&#215;16 pixels</strong>. Design it larger and then drop it down to this size. </p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-11.jpg" title="favicon" class="alignnone" width="464" height="367" class="frame"/></p>
<p>So when you <strong>save this file</strong>, you are saving it as two things. First you save it as a .ico format, which is the regular favicon file format. Again, if you need the Photoshop plugin to create this file format, <a href="http://webdesignandsuch.com/2009/01/how-to-create-add-a-favicon-to-your-website-or-wordpress-blog/">check out this previous post</a>. Next you need to save it a gif. This is how we get the animation. So why save it as two versions you ask? Because like all things that are worth doing on the web, not all browsers support animated favicons **cough<em>InternetExplorer</em>cough**.<br />
<img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-13.jpg" title="favicon" class="alignnone" width="344" height="230" class="frame"/></p>
<p><strong>Now lets move to the head of your html document.</strong> Here is how you call your favicon in. We link both the regular version of the favicon for non-compliant browsers, and then the animated version for people that are worthy. If the browser supports the animated version it ignores the regular version. So that&#8217;s it..you&#8217;re done!<br />
<img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-15.jpg" title="favicon" class="alignnone" width="360" height="34" class="frame"/><br />
<strong>Something to keep in mind.</strong> My example uses a very simple animation, but let your creativity really flow. You can make a banner effect by having a long image and moving it slowly frame by frame.. or a zoom in, zoom out effect..the possiblities are endless.</p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/favicon/Picture-16.jpg" title="favicon" class="alignnone" width="49" height="37" class="frame"/></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/10/how-to-create-an-animated-favicon-for-your-website-or-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
