<?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; Downloads</title>
	<atom:link href="http://webdesignandsuch.com/category/downloads/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>Create a .htaccess file to redirect to a 404.html page</title>
		<link>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/</link>
		<comments>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 13:45:29 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[htaccess]]></category>

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

A 404 error is what happens when you try to access a page on a website that doesn&#8217;t exist. We&#8217;ve all gotten them; due to typos, a moved file, whatever the case. As designers / developers we need to make sure we help the users of our websites should this happen to them. The last [...]]]></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%2Fcreate-a-htaccess-file-to-redirect-to-a-404-html-page%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fcreate-a-htaccess-file-to-redirect-to-a-404-html-page%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/404/404.jpg" title="htaccess page" class="alignnone" width="422" height="227" style="border:3px solid #b96d04; margin:0 0 15px 0"/></p>
<p>A 404 error is what happens when you try to access a page on a website that doesn&#8217;t exist. We&#8217;ve all gotten them; due to typos, a moved file, whatever the case. As designers / developers we need to make sure we help the users of our websites should this happen to them. The last thing we want is for them to get an ugly 404 error, get discouraged, and exit your website.</p>
<p>Instead, you want to create a custom 404 webpage, and redirect the user to this page should the error happen to them. This is done by uploading a .htaccess page to the root of your website.<br />
<span id="more-882"></span><br />
Simply create a text document named htaccess in any text editor, and copy past the following code.</p>
<div class="codeBox">&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
ErrorDocument 404 /404.html<br />
&lt;/IfModule&gt;</div>
<p>What that code is doing is redirecting the user to 404.html. Obviously you can name the page anything, just make sure to change the code. Upload the file, put a dot in font of the name ( so it&#8217;s <strong>.htaccess</strong> ), and you&#8217;re all set. Go to your site and type in a page that you know doesn&#8217;t exist. You should be re-directed to your new 404.html page.</p>
<p>Speaking of your new 404.html page, make sure when you create it you help the user along. Check out the 404 page I made for my website, BeantownDesign.com </p>
<p><a class="demo-link" href="http://beantowndesign.com/404.html">Beantown Design 404.html page</a></p>
<p>You can see it&#8217;s rather simple, but I point the user to the three things I consider to be the most important on my site: my home page, my portfolio, and of course my contact page. You can do whatever you want, just make sure you are making your user&#8217;s life easier.</p>
<p><strong>Here is a htaccess file you can download and use.</strong></p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/404/htaccess.zip">Download File</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FancyMoves A new jQuery Product Slider</title>
		<link>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/</link>
		<comments>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 13:45:34 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Slider]]></category>

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

Need a nice looking product slider for you website? 
Introducing FancyMoves, a new jQuery Product slider for your website or blog. This slider is built off the Moving Boxes slider, with FancyBox for expanding images.

Slider features:

Images shrink as they leave the slider 
Keyboard Navigation (use your keyboard arrows to move to the last / next [...]]]></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%2Ffancymoves-jquery-product-slider%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Ffancymoves-jquery-product-slider%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><a href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/index.html" target="_blank" style="background:none"><img alt="" src="http://webdesignandsuch.com/posts/jquery-product-slider/slider.jpg" title="jQuery product slider" class="alignnone" width="422" height="211" style="border:3px solid #000; margin:0 0 15px 0; "/></a></p>
<p><strong><span style="font-size:17px; color:#333">Need a nice looking product slider for you website?</span></strong> </p>
<p>Introducing <strong>FancyMoves</strong>, a new jQuery Product slider for your website or blog. This slider is built off the <a href="http://css-tricks.com/moving-boxes/">Moving Boxes slider</a>, with <a href="http://fancybox.net/">FancyBox</a> for expanding images.</p>
<div class="codeBox">
<strong><span style="font-size:17px; color:#333">Slider features:</span></strong></p>
<ul>
<li style="margin-bottom:8px"><strong>Images shrink as they leave the slider </strong></li>
<li style="margin-bottom:8px"><strong>Keyboard Navigation </strong><br />(use your keyboard arrows to move to the last / next product)</li>
<li style="margin-bottom:8px"><strong>Click on images to navigate</strong></li>
<li style="margin-bottom:8px"><strong>CSS opacity for rollover effect on buttons</strong></li>
<li ><strong>FancyBox built in for expanding images</strong><br />(left / right buttons on rollover for other image views)</li>
</ul>
</div>
<p><a style="margin:15px 0" class="demo-link" href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/index.html" target="_blank">View Demo</a></p>
<p><span id="more-821"></span></p>
<p style="margin:15px 0"><strong>FancyMoves</strong> is a great slider to show off services, products, or whatever you can dream up. The main image is enlarged to attract your focus. There are three ways to navigate to the next / last item: using your keyboard arrows, using the left and right arrows on the sides of the slider, or simply clicking on the next or last item in the slider.</p>
<p><img alt="" src="http://webdesignandsuch.com/posts/jquery-product-slider/examp.jpg" title="jQuery slider" class="alignnone" width="510" height="277" /></p>
<p>FancyBox is built in so you can have images enlarge with an overlay effect on the screen. Hovering over the enlarged photo shows arrows, allowing you to navigate to other images within the group. Any of the FancyBox features can be added to the code of course, for different effects including: speed, overlay styles, expanding transitions, etc.</p>
<p>This slider is brought to you for free thanks to good old open source on the web. If you use it, shoot me a message and I&#8217;ll link your site here for others to see. </p>
<p>Don&#8217;t forget to check out <strong><a href="http://shop.ugmonk.com" target="_blank" />Ugmonk</a></strong>, where you can actually buy the products from the demo slider.
<p>Want to set the slider to autoplay? Check out my <strong><a href="http://webdesignandsuch.com/2010/06/set-the-jquery-moving-boxes-slider-to-autoplay/">demo here</a></strong> for info.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/FancyMoves.zip" >Download FancyMoves</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to test if your server supports / is running PHP.</title>
		<link>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/</link>
		<comments>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 12:45:02 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[testing]]></category>

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


If you&#8217;re going to use PHP on a website the server needs to be running PHP right? Well duuh! If you work on a variety of websites for a lot of clients, you&#8217;re going to deal with different hosts and servers. Before you hook up a form to PHP or whatever else you are planning [...]]]></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%2Fhow-to-test-if-your-browser-supports-is-running-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fhow-to-test-if-your-browser-supports-is-running-php%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #d398ac; margin: 0 0 15px 0;" title="How to test a server for PHP" src="http://webdesignandsuch.com/posts/test-php/php-test.jpg" alt="" width="422" height="227" /></p>
<p>
If you&#8217;re going to use PHP on a website the server needs to be running PHP right? Well duuh! If you work on a variety of websites for a lot of clients, you&#8217;re going to deal with different hosts and servers. Before you hook up a form to PHP or whatever else you are planning on doing, you better make sure the server can run PHP if it isn&#8217;t.</p>
<p>
The quickest way to test servers for PHP is to create a testing PHP file that you can upload to a clients website to see if PHP is running. The good thing about this is you can reuse it for every site. You simply upload this to the server, and try to open it in your web browser. If it works, you&#8217;ll see an html page with the info about the PHP running on the server. If it isn&#8217;t running PHP, well you won&#8217;t see anything!</p>
<p>
Keep reading for the code to make your own. I also provide mine as a download to save you time.</p>
<p><span id="more-805"></span></p>
<p>
If you want to create your own, just create a document called <strong>info.php</strong>. Within this file paste the following text:
</p>
<div class="codeBox">&lt;?php<br />
phpinfo();<br />
?&gt;</div>
<p>Once you upload that, try to open it in your browser. If it works, it&#8217;ll show the info about the PHP running on the server. If it doesn&#8217;t work&#8230;well you better call the host.
<p>Speaking of hosts, <a href="http://www.BlueHost.Com/track/beantowndesign/hosting-ad">here&#8217;s the host I recommend to all my clients</a>, and use for all of my personal websites, including <a href="http://www.webdesignandsuch.com">WebDesignAndSuch.com</a> and <a href="http://www.beantowndesign.com">BeantownDesign.com</a></p>
<p>Anyway, back to the PHP topic, here is a info.php file like I mentioned above. Figured I&#8217;d save you some time. Happy coding!</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/test-php/info.php.zip">Download info.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/feed/</wfw:commentRss>
		<slash:comments>2</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>Embed a Twitter Feed on your website with jQuery</title>
		<link>http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/</link>
		<comments>http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 01:17:34 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Twit]]></category>

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

In a previous post I showed possibly the easiest way to embed a Twitter feed on your website. This brought up a couple of questions from some users.
1. Can you make a background behind individual Tweets?
2. Can you put the date on it&#8217;s own separate line?
As the case goes with a lot of things these [...]]]></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%2Fembed-a-twitter-feed-on-your-website-with-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fembed-a-twitter-feed-on-your-website-with-jquery%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/jQuery-twitter/twitter.jpg" title="embed twitter" class="alignnone" width="422" height="211" style="border:3px solid #ddd; margin:0 0 15px 0"/></p>
<p>In a <a href="http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/">previous post</a> I showed possibly the easiest way to embed a Twitter feed on your website. This brought up a couple of questions from some users.</p>
<p><strong>1. Can you make a background behind individual Tweets?<br />
2. Can you put the date on it&#8217;s own separate line?</strong></p>
<p>As the case goes with a lot of things these days <em><strong>jQuery to the rescue</strong></em>! Check out the demo to see both of these things in action, and then continue reading to see how to accomplish these things with jQuery and download the source files.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jQuery-twitter/">View Demo</a><span id="more-612"></span></p>
<p>The jQuery and CSS code to make this happen came from Chris over at CSS-Tricks. I slimmed down and edited it to make it work for me. Here is a zip of the files used for the demo so you can download and edit it as you want.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jQuery-twitter/jQuery-twitter.zip">Download Files</a></p>
<p>You&#8217;ll see in the head of the index page the jQuery which makes it work. The line you need to change is the following:</p>
<div class="codeBox">
<strong>http://twitter.com/status/user_timeline/<span style="color:#09a1dc">ilz_</span>.json?<span style="color:#09a1dc">count=5</span>&#038;callback=?</strong></div>
<p>First replace the part I highlighted in Blue &#8220;ilz_&#8221; with your Twitter user name.<br/><br />
Next, replace &#8220;count=5&#8243; with the number of tweets you want to show up on your page.</p>
<p>Other than that, you should be able to style the rest of the text, links, etc. as long as you know basic CSS. <strong>Enjoy!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery Product Slider</title>
		<link>http://webdesignandsuch.com/2009/12/jquery-product-slider/</link>
		<comments>http://webdesignandsuch.com/2009/12/jquery-product-slider/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 17:49:46 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Javascript]]></category>

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

Recently I was put in charge of creating a product slider for a client&#8217;s website. There would be four products shown at a time, with one new product being revealed each time as the slider moved from the right to the left. I figured there was a jQuery slider out there that I could manipulate [...]]]></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%2Fjquery-product-slider%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=?url=http%3A%2F%2Fwebdesignandsuch.com%2F2009%2F12%2Fjquery-product-slider%2F&amp;style=normal" height="61" width="51" /><br />
			</a>
		</div>
<p><a href="http://webdesignandsuch.com/posts/jquery-slider/"><img alt="" src="http://webdesignandsuch.com/posts/jquery-slider/pic.jpg" title="jQuery slider" class="alignnone" width="422" height="211" style=" margin:0 0 15px 0" /></a></p>
<p>Recently I was put in charge of creating a product slider for a client&#8217;s website. There would be four products shown at a time, with one new product being revealed each time as the slider moved from the right to the left. I figured there was a jQuery slider out there that I could manipulate for this, and after a little hunting I found one. </p>
<p>The actual slider and website I created it for isn&#8217;t live yet. I used the base slider I created and used a few Apple images to show the general idea in the demo. So check out the demo, and then keep reading to see the details.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jquery-slider/">View Demo</a><br />
<span id="more-602"></span><br />
So the original code for this slider is <a href="http://sorgalla.com/jcarousel/" target="_blank">jCarousel</a>. I figured I would put up this demo to show how with a few modifications to the code you can create a useful product slider. You&#8217;ll notice how it&#8217;s created with an unordered list. I also showed how you can use rollover effects, and link each image to a webpage; which is obviously the point of the slider in the first place.</p>
<p>The slider has an autoplay feature. I added some code to the original jCarousel to make the slider go only one product at a time. This is in the head of the index.html file. The line &#8220;<strong>scroll: 1</strong>&#8220;. If you want it to scroll 2 items, change it to 2, and so on.</p>
<p>Now I admit the code here isn&#8217;t the prettiest, but as I mentioned this was created strictly for the demo, to show some of the possibilities. I&#8217;m going to provide all these files in a .zip file for download, in case you want to play around with the slider. Enjoy!</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jquery-slider/jquery-slider.zip">Download the Files</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2009/12/jquery-product-slider/feed/</wfw:commentRss>
		<slash:comments>1</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>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>
	</channel>
</rss>
