<?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>Optimise Blog &#187; Web Design</title>
	<atom:link href="http://optimiseblog.co.uk/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://optimiseblog.co.uk</link>
	<description>Technology, in plain English!</description>
	<lastBuildDate>Mon, 27 Feb 2012 12:58:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>&#8216;Is Home Page&#8217; conditional or Check if you are on the Home page in Magento 1.4 &amp; 1.5</title>
		<link>http://optimiseblog.co.uk/is-home-page-conditional-or-check-if-you-are-on-the-home-page-in-magento-1-4-1-5/</link>
		<comments>http://optimiseblog.co.uk/is-home-page-conditional-or-check-if-you-are-on-the-home-page-in-magento-1-4-1-5/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 12:51:11 +0000</pubDate>
		<dc:creator>Adrian @ Optimise</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=738</guid>
		<description><![CDATA[Do you need to put some content on the Home page of your Magento site, but not on others? Here&#8217;s how: Open the relevant .phtml template file which contains the code you want to show on the Home page. Then add the code below depending on which version of Magento you are using&#8230; In Magento version 1.4.x [...]]]></description>
			<content:encoded><![CDATA[<p>Do you need to put some content on the Home page of your Magento site, but not on others? Here&#8217;s how:</p>
<p>Open the relevant .phtml template file which contains the code you want to show on the Home page. Then add the code below depending on which version of Magento you are using&#8230;</p>
<p>In Magento version 1.4.x you need to run a check to see if the current URL matches the Home page URL. This piece of code is called a conditional. Our conditional to check if we are on the Home page would look like this&#8230;</p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if( $this-&gt;getUrl('') == $this-&gt;getUrl('*/*/*', array('_current'=&gt;true, '_use_rewrite'=&gt;true)) ):?&gt;
Your HTML here...
&lt;?php endif; ?&gt;</pre>
<p>In version 1.5, the Magento developers were kind enough to include a new global function&#8230;</p>
<pre class="brush: plain; title: ; notranslate">$this-&gt;getIsHomePage();</pre>
<p>So if you use Magento 1.5.x or newer, can use this conditional in our .phtml file&#8230;</p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if( $this-&gt;getIsHomePage() ):?&gt;
Your HTML here...
&lt;?php endif; ?&gt;</pre>
<p>Much neater!</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/is-home-page-conditional-or-check-if-you-are-on-the-home-page-in-magento-1-4-1-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menu Highlighting with jQuery</title>
		<link>http://optimiseblog.co.uk/menu-highlighting-with-jquery/</link>
		<comments>http://optimiseblog.co.uk/menu-highlighting-with-jquery/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 12:54:53 +0000</pubDate>
		<dc:creator>Adrian @ Optimise</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=689</guid>
		<description><![CDATA[If you&#8217;ve built a menu and you want to style the link which corresponds to the page you are on, you can easily add a class to the link using jQuery and then style it using CSS. Billy, one of the developers here at Optimise Web, wrote this small, yet effective script to add a [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve built a menu and you want to style the link which corresponds to the page you are on, you can easily add a class to the link using jQuery and then style it using CSS.</p>
<p>Billy, one of the developers here at <a title="Web Design in Edinburgh - Optimise Web" href="http://optimiseweb.co.uk">Optimise Web</a>, wrote this small, yet effective script to add a class of &#8220;active&#8221; to all links on the page which link to the current page in the browser&#8230;</p>
<pre class="brush: plain; title: ; notranslate">jQuery(document).ready(function($){
 var url = window.location; // get current URL
 $('a[href=&quot;'+url+'&quot;]').addClass('active'); // add class of 'active' to selected links matching current url
});</pre>
<p>In this state any link will get the &#8220;active&#8221; class added. It would be better to be more specific with the jQuery slector. This would make the javascript more efficient as it is not having to search the entire page for links. So, as an example, I wanted this script to only target links in my menu. So I changed&#8230;</p>
<pre class="brush: plain; title: ; notranslate">$('a[href=&quot;'+url+'&quot;]').addClass('active');</pre>
<p>to&#8230;</p>
<pre class="brush: plain; title: ; notranslate">$('nav ul a[href=&quot;'+url+'&quot;]').addClass('active');</pre>
<p>Say you wanted to highlight the current page&#8217;s link in your menu with red text, in your CSS you can add styling to your links like this&#8230;</p>
<pre class="brush: plain; title: ; notranslate">nav ul a.active {color:#900000;}</pre>
<p>And that&#8217;s it. Simple!</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/menu-highlighting-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Fix :  IMG Tag Displays a Bottom Margin Space in Firefox</title>
		<link>http://optimiseblog.co.uk/html-fix-img-tag-displays-a-bottom-margin-space-in-firefox/</link>
		<comments>http://optimiseblog.co.uk/html-fix-img-tag-displays-a-bottom-margin-space-in-firefox/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:03:21 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Images]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=278</guid>
		<description><![CDATA[Firefox adds a little white space below images. This looks like a bottom margin, but isn’t really a margin space. Add a Display: Block to your Images in the CSS and the bottom margin / white space will be gone!]]></description>
			<content:encoded><![CDATA[<p>For some strange reason, Firefox adds a little white space below images. This looks like a bottom margin, but isn&#8217;t really a margin space.</p>
<p>When reading through the internet I found a fix for this issue. Very simple!</p>
<p>Add the following to your css and the bottom margin / white space will be gone&#8230;</p>
<p>
<pre>img {display: block;}</pre>
</p>
<p><a rel="external nofollow" href="http://akinas.com/pages/en/blog/firefox_image_gap">Original Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/html-fix-img-tag-displays-a-bottom-margin-space-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Project and Website Re-Design Checklist</title>
		<link>http://optimiseblog.co.uk/web-project-and-website-re-design-checklist/</link>
		<comments>http://optimiseblog.co.uk/web-project-and-website-re-design-checklist/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:34:39 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Online Marketing]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Checklist]]></category>
		<category><![CDATA[Optimise]]></category>
		<category><![CDATA[Optimiseweb]]></category>
		<category><![CDATA[Public Relations]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=116</guid>
		<description><![CDATA[Seth Godin is a popular marketing guru and he writes some really interesting articles on his blog. I spotted his new article &#8211; ‘Things to ask before you redo your website’. The article is spot on and a must read. The web design business has been around for a decent while and only now are [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-120" title="Google Analytics Website Report" src="http://optimiseblog.co.uk/wp-content/uploads/2009/09/Google-Analytics-300x210.png" alt="Google Analytics Website Report" width="300" height="210" /></p>
<p><a title="Seth Godin's Blog" href="http://sethgodin.typepad.com/seths_blog/2009/09/things-to-ask-before-you-redo-your-website.html" target="_blank" rel="nofollow">Seth Godin</a> is a popular marketing guru and he writes some really interesting articles on his blog. I spotted his new article &#8211; ‘Things to ask before you redo your website’. The article is spot on and a must read. The web design business has been around for a decent while and only now are businesses finally grasping the true value of a well planned web strategy. I would like to highlight a few important facts before you head on to Seth Godin’s blog.</p>
<p><strong>Public relations face of your business</strong> – Visitors, potentials, and customers would want to find information about your company, products, and services. Your website creates the perception of your brand in the minds of the visitors. What they see on the website is what they perceive.</p>
<p><strong>Hits / Visitors / Conversions</strong> – Thanks to all those SEO (search engine optimisation) conmen, the entire purpose of websites have been misunderstood to be a war of competitors that take place on Google. Websites require a lot of hits (number of page views). Some of those hits will qualify as a quality visitor (someone who is interested in your products). The visitor will convert to a customer if you can convince them that you can provide the products they are looking for; at the right price; and to the expected quality of service. Conversions have nothing to do with search engines, even though SEO helps you get noticed. If your website’s strategy is not precise, you can get a million hits but end up with no conversions!</p>
<p><strong>Time is money. Act fast</strong> &#8211; The web is a fast changing medium. For every minute you waste, you are allowing thousands of other businesses / web entrepreneurs to win over you. Set aside some time for your website and PR. What might be surprising is that businesses spend thousands on print and TV advertising and fail to invest similar time and money into their websites. After seeing your print advertisement your potential customers will want to head to your website. You don’t really want to waste the effort and investment that you put into your print campaign to be ruined by a website that couldn’t live up to the expectations of the customer.</p>
<p>Rather than me trying to regurgitate the checklist all over again, I thought it would be a good idea to post a link to his article. <a title="Seth Godin's Blog" rel="nofollow" href="http://sethgodin.typepad.com/seths_blog/2009/09/things-to-ask-before-you-redo-your-website.html" target="_blank">Click here to read it</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/web-project-and-website-re-design-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

