<?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>Design Chemical - Web Design, Printing, Packaging &#38; SEO</title>
	<atom:link href="http://www.designchemical.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designchemical.com/blog</link>
	<description>Your Business Catalyst</description>
	<lastBuildDate>Wed, 21 Jul 2010 08:33:50 +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>jQuery Simple Horizontal Accordion</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-horizontal-accordion/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-horizontal-accordion/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 08:17:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=874</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/jquery-simple-horizontal-accordion/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>After our tutorial last month showing how to <a href="/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/">create a vertical accordion menu using jQuery</a> we have had a couple of requests asking how to make a horizontal accordion.</p>
<p>So we have decided to provide the following post, which&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>After our tutorial last month showing how to <a href="/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/">create a vertical accordion menu using jQuery</a> we have had a couple of requests asking how to make a horizontal accordion.</p>
<p>So we have decided to provide the following post, which shows very easily how to use the power of jQuery to create a rather nice horizontal accordion effect.</p>
<p><a href="/lab/jquery/demo/jquery_simple_horizontal_accordion.htm">Click here if you would prefer to skip straight to the demo</a></p>
<h3><strong>1. The HTML</strong></h3>
<p>First we create an unordered HTML list with id=&#8221;accordion&#8221; and include some content in each of the li tags &#8211; since the accordion is horizontal we have decided to use images to create the section labels:</p>
<pre class="brush: php;">
&lt;ul id=&quot;accordion&quot;&gt;
    &lt;li&gt;
      &lt;a href=&quot;#&quot;&gt;
        &lt;img src=&quot;images/section_1.png&quot; /&gt;
        &lt;strong&gt;Section 1 Header&lt;/strong&gt;&lt;br/&gt;
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. In iaculis volutpat quam, non suscipit arcu accumsan at. Aliquam pellentesque.
      &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;#&quot;&gt;
        &lt;img src=&quot;images/section_2.png&quot; /&gt;
        &lt;strong&gt;Section 2 Header&lt;/strong&gt;&lt;br/&gt;
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. In iaculis volutpat quam, non suscipit arcu accumsan at. Aliquam pellentesque.
      &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;#&quot;&gt;
        &lt;img src=&quot;images/section_3.png&quot; /&gt;
        &lt;strong&gt;Section 3 Header&lt;/strong&gt;&lt;br/&gt;
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. In iaculis volutpat quam, non suscipit arcu accumsan at. Aliquam pellentesque.
      &lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;#&quot;&gt;
        &lt;img src=&quot;images/section_4.png&quot; /&gt;
        &lt;strong&gt;Section 4 Header&lt;/strong&gt;&lt;br/&gt;
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. In iaculis volutpat quam, non suscipit arcu accumsan at. Aliquam pellentesque.
      &lt;/a&gt;
    &lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3><strong>2. Style The Accordion</strong></h3>
<p>Next we add a few CSS rules, which will help style the accordion and its content:</p>
<pre class="brush: plain;">
#accordion {
list-style: none;
margin: 0;
padding: 0;
height: 200px;
overflow: hidden;
background: #7d8d96;}

#accordion li {
float: left;
border-left:
1px solid #fff;}

#accordion li a {
display: block;
height: 170px;
width: 50px;
padding: 15px 0;
overflow: hidden;
color: #fff;
text-decoration: none;
font-size: 16px;
line-height: 1.5em;}

#accordion li a img {
border: none;
border-right: 1px solid #fff;
float: left;
margin: -15px 15px 0 0;}

#accordion li a.active {
width: 445px;}
</pre>
<p>The main items to take note of here are the widths of the anchor tags, which need to be the same as the min-width setting in our jQuery below and the width of the &#8220;active&#8221; tag, which should equal the max-width of the accordion section.</p>
<p>The &#8220;#accordion li a.active&#8221; is also required to ensure that the default section is open when the page loads.</p>
<p>The rest is mainly styling of the background, text and positioning of the section header images.</p>
<h3><strong>3. The jQuery Code</strong></h3>
<p>Finally the jQuery to create the horizontal accordion effect &#8211; in this example we have used the &#8220;hover&#8221; event to trigger the animation:</p>
<pre class="brush: jscript;">
$(document).ready(function(){

  activeItem = $(&quot;#accordion li a:first&quot;);
  $(activeItem).addClass('active');

  $(&quot;#accordion li a&quot;).hover(function(){
      $(activeItem).animate({width: &quot;50px&quot;}, {duration:300, queue:false});
      $(this).animate({width: &quot;445px&quot;}, {duration:300, queue:false});
      activeItem = this;
  });

});
</pre>
<p>You can change which is the default open section upon page load by changing the &#8220;activeItem&#8221; variable &#8211; in our example we have used &#8220;#accordion li a:first&#8221; to select the first list item.</p>
<p>Other options that can be changed include the min-width (in this case 50px) and the max-width, which we have set to 445px &#8211; the values in these lines must match the values given in the CSS rules above.</p>
<p>The duration setting controls the time in milliseconds for the accordion to animate from minimum to maximum width &#8211; again these can be set according to your preference.</p>
<p>The queue:false is required to stop the accordion capturing every hover event and continuing to animate after the mouse has left the hover area.</p>
<p><a href="/lab/jquery/demo/jquery_simple_horizontal_accordion.htm">View the jQuery horizontal accordion demo.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-horizontal-accordion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>General Outline for Search Engine Optimization and Marketing</title>
		<link>http://www.designchemical.com/blog/index.php/seo-alchemy/search-engine-optimization-and-marketing/</link>
		<comments>http://www.designchemical.com/blog/index.php/seo-alchemy/search-engine-optimization-and-marketing/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 05:59:23 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=862</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/seo-alchemy/search-engine-optimization-and-marketing/"><img align="left" hspace="5" width="120" height="105" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/design_chemical_logo_thumb.png" class="alignleft tfe wp-post-image" alt="" title="design_chemical_logo_thumb" /></a><p>When it comes to Search Engine Optimization (SEO) and Search Engine Marketing (SEM) there is no such thing as a canned solution where a single approach works for everyone.</p>
<p>Question: What does it cost, and what results should I expect?&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>When it comes to Search Engine Optimization (SEO) and Search Engine Marketing (SEM) there is no such thing as a canned solution where a single approach works for everyone.</p>
<p>Question: What does it cost, and what results should I expect?</p>
<p>Answer:   Whatever the market will bear, and how long is a piece of string?</p>
<p>For SEO/SEM there is no single answer to those questions – and one question leads to another.  What do you want to achieve, and what resources can you commit to it?  Resources are more than just funds; they include management strategy and work effort.</p>
<p>The following is an outline of strategies and available options for successful internet marketing.  Specific recommendations and scope of work proposals require evaluation and discussion of the client’s needs, and the current status of website(s) and maturity of internet presence.  Scope and scale of work (what, when and how much) are directly related to available budget guidelines.</p>
<p>We hope you find this information valuable.  Please contact us if you have specific questions or comments.</p>
<h2>SEO / SEM</h2>
<h3>Onsite and Offsite</h3>
<p>While they must be aligned and share common strategies, work is fundamentally separated by efforts done on the website, and work done off the site.</p>
<p>SEO and SEM should also be coordinated to maximize efficiency and effectiveness.</p>
<p>While there are numerous technical issues, the key to successful internet marketing is employing an organized and systematic approach, together with application of common-sense (assume nothing, everything for a reason).</p>
<p>Fundamental:  the better everything connects together, the better the desired results will be achieved.<br />
<strong> </strong></p>
<h2>Goals</h2>
<h3>Internet Presence, Generate Quality Traffic, Conversions, and Other Goals</h3>
<p>Establishing well thought-out and communicated goals and expectations is important to do from the very beginning.</p>
<h4>Internet Presence</h4>
<p>Build foundation to support other goals by having a baseline of presence on the web.  For example if someone researches the company/website and specifically searches for it, how many results are found?  Six or 60,000?  Quality matters most, but quantity is important too.  Over time this also affects PR (page rank – ratio of incoming/versus outgoing links) and means better quality score, and should improve effectiveness of strategies.</p>
<h4>Generate Quality Traffic</h4>
<p>Targeting the right audience means using appropriate language, presented in the correct places and methods, and matching these to the website content.</p>
<h4>Conversions</h4>
<p>Keeping in mind the end-game at all times is important.  All roads lead to placing an order or ‘doing business’.  Of course, conversions can mean different things and often have multiple layers.  Relationship marketing might have a conversion goal of signing up for a newsletter, and this could be accomplished by the goal of people requesting free information or a product trial.  Usability, site architecture and visitor flow and behavior are related to both SEO and SEM.  People tend to do what you ask them to do, and make easy to do – the sooner you start asking the better.</p>
<h4>Other Goals</h4>
<p>Every organization has their specific ideas as to what is important.  Marketing must adapt to meet those goals.</p>
<h2>Strategies</h2>
<h3>Content, Incoming Links, Keyword Phrases, Anchor Text Links, Quality Score, Strategic Promotions</h3>
<p>Reach and relevancy – what is the message, who is it presented to, where and when.</p>
<h4>Content</h4>
<p>Make no mistake; there are no shortcuts and tricks.  Everything starts with quality content that is formatted correctly for usability and SEO.  Write for people first, then adjust and edit or SEO.</p>
<h4>Incoming Links</h4>
<p>The holy grail of SEO.  Google and the other search engines determine SERP (search engine result position) on numerous factors that are heavily weighted toward a website’s perceived value by the internet community.  If other websites (people) think your site is worthy of linking to, then you deserve to be ranked higher on the search results page.  The quality and type of these links is very important as the search engines map the web, and have sophisticated algorithms to evaluate and categorize websites.</p>
<h4>Keyword Phrases and Anchor Text Links</h4>
<p>What words do people use to find the content you want to present to them?  Can you compete against more established and organized competitors or should you find niches to exploit?  <strong>Anchor Text Links </strong>are extremely important and valuable – they should be relevant keyword phrases used in outside links coming into the site, and from within the site to connect pages and strengthen understanding of what content is about.</p>
<h4>Quality Score</h4>
<p>An extremely critical concept to keep in mind and that should be part of every element of the website and the off-site efforts.  From clean code to relevant words – it directly affects both SEO and SEM performance results.</p>
<h4>Strategic Promotions</h4>
<p>The shotgun blast approach of widespread targeting, or throwing spaghetti against the wall, to see what sticks do have a place in internet marketing strategies; but the reality of limited resources and time sensitive economics means picking targets and promotional offers that are competitive, effective and efficient is very important.</p>
<p><strong>Target, try, test, evaluate and repeat.</strong></p>
<h2>Tools/Tactics</h2>
<h4>Analysis and Evaluation</h4>
<ul>
<li>Google Analytics – powerful tool for free, other analytic tools are good, but GA is recommended</li>
<li>Google Webmaster Tools – critical for evaluating the site, and presenting to Google</li>
<li>Yahoo Site Explorer – similar reasons to Google webmaster tools, not as comprehensive</li>
<li>Bing Webmaster Tools – similar reasons to Google webmaster tools, not as comprehensive</li>
</ul>
<h4>Content</h4>
<ul>
<li>Authoritative and Relevant content is what gets found and noticed.  Keyword rich content and anchor text links throughout the site.  Challenge:  typical descriptions are worded differently than the usual way people search.</li>
<li>Blogs – a WordPress blog is almost mandatory.  Sites must have a quantity of high-quality, original non-duplicated content formatted properly for SEO.</li>
<li>RSS Feeds – for human interest and critical for SEO</li>
<li>Word Count and Page Count – more words, more pages do matter.</li>
<li>Landing Pages – should be different than typical content.</li>
</ul>
<h4>Site Structure</h4>
<ul>
<li>Clean Code – must have proper coding without excessive errors.  ‘no-follow’ outgoing links</li>
<li>SEO Architecture – URL, Page Title, Meta Description, Meta Tags, H-tags, Content, Images, Links &#038; Navigation, dynamic XML sitemaps</li>
</ul>
<h4>Backlinks/Bookmarking</h4>
<ul>
<li>Articles – Quality articles (authoritative and relevant content) are a very good way to get quality links, labor intensive</li>
<li>Article Spinning – great way to generate links, presence and real direct traffic, semi-automated tools available, very labor intensive</li>
<li>Social Bookmarking – looked for by engines, also generate traffic, semi-automated tools available</li>
<li>Forum Profiles – good way to generate links, semi-automated tools available</li>
<li>Forum Postings – can be good for links and traffic, need to be relevant and allow ‘follow’, labor intensive</li>
<li>Blog Comments &#8211; can be good for links and traffic, need to be relevant and allow ‘follow’, labor intensive</li>
<li>Evaluation Site Submission – good to start getting site crawled and for backlinks, semi-automated tools available</li>
<li>Search Engine Submissions – hundreds of search engines exist, semi-automated tools available</li>
<li>Directory Listings – one of the original backlink strategies still plays a role, but not a priority, semi-automated tools available.  DMOZ very valuable, but arbitrary inclusion</li>
<li>FFA – “free for all”, for the right niche can have surprising results, but not necessarily recommended</li>
<li>Reciprocal Links – if done properly as part of real community networking and resource sharing they can be very effective however heeding Google admonishments about bad community and paid link farms is important.  Quality matters – doing this correctly requires resources and involvement from site owners.</li>
</ul>
<h4>Advertising and Miscellaneous</h4>
<ul>
<li>Press Releases &#8211; once a week (more or less) of real, quality news, properly formatted – free or paid</li>
<li>Videos (you tube etc)</li>
<li>Article Incubators &#8211; manually provide information and solicit interest from vertical market media/authorities</li>
<li>Search Engine Marketing Text and Banner Ads &#8211; Google, Bing, Yahoo, Facebook</li>
<li>Classified ads, Sponsorship Banner, and Text ads on relevant forums, authoritative blogs, and websites.</li>
<li>Email Marketing – solicited and unsolicited – must adhere to best practices guidelines</li>
</ul>
<h4>Initial Steps</h4>
<ul>
<li>Establish Budget Guideline</li>
<li>Establish Goals</li>
<li>Market Analysis &#8211; target audience, keywords – usage, competitive rankings, competitor sites and strategies</li>
<li>Strategic Marketing Plan – targets, reach and relevancy, methods, schedule</li>
<li>Site Development – evaluate site architecture, update according to strategies</li>
<li>Content Development &#8211; onsite and offsite</li>
<li>Daily Activity Work Plan</li>
</ul>
<h2>Resources</h2>
<p><a href="http://designchemical.com/search_engine_optimisation.htm">Design Chemical has an 88-point website SEO evaluation outline available &#8211; click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/seo-alchemy/search-engine-optimization-and-marketing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery Image Swap Using Click</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/jquery-image-swap-using-click/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/jquery-image-swap-using-click/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 09:56:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=834</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/jquery-image-swap-using-click/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>In a previous post we showed a simple piece of jQuery code, which allows you to add the ability to <a href="/blog/index.php/jquery/quick-and-easy-jquery-image-swap/">swap images on hover</a> to your website. Since then we have had several requests asking how to add a&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>In a previous post we showed a simple piece of jQuery code, which allows you to add the ability to <a href="/blog/index.php/jquery/quick-and-easy-jquery-image-swap/">swap images on hover</a> to your website. Since then we have had several requests asking how to add a similar effect using &#8220;click&#8221; instead.</p>
<h3>The Image</h3>
<p>Use the same naming system for the 2 images as in our previous post &#8211; i.e. normal state called xxxxxx_off.jpg and the clicked state xxxxxx_on.jpg and add the class &#8220;img-swap&#8221; to the image tag in your HTML:</p>
<pre class="brush: plain;">
&lt;img src=&quot;xxxxxx_off.jpg&quot; class=&quot;img-swap&quot; /&gt;
</pre>
<h3>jQuery Code</h3>
<p>With just a few lines of jQuery you can now add the image swap function on click to any images in your web pages:</p>
<pre class="brush: jscript;">
$(function(){
  $(&quot;.img-swap&quot;).live('click', function() {
    if ($(this).attr(&quot;class&quot;) == &quot;img-swap&quot;) {
      this.src = this.src.replace(&quot;_off&quot;,&quot;_on&quot;);
    } else {
      this.src = this.src.replace(&quot;_on&quot;,&quot;_off&quot;);
    }
    $(this).toggleClass(&quot;on&quot;);
  });
});
</pre>
<p><a href="http://www.designchemical.com/lab/jquery/demo/jquery_image_swap_click.htm">See the demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/jquery-image-swap-using-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Simple Vertical Accordion Menu</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 02:40:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=827</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>Today&#8217;s jQuery tutorial is a perfect example of how easy it is to add a slick vertical accordion style menu to your website with just a few lines of jQuery code!</p>
<h3>The HTML</h3>
<p>First we create a nested unordered list,&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s jQuery tutorial is a perfect example of how easy it is to add a slick vertical accordion style menu to your website with just a few lines of jQuery code!</p>
<h3>The HTML</h3>
<p>First we create a nested unordered list, which will include all of our links. Give the first ul tag a unique id &#8211; we use #nav:</p>
<pre class="brush: plain;">
&lt;ul id=&quot;nav&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 1&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 1 a&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 1 b&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 1 c&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 2&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 2 a&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 2 b&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 3&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 3 a&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 3 b&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 3 c&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 3 d&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Item 4&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 4 a&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 4 b&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Sub-Item 4 c&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>Style The Menu With CSS</h3>
<p>For this tutorial we add a little styling to the menu and use CSS to hide the sub-menus using &#8220;display: none;&#8221;:</p>
<pre class="brush: plain;">
#nav {float: left; width: 280px;  border-top: 1px solid #999; border-right: 1px solid #999; border-left: 1px solid #999;}
#nav li a {display: block; padding: 10px 15px; background: #ccc; border-top: 1px solid #eee; border-bottom: 1px solid #999; text-decoration: none; color: #000;}
#nav li a:hover, #nav li a.active {background: #999; color: #fff;}
#nav li ul {display: none;}
#nav li ul li a {padding: 10px 25px; background: #ececec; border-bottom: 1px dotted #ccc;}
</pre>
<h3>The jQuery Code</h3>
<p>To create the accordion effect the code is extremely simple:</p>
<pre class="brush: jscript;">
$(document).ready(function () {
  $('#nav &gt; li &gt; a').click(function(){
    if ($(this).attr('class') != 'active'){
      $('#nav li ul').slideUp();
      $(this).next().slideToggle();
      $('#nav li a').removeClass('active');
      $(this).addClass('active');
    }
  });
});
</pre>
<p>First we use the child selector &#8220;>&#8221; to ensure that only the parent links activate the accordion menu &#8211; otherwise you would end up closing the menu each time a sub-link is clicked.
<p>We add a new class to the active item &#8211; this allows us to not only style the open accordion menu but also identify if a sub-menu is open when a link is clicked. The above jQuery code will only work on closed menu items.</p>
<p><a href="http://www.designchemical.com/lab/jquery/demo/jquery_simple_accordion_menu.htm">View the jQuery vertical accordion menu demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/jquery-simple-vertical-accordion-menu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Change Order of Multiple Select Lists Using jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/change-order-multiple-select-lists-using-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/change-order-multiple-select-lists-using-jquery/#comments</comments>
		<pubDate>Fri, 21 May 2010 09:36:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=448</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/change-order-multiple-select-lists-using-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>In my last post I went through the code required to <a href="http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/">create an add/remove select list using jQuery</a>.</p>
<p>Today&#8217;s post is going to expand on the earlier tutorial and add up/down buttons, which will allow you to change the&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>In my last post I went through the code required to <a href="http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/">create an add/remove select list using jQuery</a>.</p>
<p>Today&#8217;s post is going to expand on the earlier tutorial and add up/down buttons, which will allow you to change the order of the option items in the select list.</p>
<h3>The HTML Code</h3>
<p>The HTML code for the select lists remains the same as the earlier post, except with the addition of the &#8220;up&#8221; and &#8220;down&#8221; links:</p>
<pre class="brush: plain;">
&lt;form&gt;
  &lt;fieldset&gt;

    &lt;select name=&quot;selectfrom&quot; id=&quot;select-from&quot; multiple size=&quot;5&quot;&gt;
      &lt;option value=&quot;1&quot;&gt;Item 1&lt;/option&gt;
      &lt;option value=&quot;2&quot;&gt;Item 2&lt;/option&gt;
      &lt;option value=&quot;3&quot;&gt;Item 3&lt;/option&gt;
      &lt;option value=&quot;4&quot;&gt;Item 4&lt;/option&gt;
    &lt;/select&gt;

    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-add&quot;&gt;Add &amp;raquo;&lt;/a&gt;
    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-remove&quot;&gt;&amp;laquo; Remove&lt;/a&gt;

    &lt;select name=&quot;selectto&quot; id=&quot;select-to&quot; multiple size=&quot;5&quot;&gt;
      &lt;option value=&quot;5&quot;&gt;Item 5&lt;/option&gt;
      &lt;option value=&quot;6&quot;&gt;Item 6&lt;/option&gt;
      &lt;option value=&quot;7&quot;&gt;Item 7&lt;/option&gt;
    &lt;/select&gt;

    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-up&quot;&gt;Up&lt;/a&gt;
    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-down&quot;&gt;Down&lt;/a&gt;

  &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<h3>The jQuery Code</h3>
<p>Again, keeping the same code for the add/remove functions, we just need to add the additional jQuery to handle the up/down links:</p>
<pre class="brush: jscript;">
$(document).ready(function() {

    $('#btn-add').click(function(){
        $('#select-from option:selected').each( function() {
                $('#select-to').append(&quot;&lt;option value='&quot;+$(this).val()+&quot;'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
            $(this).remove();
        });
    });
    $('#btn-remove').click(function(){
        $('#select-to option:selected').each( function() {
            $('#select-from').append(&quot;&lt;option value='&quot;+$(this).val()+&quot;'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
            $(this).remove();
        });
    });

    $('#btn-up').bind('click', function() {
		$('#select-to option:selected').each( function() {
			var newPos = $('#select-to option').index(this) - 1;
			if (newPos &gt; -1) {
				$('#select-to option').eq(newPos).before(&quot;&lt;option value='&quot;+$(this).val()+&quot;' selected='selected'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
				$(this).remove();
			}
		});
	});
	$('#btn-down').bind('click', function() {
		var countOptions = $('#select-to option').size();
		$('#select-to option:selected').each( function() {
			var newPos = $('#select-to option').index(this) + 1;
			if (newPos &lt; countOptions) {
				$('#select-to option').eq(newPos).after(&quot;&lt;option value='&quot;+$(this).val()+&quot;' selected='selected'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
				$(this).remove();
			}
		});
	});
});
</pre>
<h4>1. The &#8220;Up&#8221; Link</h4>
<p>First we tackle the &#8220;up&#8221; link. Basically how we handle this is to retrieve the index value of each selected option, set the variable for the option items new position as &#8230; current index &#8211; 1, recreate the option HTML and insert it &#8220;before&#8221; the new index position. Finally &#8211; remove the old HTML from the list.</p>
<p>In order to make sure that we dont lose the option item off list list by trying to insert at an index position < 0 we do a quick check on the current position and only run the code if index > 0.</p>
<h4>2. The &#8220;Down&#8221; Link</h4>
<p>The down link is very similar except we set the new index postion to &#8220;current + 1&#8243; and insert the option HTML &#8220;after&#8221; this value.
<p>Once again we need to make sure that we dont lose the option item off the bottom of the list so we include an &#8220;if&#8221; statement, which checks the total number of items in the list and only runs the code if the new index position is less than the total items.</p>
<p>The above code also works for multiple selected items.</p>
<p>Check out the <a href="/lab/jquery/demo/jquery_change_order_select_list.htm">change order of select lists demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/change-order-multiple-select-lists-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Add &amp; Remove Select Lists Using jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/#comments</comments>
		<pubDate>Wed, 19 May 2010 19:20:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=437</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>JQuery makes it very easy to select specific elements and their attributes in your web page HTML.</p>
<p>In the following tutorial I will show you how to use just a few lines of jQuery to create an add/remove select list&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>JQuery makes it very easy to select specific elements and their attributes in your web page HTML.</p>
<p>In the following tutorial I will show you how to use just a few lines of jQuery to create an add/remove select list for your website form.</p>
<h3>The Form HTML</h3>
<pre class="brush: plain;">
&lt;form&gt;
  &lt;fieldset&gt;

    &lt;select name=&quot;selectfrom&quot; id=&quot;select-from&quot; multiple size=&quot;5&quot;&gt;
      &lt;option value=&quot;1&quot;&gt;Item 1&lt;/option&gt;
      &lt;option value=&quot;2&quot;&gt;Item 2&lt;/option&gt;
      &lt;option value=&quot;3&quot;&gt;Item 3&lt;/option&gt;
      &lt;option value=&quot;4&quot;&gt;Item 4&lt;/option&gt;
    &lt;/select&gt;

    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-add&quot;&gt;Add &amp;raquo;&lt;/a&gt;
    &lt;a href=&quot;JavaScript:void(0);&quot; id=&quot;btn-remove&quot;&gt;&amp;laquo; Remove&lt;/a&gt;

    &lt;select name=&quot;selectto&quot; id=&quot;select-to&quot; multiple size=&quot;5&quot;&gt;
      &lt;option value=&quot;5&quot;&gt;Item 5&lt;/option&gt;
      &lt;option value=&quot;6&quot;&gt;Item 6&lt;/option&gt;
      &lt;option value=&quot;7&quot;&gt;Item 7&lt;/option&gt;
    &lt;/select&gt;

  &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<p>So here we have just 2 select lists with sample data &#8211; the top one listing the items &#8220;from&#8221;. There are also 2 anchor tags, which provide the &#8220;add&#8221; and &#8220;remove&#8221; links.</p>
<h3>The jQuery Code</h3>
<pre class="brush: jscript;">
$(document).ready(function() {

    $('#btn-add').click(function(){
        $('#select-from option:selected').each( function() {
                $('#select-to').append(&quot;&lt;option value='&quot;+$(this).val()+&quot;'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
            $(this).remove();
        });
    });
    $('#btn-remove').click(function(){
        $('#select-to option:selected').each( function() {
            $('#select-from').append(&quot;&lt;option value='&quot;+$(this).val()+&quot;'&gt;&quot;+$(this).text()+&quot;&lt;/option&gt;&quot;);
            $(this).remove();
        });
    });

});
</pre>
<p>Basically what we do here is that when either of the &#8220;add&#8221; or &#8220;remove&#8221; links are clicked jQuery will get the values for all of the relevant options that are selected, recreate each option item HTML, insert it into the opposite select list and finally remove these items from the original list.</p>
<p>Check out the <a href="/lab/jquery/demo/jquery_create_add_remove_select_list.htm">jquery add &#038; remove select list demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/create-add-remove-select-lists-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Tabs with AJAX and jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/simple-tabs-with-ajax-and-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/simple-tabs-with-ajax-and-jquery/#comments</comments>
		<pubDate>Sun, 02 May 2010 18:15:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design Tips]]></category>
		<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=421</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/simple-tabs-with-ajax-and-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>One of the great things about jQuery is its complete suite of built in AJAX functions, which allow you to add quick and easy features to your website.</p>
<p>The example below came from a recent project to create an internal&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>One of the great things about jQuery is its complete suite of built in AJAX functions, which allow you to add quick and easy features to your website.</p>
<p>The example below came from a recent project to create an internal web application for a client, which utilised tab navigation, jQuery and AJAX to load data into the page without the need to refresh the web page.</p>
<h3>1. The HTML Code</h3>
<pre class="brush: plain;">

&lt;ul id=&quot;nav&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;page_1.html&quot;&gt;Page 1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;page_2.html&quot;&gt;Page 2&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;page_3.html&quot;&gt;Page 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div id=&quot;ajax-content&quot;&gt;This is default text, which will be replaced&lt;/div&gt;
</pre>
<p>You can fill the &#8220;ajax-content&#8221; div with default text, which will be replaced when one of the tabs are clicked.</p>
<h3>2. The jQuery Code</h3>
<pre class="brush: jscript;">

$(document).ready(function() {
    $(&quot;#nav li a&quot;).click(function() {

        $(&quot;#ajax-content&quot;).empty().append(&quot;&lt;div id='loading'&gt;&lt;img src='images/loading.gif' alt='Loading' /&gt;&lt;/div&gt;&quot;);
        $(&quot;#nav li a&quot;).removeClass('current');
        $(this).addClass('current');

        $.ajax({ url: this.href, success: function(html) {
            $(&quot;#ajax-content&quot;).empty().append(html);
            }
	});
	return false;
    });
});
</pre>
<p>The above jQuery code will automatically use the URL written into each anchor tag as the source for the AJAX data.</p>
<p>So what is the above code doing?</p>
<ol>
<li>When a tab is clicked we first empty the contents of the ajax-content div and then load a loading graphic, whilst the content is being retrieved.</li>
<li>The jQuery then removes the &#8220;current&#8221; class from the tabs and adds the class to the newly clicked anchor tag allowing you to style the tabs to show which one is now active.</li>
<li>Once the data from the URL has been retrieved the loading image is removed and the content loaded into the &#8220;ajax-content&#8221; div.</li>
<li>Finally, the &#8220;return false&#8221; command is used to prevent the default action of the tabs browsing to the content pages.</li>
</ol>
<h3>3. Loading A Default Page</h3>
<p>If you wanted to use one of the external pages as your default content you can simply edit the code as below:</p>
<pre class="brush: jscript;">

$(document).ready(function() {
    $(&quot;#nav li a&quot;).click(function() {

        $(&quot;#ajax-content&quot;).empty().append(&quot;&lt;div id='loading'&gt;&lt;img src='images/loading.gif' alt='Loading' /&gt;&lt;/div&gt;&quot;);
        $(&quot;#nav li a&quot;).removeClass('current');
        $(this).addClass('current');

        $.ajax({ url: this.href, success: function(html) {
            $(&quot;#ajax-content&quot;).empty().append(html);
            }
	});
	return false;
    });

    $(&quot;#ajax-content&quot;).empty().append(&quot;&lt;div id='loading'&gt;&lt;img src='images/loading.gif' alt='Loading' /&gt;&lt;/div&gt;&quot;);
	$.ajax({ url: 'page_1.html', success: function(html) {
            $(&quot;#ajax-content&quot;).empty().append(html);
	}
    });
});
</pre>
<p>Substitute the URL for your required page in the code.</p>
<p>A very simple yet effective way to create a basic jQuery and AJAX application for your website &#8211; <a href="/lab/jquery/demo/jquery_ajax_tabs_demo.htm">Check out the demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/simple-tabs-with-ajax-and-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To Add Blog Posts To A Wordpress Page</title>
		<link>http://www.designchemical.com/blog/index.php/wordpress-tips/how-to-add-blog-posts-to-a-wordpress-page/</link>
		<comments>http://www.designchemical.com/blog/index.php/wordpress-tips/how-to-add-blog-posts-to-a-wordpress-page/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 20:22:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=389</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/wordpress-tips/how-to-add-blog-posts-to-a-wordpress-page/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_wp_posts_page.png" class="alignleft tfe wp-post-image" alt="" title="thumb_wp_posts_page" /></a><p>By default pages in Wordpress websites will not display blog posts. However, there is a quick an easy way to edit the code of your theme page to handle this.</p>
<h3>1. Wordpress Theme Page Code</h3>
<p>First create a new page&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>By default pages in Wordpress websites will not display blog posts. However, there is a quick an easy way to edit the code of your theme page to handle this.</p>
<h3>1. Wordpress Theme Page Code</h3>
<p>First create a new page for your theme. Then add the following code to the web page in the area where you normally display the main content:</p>
<pre class="brush: plain;">
&lt;?php
global $more;
$more = 0;

  $post_per_page = 10; // -1 shows all posts
  $args=array('category_name' =&gt; 'Latest News', 'posts_per_page' =&gt; $post_per_page);
?&gt;

&lt;?php query_posts($args); ?&gt;
    &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;

        &lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;
            &lt;h3&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
            &lt;?php the_content('read more ...'); ?&gt;
        &lt;/div&gt;

    &lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;
</pre>
<p>The above code allows you to select posts from a specific categories and display the excerpts on the page. In this example we select our &#8220;Latest News&#8221; category &#8211; change the &#8216;category_name&#8217; => &#8216;Latest News&#8217; to suit your requirements.</p>
<p>You can also control the number of posts displayed by changing the &#8220;$post_per_page&#8221; parameter.</p>
<h3>2. How To Use In Your Page</h3>
<p>Very simply &#8211; upload your new template file to your themes folder, create a new page in your Wordpress admin and assign the new template file to this page.</p>
<p>There you have it &#8211; a custom page on your Wordpress website showing latest posts. To add more pages just repeat the process by creating a new theme page file and change category name parameter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/wordpress-tips/how-to-add-blog-posts-to-a-wordpress-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check Passwords Using jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/check-passwords-using-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/check-passwords-using-jquery/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:00:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design Tips]]></category>
		<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=387</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/check-passwords-using-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>We have had several requests on how to use jQuery to check that passwords match in your website registration form when requesting visitors to re-enter their passwords.</p>
<p>This can easily be achieved by using similar code shown in our previous&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>We have had several requests on how to use jQuery to check that passwords match in your website registration form when requesting visitors to re-enter their passwords.</p>
<p>This can easily be achieved by using similar code shown in our previous posts on <a href="/blog/index.php/jquery/using-jquery-to-validate-search-box-input/">Using jQuery to Validate Search Box Input</a> and <a href="/blog/index.php/jquery/email-validation-using-jquery/">Email Validation Using jQuery</a>.</p>
<h3>1. The Password Input Fields</h3>
<pre class="brush: plain;">
&lt;form method=&quot;post&quot; name=&quot;form1&quot; id=&quot;form-password&quot; action=&quot;&quot;&gt;
  &lt;fieldset&gt;
    &lt;label&gt;Password:&lt;/label&gt;
    &lt;input type=&quot;password&quot; name=&quot;password&quot; id=&quot;password&quot; value=&quot;&quot; size=&quot;32&quot; /&gt;
    &lt;label&gt;Re-Enter Password:&lt;/label&gt;
    &lt;input type=&quot;password&quot; name=&quot;password-check&quot; id=&quot;password-check&quot; value=&quot;&quot; size=&quot;32&quot; /&gt;
    &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; id=&quot;submit&quot;&gt;
  &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<h3>2. The jQuery Validation Code &#8211; Check That Both Passwords Match</h3>
<pre class="brush: jscript;">
jQuery(function(){
        $(&quot;#submit&quot;).click(function(){
        $(&quot;.error&quot;).hide();
        var hasError = false;
        var passwordVal = $(&quot;#password&quot;).val();
        var checkVal = $(&quot;#password-check&quot;).val();
        if (passwordVal == '') {
            $(&quot;#password&quot;).after('&lt;span class=&quot;error&quot;&gt;Please enter a password.&lt;/span&gt;');
            hasError = true;
        } else if (checkVal == '') {
            $(&quot;#password-check&quot;).after('&lt;span class=&quot;error&quot;&gt;Please re-enter your password.&lt;/span&gt;');
            hasError = true;
        } else if (passwordVal != checkVal ) {
            $(&quot;#password-check&quot;).after('&lt;span class=&quot;error&quot;&gt;Passwords do not match.&lt;/span&gt;');
            hasError = true;
        }
        if(hasError == true) {return false;}
    });
});
</pre>
<p>The above code will perform the following checks upon clicking the submit button:</p>
<ul>
<li>Check that a password has been entered and return an error message if the input field is empty.</li>
<li>Check that the &#8220;re-enter password&#8221; field contains text and return an error message if the input field is empty.</li>
<li>Finally &#8211; compare both password texts to check if they match</li>
</ul>
<p>If any of the validation checks return an error then the form submission on your website is stopped with the &#8220;return false&#8221; command.</p>
<p><a href="/lab/jquery/demo/check_passwords_using_jquery.htm">Check out the demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/check-passwords-using-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using jQuery to Validate Search Box Input</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-validate-search-box-input/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-validate-search-box-input/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 20:18:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=383</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-validate-search-box-input/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>Today&#8217;s tip is just another simple example of how you can use the versatile jQuery library to validate form input text in your website.</p>
<p>In a recent project a client required validation on a search form input that would only&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s tip is just another simple example of how you can use the versatile jQuery library to validate form input text in your website.</p>
<p>In a recent project a client required validation on a search form input that would only allow numbers, letters and a &#8220;-&#8221;.</p>
<h3>The Search Form</h3>
<pre class="brush: plain;">
&lt;form method=&quot;post&quot; name=&quot;form1&quot; id=&quot;search&quot; action=&quot;&quot;&gt;
  &lt;fieldset&gt;
    &lt;label&gt;Search:&lt;/label&gt;
    &lt;input type=&quot;text&quot; name=&quot;search-text&quot; id=&quot;search-text&quot; value=&quot;&quot; size=&quot;32&quot; /&gt;
    &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; id=&quot;btn-search&quot;&gt;
  &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<h3>The jQuery Validation Code</h3>
<pre class="brush: jscript;">
jQuery(function(){
        $(&quot;#btn-search&quot;).click(function(){
        $(&quot;.error&quot;).hide();
        var hasError = false;
        var searchReg = /^[a-zA-Z0-9-]+$/;
        var searchVal = $(&quot;#search-text&quot;).val();
        if(searchVal == '') {
            $(&quot;#search-text&quot;).after('&lt;span class=&quot;error&quot;&gt;Please enter a search term.&lt;/span&gt;');
            hasError = true;
        } else if(!searchReg.test(searchVal)) {
            $(&quot;#search-text&quot;).after('&lt;span class=&quot;error&quot;&gt;Enter valid text.&lt;/span&gt;');
            hasError = true;
        }
        if(hasError == true) {return false;}
    });
});
</pre>
<p>The above code will first check that text has been entered and return an error message if the search box is empty. Then check, using a simple regular expression, that the entered text only contains alphanumeric characters or a &#8220;-&#8221;. If either of these validation checks return and error message then the form submission is stopped with the &#8220;return false&#8221; command.</p>
<p><a href="/lab/jquery/demo/jquery_search_validation.htm">Check out the demo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-validate-search-box-input/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using jQuery to Hide Multiple Email Addresses From Spam Harvesters</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-hide-multiple-email-addresses-from-spam-harvesters/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-hide-multiple-email-addresses-from-spam-harvesters/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 19:38:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=377</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-hide-multiple-email-addresses-from-spam-harvesters/"><img align="left" hspace="5" width="120" height="84" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/email_symbol.png" class="alignleft tfe wp-post-image" alt="" title="email_symbol" /></a><p>A few months ago we wrote about <a href="http://www.designchemical.com/blog/index.php/web-design-tips/hiding-your-email-addresses-from-spam-harvesters-part-ii/">using jQuery and AJAX to hide your email address from spam harvesters</a>. Although very effective it can get a little confusing if managing multiple email addresses throughout your website.</p>
<p>A simple solution&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>A few months ago we wrote about <a href="http://www.designchemical.com/blog/index.php/web-design-tips/hiding-your-email-addresses-from-spam-harvesters-part-ii/">using jQuery and AJAX to hide your email address from spam harvesters</a>. Although very effective it can get a little confusing if managing multiple email addresses throughout your website.</p>
<p>A simple solution can be set up, which allows you to use just a single file containing all of your website&#8217;s email addresses and just a few lines of jQuery.</p>
<h3><strong>1. Create Your Email List</strong></h3>
<p>In a HTML document create a list of your email addresses by placing each one inside a span tag and assigning an ID &#8211; see example below:</p>
<pre class="brush: plain;">
&lt;span id=&quot;email-1&quot;&gt;somebody@xxxxxxxxxx.com&lt;/span&gt;
&lt;span id=&quot;email-2&quot;&gt;another@xxxyyyyxxxxx.com&lt;/span&gt;
</pre>
<h3><strong>2. Add The jQuery Code</strong></h3>
<p>Now in the head of your web page add the following jQuery code:</p>
<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
	$(&quot;.email&quot;).each(function() {
		var var_email = $(this).html();
		$(this).load(&quot;email_list.html #&quot;+var_email).append(var_email);
	});
});
&lt;/script&gt;
</pre>
<p>In our example we have called the email file &#8211; email_list.html &#8211; you will need to change the above code to match your file name.</p>
<h3><strong>Using the Code in Your Web Page</strong></h3>
<p>To use this code all you need to do is wherever you would like an email address to appear is to include a span tag with the class &#8220;email&#8221; and inside the span tag write the ID of the email address you would like to insert. From our 2 example emails above we would therefore use the following:</p>
<pre class="brush: plain;">
&lt;span class=&quot;email&quot;&gt;email-1&lt;/span&gt;
&lt;span class=&quot;email&quot;&gt;email-2&lt;/span&gt;
</pre>
<p>The following source code:</p>
<pre class="brush: plain;">
&lt;p&gt;Suspendisse quis blandit justo &lt;span class=&quot;email&quot;&gt;email-1&lt;/span&gt;. In laoreet pharetra condimentum. Donec at venenatis quam &lt;span class=&quot;email&quot;&gt;email-2&lt;/span&gt;.&lt;/p&gt;
</pre>
<p>Which is how it would appear to spam harvesters, would then appear on your web page to your visitors as:</p>
<p>Suspendisse quis blandit justo somebody@xxxxxxxxxx.com. In laoreet pharetra condimentum. Donec at venenatis quam another@xxxyyyyxxxxx.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/using-jquery-to-hide-multiple-email-addresses-from-spam-harvesters/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Article Spinning for Backlinks</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-optimization/article-spinning-for-backlinks/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-optimization/article-spinning-for-backlinks/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 04:53:29 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=365</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/search-engine-optimization/article-spinning-for-backlinks/"><img align="left" hspace="5" width="120" height="105" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/design_chemical_logo_thumb.png" class="alignleft tfe wp-post-image" alt="" title="design_chemical_logo_thumb" /></a><p>Web&#8230;. everything is connected by sticky strings of information&#8230; or</p>
<p>&#8220;There is no such thing as bad publicity when you&#8217;re reading about  yourself, unless its your obituary.&#8221;</p>
<p>One of our clients was concerned that their name and article was being&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Web&#8230;. everything is connected by sticky strings of information&#8230; or</p>
<p>&#8220;There is no such thing as bad publicity when you&#8217;re reading about  yourself, unless its your obituary.&#8221;</p>
<p>One of our clients was concerned that their name and article was being associated with a &#8216;cheap&#8217; discount domain name because their article was posted on a travel site offering cheap airline tickets, while they are offering a 4 star travel destination.<br />
Unfortunately it is a balancing act, and a bit of a Catch-22.  Protecting brand image is important &#8211; so the client does  need to make the call whether to continue article spinning, but let&#8217;s review just what these articles are before doing that.</p>
<p>We spin an article to create a gazillion non-duplicated articles by inserting synonyms everywhere we can.  Sometimes the syntax and grammar gets a little clunky, but we do make an extra effort to make sure the content reads well under all combination of wording.</p>
<p>These articles then get submitted through subscription services to either blogs or article directories based on subject category.</p>
<p>These subject categories are standard off the shelf categories &#8211; and while everyone has a different list, they&#8217;re basically the same.</p>
<p>Travel and Leisure<br />
Travel and Leisure, Boating<br />
Travel and Leisure, Aviation<br />
etc</p>
<p>Within each category there are dozens of websites that will post an article with backlinks to your site.</p>
<p>They accept the article because they want content, and then they display Google Ads in the hopes that people end up finding the article.</p>
<p>So it is an exchange of decent RELEVANT content , we get a decent relevant backlink to the website</p>
<p>One way to gauge the effectiveness of article posting is to subscribe to Google Alerts for key search terms.  The fact that these are showing up in Google Alerts is fantastic for a website.  It means the content is getting indexed by Google and the backlink to the site is getting recognized and evaluated, and Google spiderbots will follow the link to your site too &#8211; checking relevancy, registering what your site is about based on the anchor text link and all the keywords it discovers.  Also the fact that it happens quickly is very telling that Google respects the sites and indexes them quickly.  You might notice some Google Alerts popping up for things that are dated  six months ago.</p>
<p>Waiting six months is a lifetime on the internet.  Not all directories and blogs are created equal, and Google is a bit random (by design) so the more exposure you get the better.</p>
<p>The primary purpose of these article submissions is to get the backlinks.  This is what SEO and getting organic search traffic is all about.  Backlinks mean value and quality score for your website.  The article submissions are foundation building blocks for creating web presence for your site.</p>
<p>They are not really about what is to be presented to the target audience.</p>
<p>Having the articles read by people that follow the link, isn&#8217;t even really expected or intended.  However they do, traffic does arrive directly from these sites, but it is not why we&#8217;re doing the article submissions.  An extremely small percentage of people that see these articles are also looking for your site &#8212; but your site better have the relevant content on the site, and is getting indexed etc&#8230;.</p>
<p>here&#8217;s some of the Catch-22 part:<br />
So in the short run, there is an issue that people searching topics might actually find these articles rather than find your website, but then if you do the math it shrinks into a minuscule probability that there will be a negative connotation perceived by a target audience.  Most of the odd-ball and undesirable content is in adword ads, that people disregard.  The handful of cheesy domain names just don&#8217;t add up to much in the big picture.</p>
<p>Our articles are set not to display on adult, gambling, on-line pharmacy, or weight loss sites&#8230; but other than selecting categories to submit we&#8217;re at the mercy of sites.</p>
<p>I would stress that the benefits far outweigh the chance of any negative perceptions &#8211; exponentially.  The Google Alerts mash ads and article together and tend to make us focus on those articles a lot more than anyone else does.</p>
<p>Concerns about protecting brand are valid and it is worth talking about.   But these links are fundamental to having people find the</p>
<p>Web&#8230;. everything is connected by sticky strings of information&#8230;<br />
﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-optimization/article-spinning-for-backlinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO Alchemy &#8211; Writing for the Web</title>
		<link>http://www.designchemical.com/blog/index.php/seo-alchemy/seo-alchemy-writing-for-the-web/</link>
		<comments>http://www.designchemical.com/blog/index.php/seo-alchemy/seo-alchemy-writing-for-the-web/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 16:16:49 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=357</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/seo-alchemy/seo-alchemy-writing-for-the-web/"><img align="left" hspace="5" width="120" height="105" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/design_chemical_logo_thumb.png" class="alignleft tfe wp-post-image" alt="" title="design_chemical_logo_thumb" /></a><p>We&#8217;re hopeful the following suggestions will save time, improve  performance and make life generally better/easier for all of us.</p>
<p>It is a common mistake to think something like &#8220;we&#8217;ll  design the site, and write the content, and then send it&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re hopeful the following suggestions will save time, improve  performance and make life generally better/easier for all of us.</p>
<p>It is a common mistake to think something like &#8220;we&#8217;ll  design the site, and write the content, and then send it off for SEO&#8221;.   That means rewriting and re-designing each page&#8230;after rewriting and  redesigning them from the old site to the new site.</p>
<p>Please forgive the following lecturing tone, but, well this is sort of a  tutorial, so take advice on what you already know with a grain of salt,  and please embrace/question/challenge the rest.   Some points will be  stating the obvious, but there is also a lot of nuance and detail, so  hopefully reading it carefully will be of benefit.</p>
<p>First things first &#8211; writing for the web is not technical.  When  words like &#8216;code&#8217;, &#8216;tags&#8217;, &#8216;keywords&#8217;, &#8216;anchor text links&#8217; or &#8216;format&#8217;  get thrown about, they are no different than &#8216;punctuation&#8217;, &#8216;word  choice&#8217;, or &#8216;grammar&#8217;.  Really.  I have a certificate to teach English  so I&#8217;m sort of qualified to say that!</p>
<p>Let&#8217;s set the scene:</p>
<p>Site visitors will vary widely by demographic and purpose.   Stereotypically they will fit within three general sales cycle  categories.  Discovery &#8211; Research &#8211; Purchase.</p>
<p>Ecommerce buying emotional triggers include &#8216;fear&#8217; and  &#8216;guilt&#8217;, and &#8216;trust&#8217; &#8216;value&#8217; and &#8216;belonging&#8217; are most important.   Instilling confidence through understanding is very important.   To achieve conversions the site needs to be understandable, and convey  quality and trust.</p>
<p>Whatever business that can be &#8220;closed&#8221; on the site, should be closed  through the site.  There probably won&#8217;t be a lot of personal follow-up  for a very long time, and if we do marketing right there will be a lull,  and then an avalanche of inquiries &#8211; and inquiries will turn into  person to person contact that needs attention.    The site needs to support these issues.</p>
<p>Ideally there should be a lot of first visit conversions, and visitors should be  expected to return multiple times. Relationship marketing (trigger  &#8220;belonging&#8221;) is fundamental.  Content and layout needs to &#8216;ask for the  order&#8221;</p>
<p>Returning &#8216;customers&#8217;  will be coming to &#8216;take care of business&#8217; (information, contacts, etc) &#8211;  but they are also ideal for cross-selling (a parent interested in the  quality of the science classes finds out about after school programs or  the futsal league &#8211; or spa treatment discounts for members, or swimming  lessons, or wellness etc)  To me  this translates into  content that always hints at and <span style="text-decoration: underline;">leads to</span> more information.</p>
<p>Reach, relevancy, audience, behavior, purpose, goals, style&#8230;</p>
<p>&#8230;  downstream value, re-usability, &#8212; efficiency of effort(s)</p>
<p>Concepts/Definitions:</p>
<p>Search Engine Optimization SEO &#8212; is not technical.  it is about making  the information<span style="text-decoration: underline;"> findable</span>.  The more understandable and the more  organized the site is for humans, then Google and the search engines  will follow.  Sure, there is a lot of technical stuff behind the scenes,  but usually only to correct poor development practices.  Websites are  software, but they are really quite simple once the basics are  understood.  Hwoever, shortcuts cause more problems then most people  realize.</p>
<p>URL &#8211; the website address for each page</p>
<p>Page Title &#8211; what you see in the browser tabs and at the top of the  screen.  For PIA new-site these will be automatically generated for most  pages from the header tags, so while really important for SEO, not  something we have to think about too much.</p>
<p>Meta Description &#8211; what is displayed by Google and search engines on the  search engine results page.  This is the 160-character paragraph that  describes the Page.  Primary pages should be generated manually as  Custom pages.  Secondary, less important pages should be generated  automatically using a set phrase &#8220;Phuket International Academy&#8221; +  headers from the page, and anchor text.</p>
<p>Headers, or H-tags &#8211; H1 through H6.  Content writing MUST use these  protocols.<br />
H1 &#8211; there should be one per page.  &#8220;About Us&#8221; for example.</p>
<p>Anchor Text Link &#8211; what sentence or paragraph describes the page, or  describes the block of content.  Usually this will point at the page or  content from another page or website.</p>
<p>Keywords/Keyword Phrases &#8211; SEO sees these as &#8216;what words do people use  to search&#8217;, the content writer would see these as the words of interest  to readers &#8211; emphasize them and repeat them.   The nuance and subtlety  to this is that word order in phrases can be very important.  Keywords  for &#8216;topics&#8217; or pages require research, and writing must incorporate  this research otherwise the content is not relevant to the target  audience.  So it won&#8217;t be as interesting, and people won&#8217;t find it after  searching on Google etc.</p>
<p>Article Spinning &#8211; the new method for generating both incoming traffic  (people) and quality incoming links to the site (mandatory to achieve  Quality Score and decent Search Engine Results Page performance)  involves submitting articles to various blog and article directory  submission services.  The trick is to have non-duplicated content for  each submission.  This can be done by using synonyms and some code tags  to tell software what to do.</p>
<p>Example:</p>
<p>Phuket  International Academy (PIA) {Blueprint|Standard|Formula} for {Personal|Human}  {Development|Achievement}</p>
<p>The Phuket  International Academy (PIA) is a  {innovative|pioneering|revolutionary|brand new} sports, education, arts and wellness facility {located|sited}  Phuket Thailand.   {It|PIA} {is  comprised of|comprises} three synergistic  centres: the PIA Day School, the PIA Sports, Arts and Wellness Centre and the PIA Mind Centre</p>
<p>When submitted to the article directories, random combinations will be  generated and unique, non-duplicated content will be indexed by search  engines.  People will find these articles, but more importantly if  anchor text links are used then good quality links to the site are  established and the Quality Score is raised.  There is some risk of  diluting keyword &#8216;juice&#8217; of the original site, so keywords in articles  should be minimized &#8211; but anchor text should be relevant.</p>
<p>Under best practices each of these points need to be addressed when  writing the original content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/seo-alchemy/seo-alchemy-writing-for-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Design &#8211; Core Files</title>
		<link>http://www.designchemical.com/blog/index.php/web-design/web-design-core-files/</link>
		<comments>http://www.designchemical.com/blog/index.php/web-design/web-design-core-files/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 18:47:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Tips]]></category>
		<category><![CDATA[Website Coding]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=352</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/web-design/web-design-core-files/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/http_header.jpg" class="alignleft tfe wp-post-image" alt="" title="http_header" /></a><p>Since most websites start with the same set of core file requirements and most layouts have at least the same starting HTML and CSS structure you can speed up your initial web design by having a core set of files&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Since most websites start with the same set of core file requirements and most layouts have at least the same starting HTML and CSS structure you can speed up your initial web design by having a core set of files ready to use.</p>
<p>For our core files we usually have the main directory structure set up:</p>
<ul>
<li>CSS folder</li>
<li>Images Folders</li>
<li>Javscript folder for jQuery plugins</li>
<li>index.html file</li>
</ul>
<p>The index.html file already contains the link to download the latest jQuery library and of course the link to the basic CSS file. The page structure has the div tags for the header, main content and footer and associated CSS rules set up in the style.css file ready to create the main web design layout.</p>
<p>The CSS structure includes:</p>
<ul>
<li>CSS reset &#8211; to remove all default presentation from HTML tags</li>
<li>Coding to create a &#8220;sticky footer&#8221; on your web page</li>
<li>CSS classes to style the website main navigation &amp; footer navigation</li>
<li>Basic form presentation</li>
<li>CSS rules to to create buttons</li>
</ul>
<p>Although you need to develop your own core files that work best for your style of web design, you can however<br />
<a href="http://www.designchemical.com/lab/download/core.zip">download a copy of our core files</a> and are free to use these as a starting point or adapt them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/web-design/web-design-core-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Validation Using jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/email-validation-using-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/email-validation-using-jquery/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:10:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=326</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/email-validation-using-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>A client recently wanted to include validation on their website registration form that would not only check that the input text was a genuine email address but also to disallow registration of any &#8220;free&#8221; email addresses.</p>
<p>Using jQuery we can&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>A client recently wanted to include validation on their website registration form that would not only check that the input text was a genuine email address but also to disallow registration of any &#8220;free&#8221; email addresses.</p>
<p>Using jQuery we can easily add this to the website by creating a regular expression, which checks for email addresses such as yahoo, gmail, hotmail, etc prior to submitting the form to the server. The regular expression can be adapted to reject any domain specified.</p>
<p>First add the form to your website using standard HTML code:</p>
<pre class="brush: plain;">
&lt;form method=&quot;post&quot; name=&quot;form1&quot; action=&quot;&quot;&gt;
  &lt;fieldset&gt;
   &lt;label&gt;Email Address:&lt;/labe&gt;
   &lt;input type=&quot;text&quot; name=&quot;UserEmail&quot; id=&quot;UserEmail&quot; value=&quot;&quot; size=&quot;32&quot; /&gt;
   &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; id=&quot;btn-submit&quot; /&gt;
  &lt;/fieldset&gt;
&lt;/form&gt;
</pre>
<h3>Step 1 &#8211; Initiate the jQuery Validation</h3>
<p><a href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/">After adding jQuery to your website</a> we set up the code that will perform the validation when the submit button is clicked &#8211; first clearing any existing error messages from previous attempts:</p>
<pre class="brush: jscript;">
$(document).ready(function() { 

    $('#btn-submit').click(function() {  

        $(&quot;.error&quot;).hide();
        var hasError = false;

    });
});
</pre>
<h3>Step 2 &#8211; Check that the Input Field is Not Empty</h3>
<p>For the first step of the validation we want to add the jQuery code that will check if there is any text in the input field and if not return the appropriate error message and stop the form being submitted:</p>
<pre class="brush: jscript;">
$(document).ready(function() { 

    $('#btn-submit').click(function() {  

        $(&quot;.error&quot;).hide();
        var hasError = false;

        var emailaddressVal = $(&quot;#UserEmail&quot;).val();
        if(emailaddressVal == '') {
            $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;Please enter your email address.&lt;/span&gt;');
            hasError = true;
        }

        if(hasError == true) { return false; }

    });
});
</pre>
<h3>Step 3 &#8211; Check that the Entered Text is a Valid Email Address</h3>
<p>Our first regular expression will check to make sure that the entered text is a valid email address &#8211; i.e. contains at least one &#8220;.&#8221;, an &#8220;@&#8221; symbol and an appropriate top-level domain suffix (e.g. .com, .net, etc):</p>
<pre class="brush: jscript;">
$(document).ready(function() { 

    $('#btn-submit').click(function() {  

        $(&quot;.error&quot;).hide();
        var hasError = false;
        var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;

        var emailaddressVal = $(&quot;#UserEmail&quot;).val();
        if(emailaddressVal == '') {
            $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;Please enter your email address.&lt;/span&gt;');
            hasError = true;
        }

        else if(!emailReg.test(emailaddressVal)) {
            $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;Enter a valid email address.&lt;/span&gt;');
            hasError = true;
        }

        if(hasError == true) { return false; }

    });
});
</pre>
<h3>Step 4 &#8211; Block or Prevent Free Email Addresses &#8211; e.g. yahoo.com, gmail.com and hotmail.com</h3>
<p>The 2nd regular expression will now check the entered text against our pre-defined domain names &#8211; in this case yahoo.com, gmail.com and hotmail.com. Once again an error message is displayed and the form submission stopped if the email address matches one of the domains:</p>
<pre class="brush: jscript;">
$(document).ready(function() { 

  $('#btn-submit').click(function() {  

    $(&quot;.error&quot;).hide();
    var hasError = false;
    var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
    var emailblockReg =
     /^([\w-\.]+@(?!gmail.com)(?!yahoo.com)(?!hotmail.com)([\w-]+\.)+[\w-]{2,4})?$/;

    var emailaddressVal = $(&quot;#UserEmail&quot;).val();
    if(emailaddressVal == '') {
      $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;Please enter your email address.&lt;/span&gt;');
      hasError = true;
    }

    else if(!emailReg.test(emailaddressVal)) {
      $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;Enter a valid email address.&lt;/span&gt;');
      hasError = true;
    }

    else if(!emailblockReg.test(emailaddressVal)) {
      $(&quot;#UserEmail&quot;).after('&lt;span class=&quot;error&quot;&gt;No yahoo, gmail or hotmail emails.&lt;/span&gt;');
      hasError = true
    } 

    if(hasError == true) { return false; }

    });
});
</pre>
<p>The above example can easily be configured to reject (or even accept) any specified email address. To see it in action &#8211; <a href="/lab/jquery/demo/jquery_email_validation.htm" title="jQuery Demo - Email Validation Using jQuery">Check out our online demo of Email Validation Using jQuery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/email-validation-using-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create a Reverse-Order Ordered List Using jQuery</title>
		<link>http://www.designchemical.com/blog/index.php/web-design-tips/create-a-reverse-order-ordered-list-using-jquery/</link>
		<comments>http://www.designchemical.com/blog/index.php/web-design-tips/create-a-reverse-order-ordered-list-using-jquery/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 12:59:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design Tips]]></category>
		<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=304</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/web-design-tips/create-a-reverse-order-ordered-list-using-jquery/"><img align="left" hspace="5" width="120" height="120" src="http://www.designchemical.com/blog/wp-content/uploads/2010/05/thumb_jquery_code.png" class="alignleft tfe wp-post-image" alt="" title="thumb_jquery_code" /></a><p>Earlier today I came across a small website coding &#8220;problem&#8221;, which required me to create a &#8220;top-ten&#8221; list of items in reverse order for a client.</p>
<p>Usually ordered lists are very simple to in XHTML create using the following code:&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Earlier today I came across a small website coding &#8220;problem&#8221;, which required me to create a &#8220;top-ten&#8221; list of items in reverse order for a client.</p>
<p>Usually ordered lists are very simple to in XHTML create using the following code:</p>
<pre class="brush: plain;">
&lt;ol&gt;
  &lt;li&gt;List item 1&lt;/li&gt;
  &lt;li&gt;List item 2&lt;/li&gt;
  &lt;li&gt;List item 3&lt;/li&gt;
  &lt;li&gt;List item 4&lt;/li&gt;
  &lt;li&gt;List item 5&lt;/li&gt;
&lt;/ol&gt;
</pre>
<p>Which will produce the following ordered list:</p>
<ol style="margin-left: 30px">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
<li>List item 5</li>
</ol>
<p>Unfortunately HTML won&#8217;t automatically handle reverse numbering. Adding the numbers manually into a standard unordered list looked messy and I wanted a solution that would automatically renumber the list in case anyone else came along and added more items &#8230; jQuery to the rescue.</p>
<p>Using some of the usual <a href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/" rel="external">jQuery magic</a> we can add the following code to the head of the document:</p>
<pre class="brush: jscript;">
$(document).ready(function() {   

   var countli = $('ol &gt; li').size();
   $(&quot;ol &gt; li&quot;).each(function(i) {
         var attrvalue = countli - i;
         $(this).attr(&quot;value&quot;,attrvalue);
   });
});
</pre>
<p>This will automatically reverse order all of the items in the ordered lists on the web page by adding the &#8220;value&#8221; attribute to each list item.</p>
<p><a href="/lab/jquery/demo/jquery_reverse_unordered_list.htm" title="Create a Reverse Order Ordered List Using jQuery" class="external">See demo for creating a reverse order ordered list using jQuery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/web-design-tips/create-a-reverse-order-ordered-list-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick and Easy jQuery Image Swap</title>
		<link>http://www.designchemical.com/blog/index.php/jquery/quick-and-easy-jquery-image-swap/</link>
		<comments>http://www.designchemical.com/blog/index.php/jquery/quick-and-easy-jquery-image-swap/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:18:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design Tips]]></category>
		<category><![CDATA[Website Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=292</guid>
		<description><![CDATA[<a href="http://www.designchemical.com/blog/index.php/jquery/quick-and-easy-jquery-image-swap/"><img align="left" hspace="5" width="120" src="/lab/media/images/img_swap_off.png" class="alignleft wp-post-image tfe" alt="" title="" /></a><p>Here is a very quick and easy way to implement image swap on hover on your website using jQuery.</p>
<p>With the <a href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/">jQuery javascript library already added to your website</a> add the following javascript code between the head tags in&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Here is a very quick and easy way to implement image swap on hover on your website using jQuery.</p>
<p>With the <a href="http://www.designchemical.com/blog/index.php/jquery/adding-jquery-to-your-website/">jQuery javascript library already added to your website</a> add the following javascript code between the head tags in your web page:</p>
<pre class="brush: jscript;">
jQuery(function(){
     $(&quot;.img-swap&quot;).hover(
          function(){this.src = this.src.replace(&quot;_off&quot;,&quot;_on&quot;);},
          function(){this.src = this.src.replace(&quot;_on&quot;,&quot;_off&quot;);
     });
});
</pre>
<p>Then simply create your 2 images &#8211; normal state called xxxxxx_off.jpg and the hover state xxxxxx_on.jpg, add the css class &#8220;img-swap&#8221; to the image tag in your html and jQuery will do the rest &#8230; see demo below:</p>
<p><img src="/lab/media/images/img_swap_off.png" alt="" class="img-swap" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/jquery/quick-and-easy-jquery-image-swap/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SEO &#8211; Simple Notes about Linking with other Sites</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-optimization/seo-simple-notes-about-linking-with-other-sites/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-optimization/seo-simple-notes-about-linking-with-other-sites/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 06:33:10 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=287</guid>
		<description><![CDATA[<p>Make no mistake &#8211; Google rates your quality score / SERP (search engine results page/position) using the quantity and quality of incoming links (backlinks) to you site.  This is a big subject, critical to your SEO success, and not an easy&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Make no mistake &#8211; Google rates your quality score / SERP (search engine results page/position) using the quantity and quality of incoming links (backlinks) to you site.  This is a big subject, critical to your SEO success, and not an easy thing to achieve.</p>
<p>There are a number of websites and services to help evaluate the quality of your potential link partners, and while it is important, and certainly part of our process as hired SEO consultants, you don&#8217;t necessarily need to agonize over this  &#8211; especially since you have a newish site and are hungry to find links.</p>
<p>When looking at potential sites to exchange links with, the first thing to look into is whether they have a Google Page rank higher than yours. (typically PR goes from 0 to 5 &#8211; there are lots of sites that rate higher but aren&#8217;t typical).  You normally don&#8217;t want to link to someone less than 3 but if you go to the site and it looks like the care about quality content and they are just starting &#8211; you can help each other by linking and both will improve.</p>
<p>Google Page Rank is a measure of how many <strong>relevant</strong> sites link to you &#8211; and it comes into play regarding your SERP &#8211; search engine results page position (top ten or somewhere in the hundreds or nowadays millions).</p>
<p>If you download the google toolbar for either Internet Explorer or Firefox, the PR ranking of the page you are visiting is displayed when you visit their site.</p>
<p>If you want to really learn about a website there is a great add-on for Firefox &#8212; go to the firefox add-on site (search for that)  &#8212; then search for add-ons for  wmtips &#8211; they will display an addon called &#8216;info&#8217; &#8211; go ahead and add that (download and install)- after it installs etc you will see a little icon in the lower right of your browser screen that says &#8216;info&#8217; when on a page you&#8217;re interested in click that icon &#8211; a new tab will open up with all kinds of info about the site, google rank, keywords, when it was created, registered domain owner etc &#8212; very useful stuff.</p>
<p><a href="http://www.wmtips.com/tools/info/?url=http%3A%2F%2Fwww.simplysunglasses.com%2Fhome.php&amp;src=ff&amp;v=1.2" target="_blank"></a>Most important thing about assessing whether a link is suitable or not, is whether it is a &#8216;relevant&#8217; site to yours.  Fashion and fashion accessories should mean that sunglasses and handbags are related &#8211; but Googlebot is a piece of software &#8211; it contains advanced algorithms but it is still sort of dumb, it only knows what you tell it.  So if there is some doubt about whether a site is relevant, you need to look at their page title, meta description and keywords.  Googlebot is smart enough to use a little thesaurus knowhow so if the words aren&#8217;t exactly the same, it still knows enough if they are related.</p>
<p>It is also critically important to avoid link farms and paid link schemes &#8211; a lot of sites have self-destructed doing this.  Don&#8217;t.</p>
<p>It&#8217;s also important to remember not to submit just www.worldsgreateswebsite.com but http://www.worldsgreateswebsite..com/products.htm  (PLEASE NOTE  the extension at the end&#8230; its always a good idea to go the page you want people to link to and copy the link location from your browser &#8211; sometimes there are a lot of add on parameter data you don&#8217;t want either &#8211; so if in doubt contact us, we&#8217;ll let you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-optimization/seo-simple-notes-about-linking-with-other-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blogging &#8211; Easy to Do, Do it Often</title>
		<link>http://www.designchemical.com/blog/index.php/blogging/blogging-easy-to-do-do-it-often/</link>
		<comments>http://www.designchemical.com/blog/index.php/blogging/blogging-easy-to-do-do-it-often/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 13:00:41 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=282</guid>
		<description><![CDATA[<p>Blogging is very important for the success of your internet business.</p>
<p>Log in, add a new post, select a category, publish.</p>
<p>If you use good keywords, write good content, the world will find you.</p>
<p>We can help you do this,&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Blogging is very important for the success of your internet business.</p>
<p>Log in, add a new post, select a category, publish.</p>
<p>If you use good keywords, write good content, the world will find you.</p>
<p>We can help you do this, just contact us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/blogging/blogging-easy-to-do-do-it-often/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Alchemy &#8211; SEO Checklist &#8211; Keywords in the URL</title>
		<link>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-keywords-in-the-url/</link>
		<comments>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-keywords-in-the-url/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 12:58:35 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=280</guid>
		<description><![CDATA[<p>As we mentioned in our blog post about page title, keywords in URLs are important, but the keywords need to be in the content as well.</p>
<p>What we mean by this is something like:</p>
<p>www.bestspyphone.com</p>
<p><a href="http://www.bestspyphone.com/parental-control-software.html" target="_blank">www.bestspyphone.com/parental-control-software.html</a></p>
<p>And then the page&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>As we mentioned in our blog post about page title, keywords in URLs are important, but the keywords need to be in the content as well.</p>
<p>What we mean by this is something like:</p>
<p>www.bestspyphone.com</p>
<p><a href="http://www.bestspyphone.com/parental-control-software.html" target="_blank">www.bestspyphone.com/parental-control-software.html</a></p>
<p>And then the page title, the meta description, headers and content must use those keywords.</p>
<p>Simple stuff really, but you&#8217;d be surprised how overlooked this is.</p>
<p>Thanks for visiting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-keywords-in-the-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Alchemy &#8211; SEO Checklist &#8211; Page Title Tag</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-page-title-tag/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-page-title-tag/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 03:58:21 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=275</guid>
		<description><![CDATA[<p>Very important The title tag must be short (6 or 7 words) and the keyword must be near the beginning.  There is some debate about how long to make the title because search engines read more than what is displayed.  I suggest&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Very important The title tag must be short (6 or 7 words) and the keyword must be near the beginning.  There is some debate about how long to make the title because search engines read more than what is displayed.  I suggest not being too cute and just make sure it is relevant and meaningful, rather that just stuffing it with keywords.</p>
<p>Of course when we talk SEO we&#8217;re really talking about keywords. Keywords aren&#8217;t that mysterious &#8211; they&#8217;re just the terms people use to search, so you want the search engine spiders to associate your page with those terms.  So the trick is pick one, two or three keyword/keyword phrases that you want associated with that page.  That might be the hardest part &#8211; narrowing down the words to less than a handful.</p>
<p>So to be most effective, the URL should include a keyword you want to &#8216;own&#8217;, then the page title has that or very closely related term, then the meta description includes it, and the H tag headers have the same and related terms, and the content has bolded, and/or underlined the same words.  Yes you are repeating it over and over.  That isn&#8217;t &#8220;stuffing&#8221; that is making it clear to the spiders, and much more importantly, clear to the human visitors what the page is about.</p>
<p>If you approach that intuitively it makes sense.  Tell me what you&#8217;re going to tell me, tell me, and tell me what you told me&#8230;  Peoples eyes go to the headers and bold text.  If that is what they are searching for you are showing them what they want to see.  Of course, you should have relevant content to back it up!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-page-title-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Alchemy &#8211; SEO Checklist &#8211; Press Releases</title>
		<link>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-press-releases/</link>
		<comments>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-press-releases/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 03:37:02 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=272</guid>
		<description><![CDATA[<p>Press Releases and Article Marketing is hard work, but writing quality articles on your topics and submitting them to PR submission services and article directories will give you relevant backlinks from quality websites, as well as direct incoming traffic.</p>
<p>We&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Press Releases and Article Marketing is hard work, but writing quality articles on your topics and submitting them to PR submission services and article directories will give you relevant backlinks from quality websites, as well as direct incoming traffic.</p>
<p>We can either produce these, or at least advise on how to get the best results from them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/seo-alchemy/design-chemical-alchemy-seo-checklist-press-releases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Alchemy &#8211; SEO Checklist &#8211; Directory Submissions</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-directory-submissions/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-directory-submissions/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 07:50:07 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[SEO Alchemy]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=269</guid>
		<description><![CDATA[<p>Directory Submissions are not what they used to be but still matter, especially for new sites hungry for traffic and backlinks.</p>
<p>Website directories give your site a quick description and a link to a landing page. This is a proven&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Directory Submissions are not what they used to be but still matter, especially for new sites hungry for traffic and backlinks.</p>
<p>Website directories give your site a quick description and a link to a landing page. This is a proven way to build a many backlinks in a short period of time. They won’t perform miracles, but directories can help when combined with other SEO techniques.</p>
<p>SEO blogging gurus have a variety of opinions ranging from Google doesn&#8217;t count directories anymore, to you need 2500 directory listings to make an impact.  We&#8217;re doing some testing to determine effects but it is difficult to determine exactly what benefits you get.  But do keep in mind that Google penalizes paid links so my advice is to avoid paying for links of anykind.  The directory submission services that offer manual linking service may be okay, but again what they do is out of your control so not necessarily a sure bet either.</p>
<p>Directory submission used to be the wholy grail, but things change and I would move this down the &#8216;to do&#8217; list.  Blogging is what gets it done, and the better the content you offer about what you know about the better.</p>
<p>Thanks for visiting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-directory-submissions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Design Chemical Search Engine Marketing</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-marketing/design-chemical-search-engine-marketing/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-marketing/design-chemical-search-engine-marketing/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 05:53:19 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Search Engine Marketing]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=265</guid>
		<description><![CDATA[<p>Got Adwords?</p>
<p>While you&#8217;re waiting for SEO to take affect, you might want to consider implementing Search Engine Marketing SEM to either jumpstart your business or as a permanent part of your business development portfolio.</p>
<p>We can help design, develop&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Got Adwords?</p>
<p>While you&#8217;re waiting for SEO to take affect, you might want to consider implementing Search Engine Marketing SEM to either jumpstart your business or as a permanent part of your business development portfolio.</p>
<p>We can help design, develop and manage you Google Adwords, Bing, Yahoo or Social Networking Advertising (Facebook) campaigns.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-marketing/design-chemical-search-engine-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Product Sourcing and Buying Service</title>
		<link>http://www.designchemical.com/blog/index.php/product-sourcing-buying-service/design-chemical-product-sourcing-and-buying-service/</link>
		<comments>http://www.designchemical.com/blog/index.php/product-sourcing-buying-service/design-chemical-product-sourcing-and-buying-service/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 05:37:11 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Product Sourcing and Buying Service]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=261</guid>
		<description><![CDATA[<p>Design Chemical has relationships with an incredible array of product manufacturers, especially those that are represented in the world-famous Bangkok <strong>Jatujak Market</strong>, also spelled <strong>Chatuchak Market</strong>.</p>
<p>We are also experts at export shipping supply chain logistics management and can take&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Design Chemical has relationships with an incredible array of product manufacturers, especially those that are represented in the world-famous Bangkok <strong>Jatujak Market</strong>, also spelled <strong>Chatuchak Market</strong>.</p>
<p>We are also experts at export shipping supply chain logistics management and can take care of all aspects of your purchase.</p>
<p>Combined with our expert <a href="http://www.designchemical.com/services.asp">printing services</a> we&#8217;re an ideal choice to handle your <strong>Corporate Gifts</strong>, <strong>Promotional</strong> and <strong>Specialty Item </strong>projects.   From logos printed on chopsticks to complete table-settings Design Chemical specializes in <strong>Home and Gift</strong> supply.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/product-sourcing-buying-service/design-chemical-product-sourcing-and-buying-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Chemical Printing Services</title>
		<link>http://www.designchemical.com/blog/index.php/brochures/design-chemical-printing-services/</link>
		<comments>http://www.designchemical.com/blog/index.php/brochures/design-chemical-printing-services/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 04:36:10 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Brochures]]></category>
		<category><![CDATA[Business Cards]]></category>
		<category><![CDATA[Poster Design]]></category>
		<category><![CDATA[Printing]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=256</guid>
		<description><![CDATA[<p>Design Chemical supplies expert Printing Services for customers big and small.</p>
<p><strong>Business Cards, Brochures, Catalogs, Posters and Specialty Printing.<br />
</strong></p>
<p>Just about anything.  From paper to chopsticks, to crocodile leather.<strong><br />
</strong></p>
<p><strong>Design, layout and production </strong>including <strong>Spot UV </strong>and<strong> Silver</strong>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Design Chemical supplies expert Printing Services for customers big and small.</p>
<p><strong>Business Cards, Brochures, Catalogs, Posters and Specialty Printing.<br />
</strong></p>
<p>Just about anything.  From paper to chopsticks, to crocodile leather.<strong><br />
</strong></p>
<p><strong>Design, layout and production </strong>including <strong>Spot UV </strong>and<strong> Silver foil </strong>as well as others<strong>.</strong></p>
<p><strong>Short run printing</strong>.  Responsive<strong> </strong>and reliable professional service.</p>
<p><a href="http://www.designchemical.com/service_detail.asp?service=10">More information on standard and specialty printing can be found on our Bangkok Printing page </a></p>
<p>or visit the <a title="Brochures Blog" href="http://www.designchemical.com/blog/index.php/category/brochures/">Brochures Blog</a>, <a title="Business Card Blog" href="http://www.designchemical.com/blog/index.php/category/business-cards/">Business Card Blog</a> or <a title="Printing Blog" href="http://www.designchemical.com/blog/index.php/category/printing/">Printing Blog</a></p>
<p>Ask about our<strong> Sourcing and Buying Services</strong> too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/brochures/design-chemical-printing-services/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Thailand e Commerce Web Design</title>
		<link>http://www.designchemical.com/blog/index.php/web-design/thailand-e-commerce-web-design/</link>
		<comments>http://www.designchemical.com/blog/index.php/web-design/thailand-e-commerce-web-design/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 07:54:32 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[ecommerce]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=223</guid>
		<description><![CDATA[<p>eCommerce is a critical element for many businesses and usually requires a variety of technologies in order to be effective.  The first step is a foundation of good coding.</p>
<p>Design Chemical is focused on proper code, along with leveraging a variety&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>eCommerce is a critical element for many businesses and usually requires a variety of technologies in order to be effective.  The first step is a foundation of good coding.</p>
<p>Design Chemical is focused on proper code, along with leveraging a variety of tools to make the eCommerce shopping cart both user friendly, as well as, SEO effective.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/web-design/thailand-e-commerce-web-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thai Web Design</title>
		<link>http://www.designchemical.com/blog/index.php/web-design/thai-web-design/</link>
		<comments>http://www.designchemical.com/blog/index.php/web-design/thai-web-design/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 06:25:54 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=221</guid>
		<description><![CDATA[<p>Design Chemical is earning a reputation for excellence in <strong>Thai Web Design.</strong></p>
<p><strong>CMS Content Management Systems, eCommerce sites, Graphic Image Galleries, Databases, Blog Setup, Forum Setup, SEO Search Engine Optimization, SEM Search Engine Marketing, Traffic Analytics, and Web Hosting<br /></strong>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Design Chemical is earning a reputation for excellence in <strong>Thai Web Design.</strong></p>
<p><strong>CMS Content Management Systems, eCommerce sites, Graphic Image Galleries, Databases, Blog Setup, Forum Setup, SEO Search Engine Optimization, SEM Search Engine Marketing, Traffic Analytics, and Web Hosting<br />
</strong></p>
<p>A variety of technical skills and a commitment to professional service  make Design Chemical a good choice for<a href="http://www.designchemical.com/blog/index.php/web-design/bangkok-web-design/"> Web Design and Web Development in Bangkok</a> and around the world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/web-design/thai-web-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bangkok Web Design</title>
		<link>http://www.designchemical.com/blog/index.php/web-design/bangkok-web-design/</link>
		<comments>http://www.designchemical.com/blog/index.php/web-design/bangkok-web-design/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 06:21:48 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=219</guid>
		<description><![CDATA[<p>Design Chemical is working hard to be recognized as the best in <strong>Bangkok Web Design.</strong></p>
<ul>
<li><strong>eCommerce</strong></li>
<li><strong>CMS Content Management Systems,</strong></li>
<li><strong>jQuery</strong></li>
<li><strong>Dynamic Sites</strong></li>
<li><strong>Image Galleries</strong></li>
<li><strong>Database</strong></li>
<li><strong>Blogs</strong></li>
<li><strong>Forums</strong></li>
<li><strong>SEO Search Engine Optimization</strong></li>
<li><strong>SEM Search Engine Marketing</strong></li>
<li><strong>Analytics</strong></li>
<li><strong>Web Hosting</strong></li></ul><p>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Design Chemical is working hard to be recognized as the best in <strong>Bangkok Web Design.</strong></p>
<ul>
<li><strong>eCommerce</strong></li>
<li><strong>CMS Content Management Systems,</strong></li>
<li><strong>jQuery</strong></li>
<li><strong>Dynamic Sites</strong></li>
<li><strong>Image Galleries</strong></li>
<li><strong>Database</strong></li>
<li><strong>Blogs</strong></li>
<li><strong>Forums</strong></li>
<li><strong>SEO Search Engine Optimization</strong></li>
<li><strong>SEM Search Engine Marketing</strong></li>
<li><strong>Analytics</strong></li>
<li><strong>Web Hosting</strong></li>
</ul>
<p>A broad range of technical skills combined with a commitment to service and professionalism makes Design Chemical the best choice for <a href="http://www.designchemical.com/blog/index.php/web-design/thai-web-design/">Web Design and Web Development in Thailand</a> and around the globe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/web-design/bangkok-web-design/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>Design Chemical Alchemy &#8211; SEO Checklist &#8211; Bad Links</title>
		<link>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-bad-links/</link>
		<comments>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-bad-links/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 04:35:29 +0000</pubDate>
		<dc:creator>Todd</dc:creator>
				<category><![CDATA[Incoming Links]]></category>
		<category><![CDATA[SEO Alchemy]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.designchemical.com/blog/?p=216</guid>
		<description><![CDATA[<p>Links police.  Bad links, are well, bad.</p>
<p>When clients have paid to have someone generate links we’re usually faced with the need for a complete do over in order to start generating quality incoming links.  We definitely will eliminate questionable outgoing links.  The&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Links police.  Bad links, are well, bad.</p>
<p>When clients have paid to have someone generate links we’re usually faced with the need for a complete do over in order to start generating quality incoming links.  We definitely will eliminate questionable outgoing links.  The next several check- list items involve evaluating the link situation and making recommendations on how to proceed.</p>
<p>What do we mean by &#8220;bad links&#8221;?</p>
<p>We&#8217;ve noticed people continue to use techniques for search engine optimization to generate incoming links that stopped working years ago.  Namely link schemes for paid links, and potential &#8216;black hat&#8221; techniques trying to fool the search engines.  We see a lot of them too, especially here in Thailand.  Five year old techniques do more harm than good.</p>
<p>Not all incoming links are valuable, and some will get your site a black mark.  More on this topic soon.</p>
<p>Thanks for visiting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designchemical.com/blog/index.php/search-engine-optimization/design-chemical-alchemy-seo-checklist-bad-links/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
