<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Jeffrey Richardson</title>
	
	<link>http://jrichardsonweb.com</link>
	<description>Css Programmer and Oklahoma City Freelancer</description>
	<lastBuildDate>Fri, 25 Feb 2011 22:15:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/forthedeadtravelfast/zVyu" /><feedburner:info uri="forthedeadtravelfast/zvyu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>forthedeadtravelfast/zVyu</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Avoiding Burnout</title>
		<link>http://feedproxy.google.com/~r/forthedeadtravelfast/zVyu/~3/0yGncHSN-MQ/</link>
		<comments>http://jrichardsonweb.com/avoiding-burnout/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 06:38:57 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Off Topic]]></category>

		<guid isPermaLink="false">http://jrichardsonweb.com/?p=348</guid>
		<description><![CDATA[As a full time Web Developer its easy to become over worked, pulling 10 &#8211; 14 hour days is something that tends to happen when it a deadline approaches. How does a professional avoid this? I have a few ideas that have helped me and I hope they will help anyone else looking for some [...]]]></description>
			<content:encoded><![CDATA[<p>As a full time Web Developer its easy to become over worked, pulling 10 &#8211; 14 hour days is something that tends to happen when it a deadline approaches. How does a professional avoid this? I have a few ideas that have helped me and I hope they will help anyone else looking for some advice.</p>
<h3>Work on a personal web project</h3>
<p>Working on a personal project, whether it be a cool new web app idea, or just a site blogging about loving to knit <img src='http://jrichardsonweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , it&#8217;s a great way to escape the daily grind, while still updating your skills. Its something I tend to do very often on my movie review site.</p>
<h3>Don&#8217;t be afraid to take a break</h3>
<p>Taking a break from working can really help avoid burnout. Watching a movie when you would normally be working, taking a walk, anything to basically pull you away from working even if its just for a few minutes can make a world of difference. It may not be as easy if you work in an environment that won&#8217;t allow you to take these types of breaks, but finding little breaks between your day will help.</p>
<h3>Take a vacation</h3>
<p>The last idea would just be to take a one or two week vacation, and you don&#8217;t work on anything related to the web. When I&#8217;ve taken these types of breaks mid way through I find myself trying not to start doing little bits of work because I start to miss it.</p>
<img src="http://feeds.feedburner.com/~r/forthedeadtravelfast/zVyu/~4/0yGncHSN-MQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jrichardsonweb.com/avoiding-burnout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://jrichardsonweb.com/avoiding-burnout/</feedburner:origLink></item>
		<item>
		<title>Using Jquery Cycle Plugin as infinite Carousel</title>
		<link>http://feedproxy.google.com/~r/forthedeadtravelfast/zVyu/~3/5zLm47-fFeU/</link>
		<comments>http://jrichardsonweb.com/using-jquery-cycle-plugin-as-infinite-carousel/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 04:02:17 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jrichardsonweb.com/?p=302</guid>
		<description><![CDATA[I don&#8217;t know about you but I absolutely love jQuery plugins. They have came in handy on countless amount of projects, but there are occasions when they don&#8217;t quite do what you&#8217;d like.  For this example I am going to modify jQuery Cycle and make it act as an infinite carousel on a list of [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know about you but I absolutely love jQuery plugins. They have came in handy on countless amount of projects, but there are occasions when they don&#8217;t quite do what you&#8217;d like.  For this example I am going to modify jQuery Cycle and make it act as an infinite carousel on a list of items. Lets get our hands dirty and begin <img src='http://jrichardsonweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<h2><a target="_new" href="http://demos.jrichardsonweb.com/jCycleSel/">VIEW FULL DEMO AND CODE</a></h2>
<h3>The HTML</h3>
<p>The html strucutre is very simple. You have a main container div with an id of featuredProducts. You have a div with a class of wrapper followed by the ul with a class of productfeaturelist. The rest are just li items as many as you&#8217;d like.</p>
<pre>
   &lt;div id="featuredProducts"&gt;
       &lt;div class="wrapper"&gt;
          &lt;ul class="productfeaturelist'"&gt;
		&lt;li class="productItem"&gt;
    		&lt;a   href="#"&gt;&lt;img src="images/insideProductsample.jpg" alt="Sample 5" border="0" /&gt;&lt;/a&gt;
    		&lt;a href="/testcat1/sample-5"&gt;Sample 1&lt;/a&gt;

    		&lt;span class="price"&gt;Price&lt;/span&gt;
   	 		&lt;span class="priceInfo"&gt;$800.00&lt;/span&gt;
    		&lt;/li&gt;
    		&lt;li class="productItem"&gt;
    		&lt;a   href="#"&gt;&lt;img src="images/insideProductsample.jpg" alt="Sample 5" border="0" /&gt;&lt;/a&gt;
    		&lt;a href="/testcat1/sample-5"&gt;Sample 2&lt;/a&gt;
    		&lt;span class="price"&gt;Price&lt;/span&gt;

   	 	&lt;span class="priceInfo"&gt;$800.00&lt;/span&gt;
    		&lt;/li&gt;
    		&lt;li class="productItem"&gt;
    		&lt;a   href="#"&gt;&lt;img src="images/insideProductsample.jpg" alt="Sample 5" border="0" /&gt;&lt;/a&gt;
    		&lt;a href="/testcat1/sample-5"&gt;Sample 3&lt;/a&gt;
    		&lt;span class="price"&gt;Price&lt;/span&gt;
   	 	&lt;span class="priceInfo"&gt;$800.00&lt;/span&gt;

    		&lt;/li&gt;
    		&lt;li class="productItem"&gt;
    		&lt;a   href="#"&gt;&lt;img src="images/insideProductsample.jpg" alt="Sample 5" border="0" /&gt;&lt;/a&gt;
    		&lt;a href="/testcat1/sample-5"&gt;Sample 4&lt;/a&gt;
    		&lt;span class="price"&gt;Price&lt;/span&gt;
   	 	&lt;span class="priceInfo"&gt;$800.00&lt;/span&gt;
    		&lt;/li&gt;

		&lt;/ul&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<h3>The CSS</h3>
<p>The css again is pretty simple, I&#8217;m only applying the css that matters the most to the elements. You can view the full css file in the demo.</p>
<p>The featureProducts div has a set width and a few more properties the most important is the position being set to relative. From there the wrapper div again has properties the most important of these being the overflow: hidden hiding the extra unordered lists outside of the wrapper area. I float the unordered list left and set a fixed width on it. This will make each element stack up beside each other. And last but not least don&#8217;t forget to float the list items and set a width on these to ensure the actual list items will work and look properly.</p>
<pre>

#featuredProducts {
	width: 689px;
	margin: 0 auto;
	height: 200px;
	position: relative;
}
#featuredProducts .wrapper {
	width: 649px;
	margin: 0 20px;
	overflow: hidden;
	height: 200px;
	position: relative;
}
#featuredProducts ul {
	width: 649px;
	float: left;
	height: 200px;
	margin: 0;
	padding: 0 0 0 0px;
	list-style: none;
}
#featuredProducts ul ul {
	margin: 0;
	padding: 0;
}
#featuredProducts ul li,
#featuredProducts ul li.productItem {
	float: left;
	width: 120px;
	padding: 16px 17px;
	height: 200px;
	position: relative;
}
#featuredProducts #archivePrev{
	width: 30px;
	height: 30px;
	background: url(images/prevbtn.gif) no-repeat top center;
	position: absolute;
	top: 50px;
	left: 0px;
	cursor: pointer;
	display: block;
	text-indent: -9999px;
}
#featuredProducts a#archiveNext {
	width: 22px;
	height: 22px;
	background: url(images/nextbtn.gif) no-repeat top right;
	position: absolute;
	top: 50px;
	right: 0px;
	cursor: pointer;
	display: block;
	text-indent: -9999px;
}
</pre>
<h3>The Javsacript</h3>
<p>The javascript is straightforward.</p>
<p>The max items variable can be set to anything you like but once you set it to a certain number each new ul will only have that many items in it at most and the slider will work according to the ul elements its sliding.</p>
<p>The jquery Each function is actually a for loop. You just need to pass in a variable in the anonymous function, which in this case is i. When the if statement passes as true, or when you get more then 4 items append a new ul element with the new children at the end of the last element of the current ul.</p>
<p>Once that is all done I create the forward and previous buttons on the fly and append that to the div with an id of featured products. Finally, after you are sure you have an unordered list and the next and previous buttons on the page then apply the jquery cycle plugin with the options I set.</p>
<p>That&#8217;s all there is for the javascript the rest is all in the css and html structure.</p>
<pre>
var maxItems = 4;
$(".wrapper li").each(function(i){
	if(i%maxItems == 0 &#038;&#038; i&gt;=maxItems){ $(".wrapper")
.append("&lt;ul class='productfeaturelist'&gt;&lt;/ul&gt;");}
	$(".wrapper .productfeaturelist").last().append(this);
});

/* ADD NEXT AND PREVIOUS BUTTON ONLY IF JAVASCRIPT ENABLED */
$("#featuredProducts").append('&lt;a id="archiveNext"
class="fixPNG archiveNext" href="javascript:;"&gt;N&lt;/a&gt;
&lt;a id="archivePrev" class="fixPNG archivePrev" href="javascript:;"&gt;P&lt;/a&gt;');

$('.wrapper').cycle({
	fx:     'scrollHorz',
	speed:  '600',
	timeout: 0,
	next:   '.archiveNext',
	prev:   '.archivePrev'
});
</pre>
<img src="http://feeds.feedburner.com/~r/forthedeadtravelfast/zVyu/~4/5zLm47-fFeU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jrichardsonweb.com/using-jquery-cycle-plugin-as-infinite-carousel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://jrichardsonweb.com/using-jquery-cycle-plugin-as-infinite-carousel/</feedburner:origLink></item>
		<item>
		<title>Redesign</title>
		<link>http://feedproxy.google.com/~r/forthedeadtravelfast/zVyu/~3/6rfAqq8upWY/</link>
		<comments>http://jrichardsonweb.com/redesign/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 00:03:59 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://jeffreyrichardson.forthedeadtravelfast.com/?p=148</guid>
		<description><![CDATA[My site was live for all of 3 weeks when i decided the plain site wasn&#8217;t going to do it. I wanted to show my skills by using jquery and a great custom design&#8230; So that&#8217;s just what i did. I planned a great design and last night started working on it. Today its live. [...]]]></description>
			<content:encoded><![CDATA[<p>My site was live for all of 3 weeks when i decided the plain site wasn&#8217;t going to do it. I wanted to show my skills by using jquery and a great custom design&#8230; So that&#8217;s just what i did.</p>
<p>I planned a great design and last night started working on it. Today its live. I would love to hear what everyone thinks of the design.</p>
<p>Thanks guys and girls <img src='http://jrichardsonweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/forthedeadtravelfast/zVyu/~4/6rfAqq8upWY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jrichardsonweb.com/redesign/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://jrichardsonweb.com/redesign/</feedburner:origLink></item>
		<item>
		<title>My very own Cms</title>
		<link>http://feedproxy.google.com/~r/forthedeadtravelfast/zVyu/~3/S9BHG4H-peE/</link>
		<comments>http://jrichardsonweb.com/my-very-own-cms/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 13:27:03 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Off Topic]]></category>

		<guid isPermaLink="false">http://jeffreyrichardson.forthedeadtravelfast.com/?p=130</guid>
		<description><![CDATA[My two favorite Cms&#8217;s are for sure Light and WordPress. I enjoy light because of the ease of integration and the built in functionality. There is one issue I have faced. I have an amazing site I would like to build. Its been a brain child of mine ever since I got into development.  I [...]]]></description>
			<content:encoded><![CDATA[<p>My two favorite Cms&#8217;s are for sure Light and WordPress. I enjoy light because of the ease of integration and the built in functionality. There is one issue I have faced. I have an amazing site I would like to build. Its been a brain child of mine ever since I got into development.  I want to create a myspace type social networking site except have it be a battle of the bands type site. Fans and bands both register and bands have the same options as on a myspace type account and the fans can befriend each other but they can also become fans of bands. There is deeper details then this but this is the generic blue print.</p>
<p>I always seem to run into one issue&#8230; there isn&#8217;t an open source platform out there with this functionality. Sure, there is elgg and I&#8217;ve tried it a little but not wanting to have to hack it I decided on a solution that would take longer but in the end cheaper and more rewarding&#8230;. I am creating the cms/social network myself.</p>
<p>I have always done a little php so this wasn&#8217;t a huge step but learning to create a full web application is a little rough. I am doing it and going through every tutorial I can get my hands on, to get up to speed.  I can&#8217;t even begin to think of the possibilities of building my own social network app. How amazing will it be to just write up some custom code and get a new fuction out of your site?</p>
<p>I will blog about the social network from time to time. Right now i&#8217;m starting with a simple cms and hoping to expand on this.Its going to be great and even if i don&#8217;t ever get my dream site done I will at least have expanded a ton of knowledge in the process.</p>
<img src="http://feeds.feedburner.com/~r/forthedeadtravelfast/zVyu/~4/S9BHG4H-peE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jrichardsonweb.com/my-very-own-cms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://jrichardsonweb.com/my-very-own-cms/</feedburner:origLink></item>
		<item>
		<title>Welcome</title>
		<link>http://feedproxy.google.com/~r/forthedeadtravelfast/zVyu/~3/G5y1K9ru_7c/</link>
		<comments>http://jrichardsonweb.com/welcome/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 20:49:15 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://jeffreyrichardson.forthedeadtravelfast.com/?p=74</guid>
		<description><![CDATA[I am pleased to announce my site launcing today. Its not only just a portfolio site but also my personal site. I look forward to keeping this updated for each new interesting project I go through. I will also blog about random things, whether, its work or sports, politics, or whatever. Keep checking.]]></description>
			<content:encoded><![CDATA[<p>I am pleased to announce my site launcing today. Its not only just a portfolio site but also my personal site. I look forward to keeping this updated for each new interesting project I go through. I will also blog about random things, whether, its work or sports, politics, or whatever. Keep checking.</p>
<img src="http://feeds.feedburner.com/~r/forthedeadtravelfast/zVyu/~4/G5y1K9ru_7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jrichardsonweb.com/welcome/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://jrichardsonweb.com/welcome/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 2.023 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-22 02:59:59 -->

