<?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>The Infinite Loop - Beginner&#039;s SEO, Beginner C# &#38; JQuery Tutorials</title>
	<atom:link href="http://theinfiniteloopblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://theinfiniteloopblog.com</link>
	<description>Problem. Problem Solved. Loop. - The life of a programmer</description>
	<lastBuildDate>Mon, 07 Jun 2010 14:52:14 +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>Paging in PHP &#8211; PHP Paging Tutorial</title>
		<link>http://theinfiniteloopblog.com/programming/php/paging-in-php-php-paging-tutorial/</link>
		<comments>http://theinfiniteloopblog.com/programming/php/paging-in-php-php-paging-tutorial/#comments</comments>
		<pubDate>Sun, 30 May 2010 01:56:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[beginner css]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css layout]]></category>
		<category><![CDATA[css techniques]]></category>
		<category><![CDATA[css tricks]]></category>
		<category><![CDATA[custom php paging]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tableless design]]></category>
		<category><![CDATA[tableless layout]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=381</guid>
		<description><![CDATA[<strong>Paging in php and automatic pagination</strong> is something every coder has to deal with when coding in php. I mean, you COULD show all results on 1 page and skip the php paging, but paging is necessary to reduce bandwidth and organize content. Paging is very easy to do and I will walk you through it step by step. 
]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<h2 style="font-size:8pt;">PHP Paging &amp; Automatic Pagination Tutorial - Paging made easy</h2>
<p>I have written a <strong>php paging tutorial</strong> before. Admittedly, it wasn't the greatest. I don't think I was as clear as I wanted to be. SO I'm trying again. <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  At the end of this tutorial, there is a file named <b>php-automatic-pagination.php.txt</b><br />
Please download it! It will help you understand the following.</p>
<p>Here is what we will be making..nice, simple pagers! (Dont worry about the Image #x text, thats really not part of the tutorial)<br />
<a href="http://theinfiniteloopblog.com/wp-content/uploads/2010/05/php-automatic-pagination.jpg" target="_blank"><img src="http://theinfiniteloopblog.com/wp-content/uploads/2010/05/php-automatic-pagination-300x141.jpg" alt="PHP Automatic Pagination/Simple PHP Paging Tutorial" title="php-automatic-pagination" width="300" height="141" class="alignnone size-medium wp-image-400" /></a></p>
<p><strong>Paging in php and automatic pagination</strong> is something every coder has to deal with when coding in php. I mean, you COULD show all results on 1 page and skip the php paging, but paging is necessary to reduce bandwidth and organize content. Paging is very easy to do and I will walk you through it step by step. </p>
<p>PHP automatic paging comes with a few questions:<br />
Paging 1 : Page Size - How many results would you like to display per page?<br />
Paging 2 : How can we bring back proper results in mysql?<br />
Paging 3 : How can we print a pager that will help show the next items.</p>
<p>Decide on your page size - 10, 15, 25, 50, 100. It really depends on what you would like to do.  For this tutorial I will use 15.</p>
<p class="comment">//we want 15 results per page</p>
<p>$pgsize=15; </p>
<p class="comment">//if there is a p variable in the query string e.g: page.php?p=5 we will get this value, else we will use 1 (page 1)</p>
<p>$pg=(is_numeric($_GET["p"]) ? $_GET["p"] : 1); </p>
<p class="comment">//lets determine where we would like to get results from<br />
//if $pg is 1, this calculation results in 0 (we want to start from the first record in the database)<br />
//if $pg is 2, this calculation will result in 1*15..which means we will start at the 15th index of the database (row 16)</p>
<p>$start=($pg-1)*$pgsize; </p>
<p class="comment">//let us query the database for our results<br />
//you will notice LIMIT and $start and $pgsize.<br />
//On page 1, this query will be SELECT * FROM image_table LIMIT 0,15  - this means return 15 rows starting at row-index 0 (row 1)<br />
//On page 2, this query will be SELECT * FROM image_table LIMIT 15, 15 - this means we will return 15 rows starting at row-index 15 (row 16)<br />
//On page 3, this query will be SELECT * FROM image_table LIMIT 30,15 - this means we will return 15 rows starting at row-index 30 (row 31)<br />
GET IT?!?!?!</p>
<p>$imgs=mysql_query("SELECT * FROM image_table LIMIT $start, $pgsize");</p>
<p class="comment">//we will also need the total number of records in our table<br />
//notice there is no limit? we want to know how many records are in the entire table!<br />
//we can use COUNT(*), COUNT(1), or COUNT(fieldname), they will all return the same result</p>
<p>$img_total=mysql_query("SELECT COUNT(1) FROM image_table");</p>
<p class="comment">//mysql_query returns a resource id, we can use this to get the row it has returned</p>
<p>$img_total=mysql_fetch_row($img_total);</p>
<p class="comment">//the count will be the first field in this row</p>
<p>$img_total=$img_total[0];</p>
<p class="comment">//lets determine how many pages we will need<br />
 //WRONG!, this will cut off results..why?<br />
//say we have 31 images, and our page size is 15. 31/15= ~2.x...We need to round this result up!</p>
<p>$max_pages=$img_total / $pgsize; </p>
<p class="comment">//use this line instead</p>
<p>$max_pages=ceil($img_total/$pgsize);</p>
<p>Once we have all this information, we can use a handy little function I have written named printPager. This function will print out a neat little pager. It uses a helper function named add_querystring_var which was from Added Bytes here:<br />
<a href="http://www.addedbytes.com/code/querystring-functions/">http://www.addedbytes.com/code/querystring-functions/</a></p>
<p>Copy/paste this function into your page or into one of your includes:<br />
This will print out your awesome little pager! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2 style="font-size:1em;">PHP Automatic Pagination Function</h2>
<div style="font-size:0.9em;">
function printPager($max_pages,$pg){<br />
	print '&lt;div class="clear"&gt;&lt;/div&gt;';<br />
	print '&lt;ul class="pager"&gt;';<br />
	$i=1;<br />
	if($pg!=1){<br />
		$url=$_SERVER["SCRIPT_NAME"];<br />
		$url.=add_querystring_var("?".$_SERVER["QUERY_STRING"], "p", $pg-1);<br />
		print '&lt;li class="prev"&gt;&lt;a href="'.$url.'"&gt;&lt;&lt;&lt;/a&gt;&lt;/li&gt;';<br />
	}</p>
<p>	while($i&lt;=$max_pages){<br />
		$url=$_SERVER["SCRIPT_NAME"];<br />
		$url.=add_querystring_var("?".$_SERVER["QUERY_STRING"], "p", $i);</p>
<p>		if($pg==$i){<br />
			print '&lt;li class="current"&gt;';<br />
			print '&lt;span&gt;'.$i.'&lt;/span&gt;';<br />
			print "&lt;/li&gt;";<br />
		}else{<br />
			print "&lt;li&gt;";<br />
			print '&lt;a href="'.$url.'"&gt;'.$i.'&lt;/a&gt;';<br />
			print "&lt;/li&gt;";<br />
		}</p>
<p>		$i++;<br />
	}</p>
<p>	if($pg!=$max_pages){<br />
		$url=$_SERVER["SCRIPT_NAME"];<br />
		$url.=add_querystring_var("?".$_SERVER["QUERY_STRING"], "p", $pg+1);<br />
		print '&lt;li class="next"&gt;&lt;a href="'.$url.'"&gt;&gt;&gt;&lt;/a&gt;';<br />
	}<br />
	print '&lt;/ul&gt;';<br />
	print '&lt;div class="clear"&gt;&lt;/div&gt;';<br />
}</p>
<p>function add_querystring_var($url, $key, $value) { $url = preg_replace('/(.*)(\?|&#038;)' . $key . '=[^&#038;]+?(&#038;)(.*)/i', '$1$2$4', $url . '&#038;'); $url = substr($url, 0, -1); if (strpos($url, '?') === false) { return ($url . '?' . $key . '=' . $value); } else { return ($url . '&#038;' . $key . '=' . $value); } }
</p></div>
<p>Print Pager is called like so:<br />
<?php printPager($max_pages, $pg); ?></p>
<h2 style="font-size:1em;">PHP Pager Styles</h2>
<div style="font-size:0.9em;">
We can style this pager using the following:<br />
/*pagers*/</p>
<p>div.clear{clear:both;}<br />
/spacing between numbers and sizes<br />
ul.pager li {<br />
	float:left;<br />
	margin-right:5px;<br />
	font-size:8pt;<br />
	padding: 2px 5px 2px 5px;<br />
}</p>
<p>//link color<br />
ul.pager li a{<br />
	color:red;<br />
}</p>
<p>//link hover style<br />
ul.pager li a:hover{<br />
	text-decoration:underline;<br />
	color:red;<br />
}</p>
<p>//current page styling<br />
ul.pager li.current span{<br />
	color:red;<br />
}</p>
<p>//previous and next stylings<br />
ul.pager li.prev, ul.pager li.next{</p>
<p>}
</p></div>
<p>Download this tutorials script! It will help you understand. Right click: <a href='http://theinfiniteloopblog.com/wp-content/uploads/2010/05/php-automatic-pagination-tutorial.php.txt'>php-automatic-pagination-tutorial.php</a> and click Save as. Then get rid of the .txt extension and name it php if you would like to run it. You will need to setup a database table to use for the tutorial. It can have an id field and another field.</p>
<p>If you enjoyed this post please leave a comment! I like reading and responding to all my readers!<br />
Thanks</p>
<p><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-"><img src="http://tracking.hostgator.com/img/Green/468x60.gif" border=0></a><br />
<strong>Use HostGator 2010 Coupon Code: <em>994offhgpackage</em> for $9.94 off your first month!<br />
(First month will cost $0.01)</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/programming/php/paging-in-php-php-paging-tutorial/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HostGator Discount Code 2010 &#8211; Cheap Web Hosting</title>
		<link>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/</link>
		<comments>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:57:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cheap Hosting]]></category>
		<category><![CDATA[host gator discount code 2010]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=332</guid>
		<description><![CDATA[Affordable and cheap shared web hosting with great live chat support. Get one month now for $0.01 cent using the coupon code: 994offhgpackage or 2010hostgatorcoupon or hostgatorcoupon2010]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>By far one of the best hosting companies I have had the experience of being a customer of is HostGator. Their prices are extremely affordable and their customer support is SUPERB. I have never had a web hosting company with the technical expertise and patience of the live support chat. They always answer questions and help configure servers. I have had live support chat agents sit there patiently and wait for me to re-test my site after their changes.</p>
<p>Our programming company uses HostGator to host all of our sites - they have shared web hosting, reseller accounts, and others.<br />
They offer UNLIMITED disk space hosting (250,000 files maximum ...100,000 if you intend to use the auto-backup feature) and<br />
UNLIMITED bandwidth and are just the best hosting company i have ever had the pleasure of working with.</p>
<p>Use one of these HostGator 2010 coupon codes  to receive $9.94 off your first month!</p>
<h2>HostGator Discount Coupons/Promo Codes:</h2>
<p><strong>HostGator 2010 coupon/promo code 1: 994offhgpackage</strong><br />
<strong>HostGator 2010 coupon/promo code 2: 2010hostgatorcoupon</strong><br />
<strong>HostGator 2010 coupon/promo code 3: hostgatorcoupon2010</strong><br />
With the "BABY" plan for 1 month this means you pay $0.01 for 1 month hosting!</p>
<p><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-"><img src="http://tracking.hostgator.com/img/Shared/300x250.gif" border=0></a></p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ING Direct Orange Key 2010</title>
		<link>http://theinfiniteloopblog.com/uncategorized/ing-direct-orange-key-2010/</link>
		<comments>http://theinfiniteloopblog.com/uncategorized/ing-direct-orange-key-2010/#comments</comments>
		<pubDate>Sat, 22 May 2010 05:44:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Finance/Investing]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=330</guid>
		<description><![CDATA[ING Direct 2010 Orange Key : 17190811S1. Receive a $25 bonus when you sign up with ING Direct with a minimum starting deposit of $100.]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Using this <strong>ING Direct 2010 orange key</strong>: <strong>17190811S1</strong>  you and I will receive a $25 each when you deposit a minimum of $100 to start your account!</p>
<p>Who doesn't like free money? <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/uncategorized/ing-direct-orange-key-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide Google Custom Search Engine (CSE) Textbox</title>
		<link>http://theinfiniteloopblog.com/uncategorized/hide-google-custom-search-engine-cse-textbox/</link>
		<comments>http://theinfiniteloopblog.com/uncategorized/hide-google-custom-search-engine-cse-textbox/#comments</comments>
		<pubDate>Fri, 21 May 2010 17:03:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google cse hide textbox]]></category>
		<category><![CDATA[google custom search engine]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/2010/05/hide-google-custom-search-engine-cse-textbox/</guid>
		<description><![CDATA[

There doesn't seem to be any articles on this, so I will try to save you time by letting you know. Using firebug, we can inspect the textbox element to see it is a form with the class .gsc-search-box.
To hide the search box simply add this to your css:
.gsc-search-box {
    display:none;
}
]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>There doesn't seem to be any articles on this, so I will try to save you time by letting you know. Using firebug, we can inspect the textbox element to see it is a form with the class .gsc-search-box.</p>
<p>To hide the search box simply add this to your css:</p>
<p>.gsc-search-box {<br />
    display:none;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/uncategorized/hide-google-custom-search-engine-cse-textbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>High Rate Interest Account &#8211; Tax Free Accounts Canada</title>
		<link>http://theinfiniteloopblog.com/financeinvesting/high-rate-interest-account-tax-free-accounts-canada/</link>
		<comments>http://theinfiniteloopblog.com/financeinvesting/high-rate-interest-account-tax-free-accounts-canada/#comments</comments>
		<pubDate>Fri, 21 May 2010 16:15:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Finance/Investing]]></category>
		<category><![CDATA[high interest investments]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[tax free account]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=316</guid>
		<description><![CDATA[Over the past years of my life, I have looked at different banks and competing interest rates, and I have learned that high rate interest accounts are hard to come by. Even major banks like TD Canada Trust and CIBC cannot really say they offer a high rate interest account. Here are their current Savings Account Interest Rates.]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>There are many banks offering tax free savings accounts in Canada and "high" interest savings accounts.<br />
I've come to notice that most of these banks offer anything but a <strong>high rate interest account</strong>.</p>
<p>Over the past years of my life, I have looked at different banks and competing interest rates, and I have learned that high rate interest accounts are hard to come by. Even major banks like TD Canada Trust and CIBC cannot really say they offer a high rate interest account. Here are their current Savings Account Interest Rates.</p>
<p><strong>Canadian Savings Account Interest Rates:</strong><br />
TD Canada Trust Savings Account Interest Rates:<br />
<a href="http://www.cibc.com/ca/rates/bank-acct-rates.html">http://www.tdcanadatrust.com/accounts/int-calc.pdf</a><br />
Savings Account: 0.05% (0.25% past the $3,000 mark)</p>
<p>CIBC Savings Account Interest Rates:<br />
<a href="http://www.cibc.com/ca/rates/bank-acct-rates.html">http://www.cibc.com/ca/rates/bank-acct-rates.html</a><br />
Savings Acccount (varied): 0% (0.10% with a $5,000+ balance)</p>
<p>SCOTIABANK Savings Account Interest Rates:<br />
<a href="http://scotiabank.com/rates/savings.html#scotiaplus">http://scotiabank.com/rates/savings.html#scotiaplus</a><br />
Savings Account (varired): (0.1%-0.25%)</p>
<p>ICICI Savings Account Interest Rates<br />
<a href="http://www.icicibank.ca/personalbanking/popup_sav.htm">http://www.icicibank.ca/personalbanking/popup_sav.htm</a><br />
Savings Account(varied): (0.75%-1.25%)</p>
<p>Now we're talking. However, further investigation will show you that ICICI isn't all its cracked up to be. Just because a bank is offering a High Rate Interest Account, does not mean they are the best choice for your investment.</p>
<p>Fees and Charges should play a big role in determining which high rate interest, tax free account you should choose for your investment.<br />
<a href="http://www.icicibank.ca/personalbanking/popup_mt.htm">ICICI Fees &amp; Charges</a></p>
<p>A few years ago, my sister told me about a bank that offered a high interest rate account, and had NO fees. Yes, NO FEES! I personally thought this was too good to be true, but after doing my research I realize it was not. I am now currently a happy customer of this bank and have been for a while. I have an Investment Savings Account AND a Tax Free Savings Account (TFSA) which offers one of the best interest rates on the current market. That, along with no fees, and I have been making a good deal of interest on very little principal.</p>
<p>If you haven't heard of them, you must be living under a rock.</p>
<p><strong>Best High Rate Interest Account/Tax Free Accounts Canada</strong><br />
ING Direct is offering one of the best interest rates on the TFSA/GIC Market.<br />
ING Direct Current Savings Account &amp; TFSA Rates<br />
<a href="http://www.ingdirect.ca/en/accounts-rates/index.html">http://www.ingdirect.ca/en/accounts-rates/index.html</a></p>
<p>Currently, ING Direct is offering a 2% TFSA and a 1.2% Investment Savings Account.<br />
These accounts come with no ING Direct fees &#038; charges.</p>
<p>You should however, read about TFSAs and figure out what your contribution limit is for the year. In Canada at the moment, this amount is $5,000 per year. Contribution Limit means how much you can contribute..if you contribute $5000 and then later withdraw $1000, you cannot recontribute $1000 for the remainder of the year!</p>
<p>ING Direct's TFSA is one of the best High Rate Interest, Tax Free Savings Account.</p>
<p>Joining is easy and can be done in 3 steps:</p>
<ol>
<li>Decide on your account<br/><a href="http://www.ingdirect.ca/en/signmeup/index.html">http://www.ingdirect.ca/en/signmeup/index.html</a>. I recommend the TFSA (Tax Free Savings Account). ING also offers some high interest rate GIC's and Investment Savings Accounts...although at the moment your money is better off in a TFSA than a GIC. When you find the account you'd like click: Enroll Now!<br/><br/></li>
<li>Fill out the information form. Where it asks for an Orange Key type this: <strong>17190811S1</strong> to receive a $25 bonus when you make an initial deposit of $100. Disclaimer: I will also get a $25 referral bonus when you use this key. If I have educated you and helped you make a good choice, please enter the key to show your appreciation. If you would not like to enter the key, that is also fine. (The purpose of this post was to educate on high rate accounts, not give myself bonuses, however I figured I would include it because who wouldn't want a bonus?) Take Note of the Client ID you are given, you will use this to login to the site, and in Step 3<br/><br/></li>
<li>Write a cheque made out to yourself. If you would like to receive the $25 bonus, you must write a minimum of $100. You can use a minimum of $1, however, you will not receive this bonus. In the memo line write this: Client Number - 2391030 (Replace this with your actual client ID in step 2!) and mail the cheque to:<br/><br />
ING Direct<br/>111 Gordon Baker Road<br/>Toronto, ON<br/>M2H 3R1</li>
</ol>
<p>Once your cheque has cleared, the account you mailed the cheque from will be electronically linked to your ING Account. You can then use INGDirect.ca to transfer money between the accounts, setup ONGOING ASP (Automatic Savings Plans).</p>
<p>The ASP feature is what really got me to open an account. You can choose an amount and have it withdraw on an ongoing basis. Every 2 weeks, on payday, I have $100 moving from my chequing account with TD Canada Trust to my ING Savings Account. You just set it and forget it....The best part is, you NEVER see the money, so you never miss it. But, under the covers, you are saving, and gaining a great interest rate!</p>
<p>Hope this article helps you on your journey to earning interest on your hard earned money.<br />
Once again, if you would like for us both to receive a $25 bonus please use this code as your orange key: <strong>17190811S1</strong> and deposit a minimum of $100. If you would not like for either of us to receive a bonus, do not enter the key. </p>
<p>Happy Saving and feel free to post comments on how much you have saved with ING!<br />
In a short year of having a small fluctuating balance of under $3000, I have earned close to $200 in interest, compared to measly cents at TD.</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/financeinvesting/high-rate-interest-account-tax-free-accounts-canada/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Remove Viruses and Spyware Manually</title>
		<link>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/</link>
		<comments>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 23:04:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PC Maintenance]]></category>
		<category><![CDATA[adware removal]]></category>
		<category><![CDATA[adware removal tips]]></category>
		<category><![CDATA[malware removal tips]]></category>
		<category><![CDATA[spyware removal]]></category>
		<category><![CDATA[spyware removal tips]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=303</guid>
		<description><![CDATA[Prevention is the best medicine. I'm sure you've heard something like that before but its true. Knowing about how to prevent spyware goes a long way. There are many programs that offer virus+spyware/malware protection and they will monitor your computer for changes to  your registry and files. I recommend the following programs for spyware/malware protection and scans.]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<h2>Remove Viruses and Spyware Manually</h2>
<p>Viruses,spyware, malware - whatever you want to call it, these things wreak havoc on your computer. Browser hijacks, file deletion, disabling ctrl+alt+delete are just a few things that some of these baddies can do. However, there are some tools to help you remove viruses and spyware manually.</p>
<h2>Preventing Viruses and Spyware</h2>
<p>Prevention is the best medicine. I'm sure you've heard something like that before but its true. Knowing about how to prevent spyware goes a long way. There are many programs that offer virus+spyware/malware protection and they will monitor your computer for changes to  your registry and files. I recommend the following programs for spyware/malware protection and scans.</p>
<p><a href="http://www.safer-networking.org/index2.html">Spyware Search &amp; Destroy (Spybot S&amp;D)</a></p>
<p><a href="http://www.lavasoft.com/">Ad-aware SE (Free for personal use)</a><a href="http://www.malwarebytes.org/"></a></p>
<p><a href="http://www.malwarebytes.org/">Malware Bytes</a></p>
<h2>Steps To Remove Viruses and Spyware Manually</h2>
<ol>
<li><strong>Download and Update 1 of the above software (or all 3! [recommended])</strong><br/></li>
<li><strong>Perform scans</strong> - Use the above programs to perform viruses, spyware, and adware scans. This is usually the initial step in removal as it will remove most of the spyware/adware/malware on your computer.  I recommend using safe mode to do these scans. In safe mode, your computer does not load extra applications and drivers, only the bare minimum need to run  your operating system, so these programs will have an easier time removing/deleting files from these viruses. There are different ways to get into Windows Safe Mode. On my computer, I turn off the power and turn the computer on. I keep hitting the F5 key until i get a prompt asking how I want to boot. I select safe mode and let it load. On your computer it may be a different F  key...like F7.<br/></li>
<li><strong>Check your startup</strong> <strong>using  msconfig </strong> - Now that we have run scans and have done an initial clean on our computer. We can check our startup. Hit Start, then Run and type msconfig. Hit OK. Click the Startup tab, and look through the list. For the most part, anything here can really be unchecked. Try to look at the file path and the name of the checked items, this will usually give you a hint of what is what. Example: Logitech Quickcam Driver -&gt; This is probably your camera driver, dont disable it. Once you go through the list and uncheck unwated items, click apply. Restart when you are prompted to. After restarting, click Do Not Show This Message Again and click OK.<br/></li>
<li><strong>HijackThis! - </strong><a href="http://free.antivirus.com/hijackthis/">Download Hijack This</a> Hijack This is a program that will scan your computer and show information about changes that have been made to it. Download and install hijack this and run a scan and produce a log. You can copy and paste your log into this site: <a href="http://hjt.networktechs.com/">http://hjt.networktechs.com/</a> and it will guide you onto what to remove (To remove items, place checks next to them and click Fix Selected Issues) .  Also, there are many forums which will let you paste a HJT log and other kind users will help you analyze it. Alternatively, you can post your HJT log in the comments below and I will try to assist you with it.<br/></li>
<li><strong>CC Cleaner  - </strong><a href="http://www.piriform.com/ccleaner">Download CC Cleaner</a> CC Cleaner will help remove temporary browser files, cookies, recycle bin, some program cache info. It is a good idea to run this program every once in a while just to help free up some space and keep your programs running in top shape.<br/></li>
<li><strong>Reformat (Last Resort/First Resort) - </strong>A lot of viruses and spyware can be removed with the above steps, however, sometimes you get very pesky viruses and programs.  If you think the malware/adware/virus will be extremely difficult to remove, or if it is extremely malicious (i.e rootkit viruses that attach to windows files) sometimes the BEST option is to reformat and reinstall windows. This is the ONLY way to ensure your computer is COMPLETELY free of spyware. The programs listed above often do the trick. Sometimes you will do Steps 1-5 and then decide to reformat anyways because they couldn't completely remove the infection. Sometimes when I get extremely pesky infections, I reformat as my first resort. A backup, reformat and reinstall of all my programs takes me less than 4hours. Sometimes, virus removal and infection cleaning takes more than this.<br/></li>
</ol>
<p><br/><br />
Hope this guide helps you remove viruses and spyware infections. I often get paid to clean and remove spyware, adware, and viruses, however, I don't mind sharing how I do it. Most people just cant be bothered with it, but, if you can take the time to do the steps above, you will have a cleaner, faster, better, smoother running computer.<br />
Comment if this helped you!<br />
Paste your HJT logs if you need assistance.</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google SEO Flash &amp; Flash Tips/Techniques</title>
		<link>http://theinfiniteloopblog.com/programming/jscript/google-seo-flash-flash-tipstechniques/</link>
		<comments>http://theinfiniteloopblog.com/programming/jscript/google-seo-flash-flash-tipstechniques/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:38:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SEO/Marketing]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[flash seo techniques]]></category>
		<category><![CDATA[flash seo tips]]></category>
		<category><![CDATA[google seo flash]]></category>
		<category><![CDATA[google seo flash tips]]></category>
		<category><![CDATA[how to seo flash]]></category>
		<category><![CDATA[seo flash]]></category>

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

Google SEO Flash
Google currently DOES index flash, however, I believe it is extremely unreliable. Clients have asked me to do some SEO work on their sites, little did I know, these sites were flash!
Most crawlers seem to have a hard time crawling flash and the #1 tip I can give for Flash SEO is: don't [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<h2>Google SEO Flash</h2>
<p>Google currently DOES index flash, however, I believe it is extremely unreliable. Clients have asked me to do some SEO work on their sites, little did I know, these sites were flash!</p>
<p>Most crawlers seem to have a hard time crawling flash and the #1 tip I can give for Flash SEO is: don't show search engine crawlers flash, show them alternate content!</p>
<p>The reasoning behind this technique:<br />
1) Underlying HTML Content<br />
2) Use javascript to load Flash<br />
3) GoogleBot = No Javascript = Doesn't see flash, sees alternate content</p>
<p>For two of the sites I have worked on, I have used JQuery, JQuery SWFObject Plugin, and a base HTML site to get these sites indexed. Search engine crawlers do not have javascript,  so we will use it to load our flash. If our client has flash and javascript, our client will see Flash. If they dont (Googlebot doesn't have Javascript) they will see our underlying HTML content. Let's take a look at this code:</p>
<p>&lt;div id="flash"&gt;&lt;/div&gt;<br />
&lt;div id="altContent"&gt;<br />
&lt;h1&gt;<strong>Google SEO Flash Tips and Techniques</strong>&lt;/h1&gt;<br />
&lt;h2&gt;<strong>How To SEO Flash for Google</strong>&lt;/h2&gt;<br />
&lt;/div&gt;<br />
On your main page, write &lt;div id="flash"&gt;&lt;/div&gt;, then wrap your Search Engine Optimized code in &lt;div id="altContent"&gt;&lt;/div&gt;.</p>
<p>As you can see, the content in the "altContent" div, is pure html which we can apply the following <a href="http://theinfiniteloopblog.com/?p=19">Basic SEO Techniques </a>to. We have an empty div above with the id "flash". We will use JQuery &amp; the SWFObject to load our flash file into our "flash" div. Since the flash loading is done using javascript, Search Engine Crawlers will not see the flash, but will see our optimized HTML content.</p>
<p>Download a copy of JQuery here:<a href="http://docs.jquery.com/Downloading_jQuery"> http://docs.jquery.com/Downloading_jQuery<br />
</a>and SWFObject plugin here: <a href="http://jquery.thewikies.com/swfobject/downloads"> http://jquery.thewikies.com/swfobject/downloads</a><br />
We will put all our files in the same directory for simplicity, you can put them in a seperate 'scripts' directory if you want to keep organized.</p>
<p>On our main page, we will add the script references (order is important! first load jquery, then the swfobject plugin):&lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript" src="jquery.swfobject.js"&gt;&lt;/script&gt;</p>
<p>Now, underneath this, we will add the function to load our flash file:</p>
<ol>
<li>&lt;script&gt;</li>
<li> $("document").ready(function(){</li>
<li> if($.flash.available){</li>
<li> $("#flash").flash({</li>
<li> swf: 'main_flash8.swf',</li>
<li> width:766,</li>
<li> height:750</li>
<li> });</li>
<li> $("#altContent").css("display", "none");</li>
<li> }</li>
<li>});</li>
<li>&lt;/script&gt;</li>
</ol>
<p>This code should be pretty self explanatory, but, let me explain:<br />
Line 2: We are setting up a function to run when our document has been loaded.<br />
Line 3:Check that the user has the flash plugin and it is enabled<br />
Line 4: We are using the .flash() method of SWFObject to load content into the #flash div. (# stands for id  . stands for class)<br />
Line 5: We set the swf: parameter to our swf file<br />
Line 6/7: We set the width/height<br />
Line 9: Now that our flash has loaded, we set the display of the altContent div to none, which will hide it.</p>
<p>Since GoogleBot does not have javascript, the code to load the flash and hide the altContent will never run.<br />
If a user has flash, the flash site will load. If not, they will see the html content.</p>
<p>Searching for my clients business name, they could not be found anywhere. Once I applied the technique above, they were #1 within a week (Search engines do take some time <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>This technique is widely accepted. For some more reading, check out: <a title="Yes, Google Does Index Flash" href="http://www.yourseoplan.com/google-flash/" target="_blank">Google Does Index Flash</a></p>
<p>Hope this article helps.<br />
Comment if it did!</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/programming/jscript/google-seo-flash-flash-tipstechniques/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Setup a SEO friendly 301 Redirect</title>
		<link>http://theinfiniteloopblog.com/seomarketing/how-to-setup-a-seo-friendly-301-redirect/</link>
		<comments>http://theinfiniteloopblog.com/seomarketing/how-to-setup-a-seo-friendly-301-redirect/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 08:48:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO/Marketing]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[friendly redirect]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[permanent redirect]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[seo redirect]]></category>
		<category><![CDATA[seo tools]]></category>

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

301 redirects are used to tell the browser that the page they are requesting has been moved permanently to another location. However, this is often used in SEO as well to give a domain ALL the credit from incoming links.
Search engines see your domain as 2 domains.
http://www.mydomain.com
and
http://mydomain.com
If 50 sites link to www. and 50 link [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p><strong>301 redirects</strong> are used to tell the browser that the page they are requesting has been<strong> moved permanently</strong> to another location. However, this is often used in SEO as well to give a domain ALL the credit from incoming links.</p>
<p>Search engines see your domain as 2 domains.</p>
<p>http://www.mydomain.com</p>
<p>and</p>
<p>http://mydomain.com</p>
<p>If 50 sites link to www. and 50 link to mydomain.com, you are losing half the 'votes' for your website (a link to your site is essentially a vote that your website has good content). The best way to get FULL credit for your links is to <strong>setup a 301 redirect.</strong></p>
<p>Log into your hosts control panel and look for a Redirects option.<br />
<strong>Type of Redirect: 301 (Moved Permanently)</strong><br />
Select the domain from the dropdown list.<br />
WWW Redirection: Look for an option that says Only redirect with www.<br />
Redirect to: Type http://mydomain.com</p>
<p>Click add.<br />
If you visit http://www.mydomain.com, you should now be redirected to http://mydomain.com. Alternatively you can set this up so that any request to http://mydomain.com redirect to http://www.mydomain.com, this is up to you.</p>
<p>One last thing use this: <a href="http://www.webconfs.com/redirect-check.php">SEO Friendly Redirect Checker</a> to make sure your redirect is setup properly! For Example, i can check this site for a redirect by typing http://www.theinfiniteblog.com, it will tell you there is a search engine friendly redirect setup! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you do not have a host or they do not support configuring redirects, you may have a little more trouble setting up the redirect, BUT, there is a great resource for setting up 301 redirects with: IIS, HTAccess, PHP, ASP, etc etc.<br />
<a href="http://www.webconfs.com/how-to-redirect-a-webpage.php">How to Redirect a Web Page</a></p>
<p>Happy Redirecting!<br />
Comment if this helped! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/seomarketing/how-to-setup-a-seo-friendly-301-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Easily Migrate WordPress to a New Server</title>
		<link>http://theinfiniteloopblog.com/uncategorized/how-to-easily-migrate-wordpress-to-a-new-server/</link>
		<comments>http://theinfiniteloopblog.com/uncategorized/how-to-easily-migrate-wordpress-to-a-new-server/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 08:30:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[migrate wordpress]]></category>
		<category><![CDATA[move wordpress to another server]]></category>
		<category><![CDATA[wordpress new server]]></category>

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

Oddly enough, I was having trouble with this because of the way Wordpress handles URLs. At first I tried, http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ which got me on the right track. However, I could not fully use this solution. Since my wordpress needed an upgrade anyways to 2.9.2, I figured I would reinstall.
I did a fresh install of wordpress [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Oddly enough, I was having trouble with this because of the way Wordpress handles URLs. At first I tried, http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ which got me on the right track. However, I could not fully use this solution. Since my wordpress needed an upgrade anyways to 2.9.2, I figured I would reinstall.</p>
<p>I did a fresh install of wordpress on my new server, and then found this amazing little feature that wordpress has integrated.</p>
<p>In the WordPress admin panel, there is a Tools menu. Click Tools, then Export and Wordpress will export all your posts, comments, and attachments to an XML file!  THANK YOU WORDPRESS.</p>
<p>I logged into my new installation of WordPress and clicked Tools and then Import.</p>
<p>All my posts, comments, attachments were migrated!<br />
After this, it was just a matter of logging into MySQL and copying over the users <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Awesome Night.<br />
We are now theinfiniteloopblog.com <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/uncategorized/how-to-easily-migrate-wordpress-to-a-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Professional Table Styling using CSS</title>
		<link>http://theinfiniteloopblog.com/programming/professional-table-styling-using-css/</link>
		<comments>http://theinfiniteloopblog.com/programming/professional-table-styling-using-css/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 02:20:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[XHTML/CSS]]></category>

		<guid isPermaLink="false">http://scottmoniz.com/programmingBlog/?p=262</guid>
		<description><![CDATA[This tutorial will teach you how to style your tables with css and get them to look professional. It's the little things that make a website that much better.]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>On this blog, I have a post about using jquery to apply alternating table row coloring. Someone commented that they couldnt quite get it working and needed an example. So, while making the example for him, I figure it would be a good post to show how to style a table professionally with CSS.</p>
<p>So, were going to start with this markup: <strong><br />
Note: You only need to load jquery and jquery.scripts if you want to do the last part of this example</strong>.</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Table Row Coloring Example&lt;/title&gt;<br />
&lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt; &lt;!--load jquery--&gt;<br />
&lt;script type="text/javascript" src="jquery.scripts.js"&gt;&lt;/script&gt; &lt;!--load our custom jquery file--&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="style.css"/&gt;&lt;!--load our css styles--&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;table&gt;<br />
&lt;th&gt;id&lt;/th&gt;<br />
&lt;th&gt;First name&lt;/th&gt;<br />
&lt;th&gt;Last name&lt;/th&gt;<br />
&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Scott&lt;/td&gt;&lt;td&gt;Moniz&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr class="row2"&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;Bob&lt;/td&gt;&lt;td&gt;Barker&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Alright, now that we have that done. We area going to create style.css and add a few rules.</p>
<p>Here is the table selector:<br />
table{</p>
<p>border: 1px solid #ccc;<br />
}</p>
<p>well....that doesnt look very good..YET.<br />
Lets add a rule to the header. We'll add a background color.</p>
<p>table th{<br />
background-color: #ccc;<br />
}</p>
<p>Lets add a rule to the table data tags.<br />
table tr{<br />
border: 1px solid #ccc;<br />
}</p>
<p>Now, lets see what we got so far.<br />
<a href="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut1.jpg"><img class="aligncenter size-full wp-image-263" title="tabletut1" src="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut1.jpg" alt="tabletut1" width="173" height="84" /></a>Not too bad. You'll notice the headers are a little to close, and the borders dont look too great. Don't worry well fix that. Lets add another couple rules to table th and td.<br />
table th{<br />
border: 1px solid #000;<br />
padding: 5px;<br />
}<br />
table td{<br />
padding: 2px;<br />
}</p>
<p>Alright..lookin good so far. Here's what you should have:<br />
<a href="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut2.jpg"><img class="aligncenter size-full wp-image-264" title="tabletut2" src="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut2.jpg" alt="tabletut2" /></a>Lets take care of these ugly borders.</p>
<p>On our table selector we will add this rule:</p>
<p>table{<br />
border-collapse: collapse;<br />
}</p>
<p>If you look at the table, you'll notice that on the 2nd row there is a  class="row2". We will now style that class.<br />
table tr.row2{background-color: #EBEBEB;}</p>
<p>DONE. The final result looks like this.</p>
<p><a href="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut3.jpg"><img class="aligncenter size-full wp-image-266" title="tabletut3" src="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/tabletut3.jpg" alt="tabletut3" width="205" height="88" /></a></p>
<p>You can always modify the styles as you wish.</p>
<p>Tip: Every 2nd row, add the class="row2" to the row to get the alternating row colors. Optionally, add text-align: center; to the table selector.<br />
<a href="http://coulditgetworse.com/theinfiniteloopblog/wp-content/uploads/2009/09/tabletut4.jpg"><img class="aligncenter size-full wp-image-267" title="tabletut4" src="http://coulditgetworse.com/theinfiniteloopblog/wp-content/uploads/2009/09/tabletut4.jpg" alt="tabletut4" width="190" height="186" /></a>Here's the full CSS: <strong><br />
</strong>table{border: 1px solid #ccc;border-collapse:collapse; text-align: center;}<br />
table th{background-color: #ccc; padding: 5px; border: 1px solid #000;}<br />
table td{border: 1px solid #ccc; padding: 2px;}<br />
table tr.row2{background-color: #EBEBEB;}<br />
<strong><br />
Keep reading for an easy way to alternate row colors when you have a lot of rows.</strong><br />
Alright, now, if your table has 20 rows, maybe even 50, or 100, adding row2 manually is really a pain...and I personally wouldn't do that. We will use jquery to color the alternate rows.</p>
<p>Find the &lt;tr class="row2"&gt; and change it to &lt;tr&gt;. If you load the table you'll notice the alternate rows aren't colored anymore. We will now add a class to the table. So &lt;table&gt; should look like this &lt;table class="altcolor"&gt;.</p>
<p>Now that our table is setup, we will use a jquery selector to color rows in any table that has the class altcolor.<br />
You should have jquery.js  and you should create a file named jquery.scripts.js.<br />
Open jquery.scripts.js and add the following:</p>
<p><strong>$("document").ready(function(){<br />
$("table.altcolor tr:even").addClass("row2");<br />
});</strong></p>
<p>This loads when the webpage is ready<br />
//Notice the selector ?<br />
table.altcolor tr:even means any even row, in a table, that has the class "altcolor"<br />
Now we just call addClass, which will add the class row2.<br />
now, the class row2 is added to every even row in a table with the class altcolor.</p>
<p>Done. <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
If you don't get the same result, you might want to download the example source and check it out.</p>
<p><a href="http://theinfiniteloopblog.com/wp-content/uploads/2009/09/table-example.zip">Download Table Styling Example</a></p>
<p>Tip: When using jquery to style alternate rows, check your table with javascript disabled.<br />
For example, if you style your tables to have white text, and your row2 is supposed to apply a dark background to make the white text show up, if they have javascript disabled, they won't see the white text. Be careful and make sure your table looks good with and without javascript.</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/programming/professional-table-styling-using-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
