<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Leon Amarant</title>
	
	<link>http://www.leonamarant.com</link>
	<description />
	<lastBuildDate>Sat, 13 Mar 2010 22:57:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/LeonAmarant" /><feedburner:info uri="leonamarant" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>LeonAmarant</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Standards Compliant, Accessible Tabs Using HTML, CSS, and 4 Tiny Images</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/1RN8WdkAYLQ/</link>
		<comments>http://www.leonamarant.com/2010/03/10/standards-compliant-accessible-tabs-using-html-css-and-4-tiny-images/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:50:01 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=343</guid>
		<description><![CDATA[
Download Source Code
View a Demo

Horizontal navigation menus are one of the (if not THE) most common user interface elements used across the web. They provide an easy way for a user to both navigate a web site as well as quickly determine, at a glance, what section of the web site they are currently on.
My [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<h2><a class="download" title="Download Files" href="http://www.leonamarant.com/demos/tabs/LATabs.zip" target="_blank">Download Source Code</a></h2>
<h2><a class="demo" title="View a Demo" href="http://www.leonamarant.com/demos/tabs/" target="_blank">View a Demo</a></h2>
</blockquote>
<p>Horizontal navigation menus are one of the (if not THE) most common user interface elements used across the web. They provide an easy way for a user to both navigate a web site as well as quickly determine, at a glance, what section of the web site they are currently on.</p>
<h1>My Requirements</h1>
<ul>
<li>Must degrade gracefully when style sheets are turned off</li>
<li>Must be fully accessible</li>
<li>Must validate to W3C standard</li>
<li>Must be light-weight and simple</li>
<li>Must provide ability to change colors without having to modify images</li>
<li>Must be able to turn a tab on by simply adding a class</li>
</ul>
<p>The code below generates a customizable horizontal, tabbed menu with a set height of 75 pixels. If you want to change the height of the menu you will have to create new images and also modify the height settings in the CSS code. With that in mind, I have included the Photoshop file I used to create the menu in the zipped archive for you to reference.</p>
<p>I have tested this in Firefox (2,3,3.5), IE7, IE8, Safari, Opera, and Chrome and it looks good across all of them (if you experience an issue in another browser, please let me know by commenting on this post).</p>
<h1>The Plan</h1>
<p style="text-align: center;"><img class="size-full wp-image-347  aligncenter" title="LATabs Diagram" src="http://www.leonamarant.com/wp-content/uploads/2010/03/tabs-diagram.jpg" alt="" width="520" height="276" /></p>
<h1>The HTML Code</h1>
<pre class="brush: xml;">
&lt;ul id=&quot;LATabs&quot;&gt;
	&lt;li class=&quot;current_page_item&quot;&gt;&lt;a href=&quot;&quot; title=&quot;Home&quot;&gt;&lt;span class=&quot;tLeft&quot;&gt;&lt;/span&gt;&lt;span class=&quot;tMid&quot;&gt;Home&lt;/span&gt;&lt;span class=&quot;tRight&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;&quot; title=&quot;Menu Item 1&quot;&gt;&lt;span class=&quot;tLeft&quot;&gt;&lt;/span&gt;&lt;span class=&quot;tMid&quot;&gt;Menu Item 1&lt;/span&gt;&lt;span class=&quot;tRight&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;&quot; title=&quot;Menu Item 2&quot;&gt;&lt;span class=&quot;tLeft&quot;&gt;&lt;/span&gt;&lt;span class=&quot;tMid&quot;&gt;Menu Item 2&lt;/span&gt;&lt;span class=&quot;tRight&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h1>The CSS Code</h1>
<pre class="brush: css;">
ul#LATabs{
	float:left;
	margin: 0;
	padding:0;
	list-style-type: none;
	width:100%;
	height:75px;
	background: #b71e1a url(bg.gif) center center repeat-x;
	font: 24px &quot;Lucida Sans Unicode&quot;, &quot;Lucida Grande&quot;, sans-serif;
	color: #fff;
	}

ul#LATabs li{
	float:left;
	padding: 0;
	height: 75px;
	margin: 0 10px;
	}

ul#LATabs a{color:#fff;text-decoration: none;cursor: pointer;}
ul#LATabs a:hover{color: #e3e3e3;}

ul#LATabs .current_page_item a{color: #b71e1a;}
ul#LATabs .current_page_item a:hover{color: #b71e1a;}

ul#LATabs span{float:left;height: 75px;}
ul#LATabs .tLeft, ul#LATabs .tRight{width:8px;}
ul#LATabs .tMid{padding: 23px 15px 0px 15px;}

ul#LATabs .current_page_item .tLeft{
	background-image: url(tab_01.png);
	background-position: top left;
	background-repeat: no-repeat;
}
ul#LATabs .current_page_item .tMid{
	background-image: url(tab_02.png);
	background-position: top left;
	background-repeat: repeat-x;
}
ul#LATabs .current_page_item .tRight{
	background-image: url(tab_03.png);
	background-position: top left;
	background-repeat: no-repeat;
}
</pre>
<h1>The 4 Tiny Images</h1>
<p style="text-align: center;">
<img class="" title="LATabs Preview" src="http://www.leonamarant.com/demos/tabs/bg.gif" alt="bg.gif" width="15" height="75" />&nbsp;<img class="" title="LATabs Preview" src="http://www.leonamarant.com/demos/tabs/tab_01.png" alt="bg.gif" width="8" height="75" />&nbsp;<img class="" title="LATabs Preview" src="http://www.leonamarant.com/demos/tabs/tab_02.png" alt="bg.gif" width="124" height="75" />&nbsp;<img class="" title="LATabs Preview" src="http://www.leonamarant.com/demos/tabs/tab_03.png" alt="bg.gif" width="8" height="75" />
</p>
<h1>The End Result</h1>
<p style="text-align: center;"><a href="http://www.leonamarant.com/demos/tabs/" title="View a Demo" target="_blank"><img class="size-full wp-image-346  aligncenter" title="LATabs Preview" src="http://www.leonamarant.com/wp-content/uploads/2010/03/tabs-preview.gif" alt="" width="520" height="126" /></a></p>
<blockquote>
<h2><a class="download" title="Download Files" href="http://www.leonamarant.com/demos/tabs/LATabs.zip" target="_blank">Download Source Code</a></h2>
<h2><a class="demo" title="View a Demo" href="http://www.leonamarant.com/demos/tabs/" target="_blank">View a Demo</a></h2>
</blockquote>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/1RN8WdkAYLQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2010/03/10/standards-compliant-accessible-tabs-using-html-css-and-4-tiny-images/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2010/03/10/standards-compliant-accessible-tabs-using-html-css-and-4-tiny-images/</feedburner:origLink></item>
		<item>
		<title>Burning a DVD on an iMac</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/wXBnKieM1E4/</link>
		<comments>http://www.leonamarant.com/2010/03/04/burning-a-dvd-on-an-imac/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 04:47:49 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Burn DVD]]></category>
		<category><![CDATA[iMac]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/2010/03/04/burning-a-dvd-on-an-imac/</guid>
		<description><![CDATA[This one drove me absolutely nuts&#8230;.
I recently needed to backup a folder on my iMac onto a DVD-R disc. The problem was, every time I inserted a blank DVD-R disc into my iMac Super Drive, the Disk Utility application would pop up and only give me options to burn ISO images onto the disc. No [...]]]></description>
			<content:encoded><![CDATA[<p>This one drove me absolutely nuts&#8230;.</p>
<p>I recently needed to backup a folder on my iMac onto a DVD-R disc. The problem was, every time I inserted a blank DVD-R disc into my iMac Super Drive, the Disk Utility application would pop up and only give me options to burn ISO images onto the disc. No option to just burn regular files.  When I opened up my Finder window, the drive wouldn&#8217;t show up there either.</p>
<p>Well after about 2 hours of digging I found the solution&#8230;and it&#8217;s about as dumb as it gets. </p>
<p>1) Click the little apple icon at the top left of your screen<br />
2) Click &#8220;System Preferences&#8221;<br />
3) In the &#8220;Hardware&#8221; section, click &#8220;CDs &#038; DVDs<br />
4) Set the &#8220;When you insert a blank DVD:&#8221; option to &#8220;Ask What to Do&#8221;</p>
<p>Now eject your disc (if you are having trouble ejecting your disc&#8230;don&#8217;t worry&#8230;I did too&#8230;go into your applications folder in your Finder window, click &#8220;Utilities&#8221;, open up &#8220;Disk Utility&#8221;, and eject the disc from there). </p>
<p>When you re-insert your disc, your Mac will ask you what you want to do. Click &#8220;Open Finder&#8221;. At this point, my Finder window did NOT automatically open. If yours doesn&#8217;t either, just open Finder the old fashioned way. Once you open your Finder window you will now see your blank DVD listed in the &#8220;Places&#8221; section. Once it&#8217;s there, simply drag the files you want to burn right onto the drive. </p>
<p>When you&#8217;re done selecting your files, click on the little Danger symbol next to the DVD-R drive in the Finder window, follow the prompts to burn your disc, and your done! </p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/wXBnKieM1E4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2010/03/04/burning-a-dvd-on-an-imac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2010/03/04/burning-a-dvd-on-an-imac/</feedburner:origLink></item>
		<item>
		<title>Amy Bowen Photography</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/bPMuiSXJX_o/</link>
		<comments>http://www.leonamarant.com/2009/11/24/amy-bowen-photography/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 05:20:19 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=321</guid>
		<description><![CDATA[Amy Bowen is an established RI wedding photographer and special event photographer in the Providence, RI area. Amy was in need of an updated website that also gave her the ability to directly edit the content within her site. Since the nature of the site is to promote her craft, photography, a system had to [...]]]></description>
			<content:encoded><![CDATA[<p>Amy Bowen is an established <a href="http://amybowenphotography.com/">RI wedding photographer</a> and special event photographer in the Providence, RI area. Amy was in need of an updated website that also gave her the ability to directly edit the content within her site. Since the nature of the site is to promote her craft, photography, a system had to be developed for her to easily upload and maintain her various galleries of images.</p>
<p>In this project, I first consulted with the designer as well as the client to assure that the design would allow for full content management capabilities. I then took the design and developed a combination FTP + CMS method, using Wordpress, that would give Amy both the power of a full content management system for the text-based content in the site as well as the ability to have complete control over the images within her different galleries.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/bPMuiSXJX_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/11/24/amy-bowen-photography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/11/24/amy-bowen-photography/</feedburner:origLink></item>
		<item>
		<title>Engel &amp; Schultz</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/qGgQUexY71s/</link>
		<comments>http://www.leonamarant.com/2009/07/10/engel-schultz/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:16:11 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=247</guid>
		<description><![CDATA[Engel &#38; Schultz is a boutique Boston law firm. The firm was in dire need of a new web site. Their original site was static (flat HTML files) and was very cumbersome to update (updating it was the responsibility of one attorney who was using Microsoft Frontpage) and as a result was severely out of [...]]]></description>
			<content:encoded><![CDATA[<p>Engel &amp; Schultz is a boutique <a title="Boston Law Frim" href="http://www.engelschultz.com/" target="_blank">Boston law firm</a>. The firm was in dire need of a new web site. Their original site was static (flat HTML files) and was very cumbersome to update (updating it was the responsibility of one attorney who was using Microsoft Frontpage) and as a result was severely out of date. The firm required a new web site with an updated look as well as the capability for easy content management.</p>
<p>The new site is built on Wordpress and utilizes PHP, CSS, XHTML, and the jQuery framework. Wordpress provides the attorneys with a simple CMS that they can all log into and update content on the site. One attorney in the firm was also provided with a blog that he uses to publish his publications online to further promote the law firms services.</p>
<p>For this site, I also developed an Ajax contact form that utilizes Captcha in order to prevent spam bots from automatically submitting the contact form and inundating the attorneys with spam.</p>
<p>In addition to site design and CMS implementation, I also updated the site to conform to SEO standards, focusing on a set of keywords and as a result the site has a first page ranking on Google (organic search results) for the keyword phrase &#8220;<a title="Boston Law Firms" href="http://www.engelschultz.com/">Boston Law Firm</a>&#8221; (<strong>currently #4 overall</strong>).</p>
<p>I am also providing the firm with guidance on their search engine marketing strategy, including keyword selection, initial campaign setup in Google Adwords, and campaign maintenance.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/qGgQUexY71s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/07/10/engel-schultz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/07/10/engel-schultz/</feedburner:origLink></item>
		<item>
		<title>Google Charts</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/tD4WHNAmSq4/</link>
		<comments>http://www.leonamarant.com/2009/07/06/google-charts/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 03:31:50 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=208</guid>
		<description><![CDATA[Need a quick way to add a line, bar, pie, venn, scatter, or radar chart or even a world map, meter, or QR code to your web page without having to do anything messy like installing a third party app on your server or including a javascript library?
Check out Google Charts.
This very easy to use [...]]]></description>
			<content:encoded><![CDATA[<p>Need a quick way to add a line, bar, pie, venn, scatter, or radar chart or even a world map, meter, or QR code to your web page without having to do anything messy like installing a third party app on your server or including a javascript library?</p>
<p>Check out <a title="Google Charts" href="http://code.google.com/apis/chart/" target="_blank">Google Charts</a>.</p>
<p>This very easy to use and powerful API allows you to include an assortment of charts on your web site. All you need to do is set the <strong>src </strong>of an <strong>&lt;img&gt;</strong> tag to the URL for the Google Chart API and then add a few parameters to the URL string. Once everything is set, voila, the chart appears.</p>
<h1>Sample Code</h1>
<blockquote><p><strong>States I Have Visited</strong></p>
<pre class="brush: xml;">
&lt;div style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;http://chart.apis.google.com/chart?chs=440x220&amp;amp;chd=s:_&amp;amp;cht=t&amp;amp;chtm=usa&amp;amp;chf=bg,s,EAF7FE&amp;amp;chco=FFFFFF,0000FF&amp;amp;chld=RIMACTNYVTNHMEILCAFLPAGAALNVLASD&amp;amp;chd=t:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&quot; border=&quot;1&quot; alt=&quot;&quot; width=&quot;440&quot; alt=&quot;States I Have Visited&quot; /&gt;&lt;/div&gt;
</pre>
<div style="text-align:center;"><img src="http://chart.apis.google.com/chart?chs=440x220&amp;chd=s:_&amp;cht=t&amp;chtm=usa&amp;chf=bg,s,EAF7FE&amp;chco=FFFFFF,0000FF&amp;chld=RIMACTNYVTNHMEILCAFLPAGAALNVLASD&amp;chd=t:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" border="1" alt="" width="440" alt="States I Have Visited" /></div>
<pre class="brush: xml;">
&lt;div style=&quot;text-align:center;&quot;&gt;&lt;img src=&quot;http://chart.apis.google.com/chart?chs=440x200&amp;amp;cht=p3&amp;amp;chco=0000FF&amp;amp;chd=t:16,24&amp;amp;chl=Visited|Remaining&amp;amp;chdlp=t&quot; border=&quot;1&quot; alt=&quot;&quot; width=&quot;440&quot; align=&quot;center&quot; alt=&quot;Percentage of States I Have Visited&quot; /&gt;&lt;/div&gt;&lt;/blockquote&gt;
</pre>
<div style="text-align:center;"><img src="http://chart.apis.google.com/chart?chs=440x200&amp;cht=p3&amp;chco=0000FF&amp;chd=t:16,24&amp;chl=Visited|Remaining&amp;chdlp=t" border="1" alt="" width="440" align="center" alt="Percentage of States I Have Visited" /></div>
</blockquote>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/tD4WHNAmSq4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/07/06/google-charts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/07/06/google-charts/</feedburner:origLink></item>
		<item>
		<title>Web Site Project Life Cycle – Diagram and Supporting Documents</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/Gi3pqByBUHs/</link>
		<comments>http://www.leonamarant.com/2009/06/23/web-site-project-life-cycle/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 22:16:47 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=174</guid>
		<description><![CDATA[
Web Project Life Cycle
Web Project Process Diagram

Working on different web teams within various organizations throughout the years, a common issue that I&#8217;ve often encountered was the lack of process when it came to designing and developing web sites. Virtually everywhere that I have worked there has not been a standard, documented method or strategy that [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<h2><a href="http://www.leonamarant.com/wp-content/uploads/2009/06/WebProjectLifecycle.pdf" target="_blank">Web Project Life Cycle</a></h2>
<h2><a href="http://www.leonamarant.com/wp-content/uploads/2009/06/WebProcessDiagram.pdf" target="_blank">Web Project Process Diagram</a></h2>
</blockquote>
<p>Working on different web teams within various organizations throughout the years, a common issue that I&#8217;ve often encountered was the lack of process when it came to designing and developing web sites. Virtually everywhere that I have worked there has not been a standard, documented method or strategy that the &#8220;web team&#8221; could use to guide a project from start to completion. Thankfully, in one of my most recent roles, my team and I were tasked with doing just that, creating a process that made sense and that we could all use collectively to get our work done.</p>
<p>We called our process &#8220;The 4 D&#8217;s&#8221;</p>
<ol>
<li>Definition</li>
<li>Design</li>
<li>Development</li>
<li>Deployment</li>
<li>Support (OK&#8230;not a D&#8230;but you get the picture)</li>
</ol>
<p>The documents attached to this post are what we ultimately ended up with. A lot of what we created is based on common methods and best practices in project management and software development&#8230;.so don&#8217;t expect any of this to be ground breaking stuff. We found that having a process like this in place kept projects well organized, kept all team members fully informed of client expectations, and minimized common issues like scope-creep, missed deadlines, blown budgets, and dissatisfied clients. Every member of the web team as well as our external clients were involved in creating this process, so at the end of the day everyone was comfortable with working within it.</p>
<p>Note that it is crucial to work very closely with your clients in the beginning stages of the development process (Definition/Design). The client should expect to deliver and sign off on clear business requirements (a member of the web team would work with the client to create the necessary documents) and also be readily available to answer any questions and sign off on milestones throughout the process. As development of the web site/application progresses, the client should be given periodic status updates. The bottom line is to keep an open line of communication between the web team and the client. In doing so, the chances of delivering a successful product will be greatly improved.</p>
<p>This process is intended as a <strong>general guideline</strong> in developing web sites and applications and is not meant to be followed rigidly. The scope and complexity of every project is different and as is the case, the degree of process/documentation required should vary depending on the project. Also, some clients require more visibility into projects than others so the level of detail in documentation  may vary as well.</p>
<p>In short, don&#8217;t box yourself in with too much process, do what makes sense for your projects, your clients, and your organization.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/Gi3pqByBUHs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/06/23/web-site-project-life-cycle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/06/23/web-site-project-life-cycle/</feedburner:origLink></item>
		<item>
		<title>Adding a Flickr Feed to your Site with jQuery</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/ja198AsoZio/</link>
		<comments>http://www.leonamarant.com/2009/06/16/adding-a-flickr-feed-to-your-site-with-jquery/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 16:33:54 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=151</guid>
		<description><![CDATA[Introduction
This post outlines a quick and easy way to display your Flickr photostream on your personal web site using javascript (no server-side programming necessary). We will use JQuery as the vehicle for making the javascript call to Flickr. The feed will be returned in JSON (JavaScript Object Notation) format and then displayed on the site [...]]]></description>
			<content:encoded><![CDATA[<h1>Introduction</h1>
<p>This post outlines a quick and easy way to display your Flickr photostream on your personal web site using javascript (no server-side programming necessary). We will use JQuery as the vehicle for making the javascript call to Flickr. The feed will be returned in <a title="JSON" href="http://www.json.org/" target="_blank">JSON (JavaScript Object Notation)</a> format and then displayed on the site using simple javascript.</p>
<p>Don&#8217;t understand all of this? Don&#8217;t worry&#8230;just copy and paste the stuff below and everything will be just fine.</p>
<h1>Step 1: Find Your Feed</h1>
<p>Log into your <a title="Flickr" href="http://www.flickr.com/" target="_blank">Flickr</a> account, click on your Photostream main page, and click on the RSS Feed button at the bottom of the page (orange icon). The url that you get to should look like this:</p>
<blockquote><p>http://api.flickr.com/services/feeds/photos_public.gne?id=xxxxxxxx@N08&amp;lang=en-us&amp;format=rss_200</p></blockquote>
<p><strong>Important</strong>: You must change the format of the feed to JSON. Simply change the end of the link from &#8220;=rss_200&#8243; to &#8220;=json&amp;jsoncallback=?&#8221;. Your new link will now look like this:</p>
<blockquote><p>http://api.flickr.com/services/feeds/photos_public.gne?id=xxxxxxxx@N08&amp;lang=en-us&amp;format=json&amp;jsoncallback=?</p></blockquote>
<h1>Step 2: Add the Javascript</h1>
<p>Add this code between the &lt;HEAD&gt; tags in your site. Be sure to download <a title="JQuery" href="http://jquery.com/" target="_blank">JQuery</a> first and put it in your /js/ file directory! Also, be sure to replace  &#8220;&#8212;YOUR FEED URL HERE&#8212;&#8221; with your own personal feed link that you obtained in Step 1.</p>
<pre class="brush: jscript;">
$(document).ready(function() {
	//Flickr Integration
	$.getJSON(&quot;---YOUR FEED URL HERE---&quot;, function(data){
		$.each(data.items, function(i,item){
			if(i&lt;=5){
				$(&quot;&lt;img/&gt;&quot;).attr(&quot;src&quot;, item.media.m).appendTo(&quot;#FlickrImages ul&quot;)
				.wrap(&quot;&lt;li&gt;&lt;a href='&quot; + item.link + &quot;' target='_blank' title='Flickr'&gt;&lt;/a&gt;&lt;/li&gt;&quot;);
			}
		});
	});

});
</pre>
<h1>Step 3: Add the Feed to your Page</h1>
<p>Add this between the &lt;BODY&gt; tags of your document where you would like your Flickr Images to Reside:</p>
<pre class="brush: xml;">
&lt;div id=&quot;FlickrImages&quot;&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;
</pre>
<h1>Step 4: Add some CSS</h1>
<p>Add this code between the &lt;HEAD&gt; tags of your document.</p>
<pre class="brush: css;">
&lt;style type=&quot;text/css&quot;&gt;
	#FlickrImages{
		margin-bottom:1em;
		float:left;
	}

	#FlickrImages li{
		float:left;
		padding:8px;
		background-color: #eee;
		margin: 0 5px 5px 0;
	}

	#FlickrImages img{
		width:120px;
		height:80px;
	}
&lt;/style&gt;
</pre>
<h1>That&#8217;s It!</h1>
<p>To see a demo of this, just look at the footer of this web site. The images at the bottom right are from my Flickr account.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/ja198AsoZio" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/06/16/adding-a-flickr-feed-to-your-site-with-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/06/16/adding-a-flickr-feed-to-your-site-with-jquery/</feedburner:origLink></item>
		<item>
		<title>Wordpress Client Login and Password Protected Pages</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/Z7636_rZ7cE/</link>
		<comments>http://www.leonamarant.com/2009/05/12/wordpress-client-login-and-password-protected-pages/#comments</comments>
		<pubDate>Tue, 12 May 2009 16:03:44 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leonamarant.wordpress.com/?p=50</guid>
		<description><![CDATA[I recently built a very basic website for a client who owns and operates a company that provides Employee Benefits services for small to medium size companies. I originally built his site useing Wordpress in order to give him a solid CMS to manage his site himself. He recently requested a way to give each of his [...]]]></description>
			<content:encoded><![CDATA[<p>I recently built a very basic website for a client who owns and operates a company that provides Employee Benefits services for small to medium size companies. I originally built his site useing Wordpress in order to give him a solid CMS to manage his site himself. He recently requested a way to give each of his clients a unique login in order to access one page where he could provide them links to their specific pdf documents.</p>
<p>Having Wordpress to work with as a platform, I did a little research and came across this post in the Wordpress Support Forums:</p>
<p><a title="My Crack at a Client Login Section/Customer Portal " href="http://wordpress.org/support/topic/217141" target="_blank">http://wordpress.org/support/topic/217141</a></p>
<p>After a small enhancement to the code, it ended up being exactly what I was looking for. After implementing this, my client obtained the following functionality:</p>
<ul>
<li>Ability to create a unique user account for each client</li>
<li>Ability for client to log in through Wordpress&#8217; built-in authentication and login form (customized via a plugin)</li>
<li>Ability to provide 1 password protected page to each client (client is automatically re-directed to their specific page after login)</li>
<li>Addition of a &#8220;Client Log In&#8221; button on the header of his site  that changes to &#8220;Logged in as: xxxx&#8221; after the client logs in.</li>
</ul>
<p>This is by no means a fully functional client portal, however it does provide a very simple way to fulfill a common requirement and does not require too much overhead and maintenance.</p>
<p>Check it out.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/Z7636_rZ7cE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/05/12/wordpress-client-login-and-password-protected-pages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/05/12/wordpress-client-login-and-password-protected-pages/</feedburner:origLink></item>
		<item>
		<title>Equal Height divs with jQuery</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/b098z-Lnupw/</link>
		<comments>http://www.leonamarant.com/2009/04/29/equal-height-divs-with-jquery/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 14:26:23 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leonamarant.wordpress.com/?p=45</guid>
		<description><![CDATA[While coding sites using div based layout (no tables!), a common issue is getting the heights of your columns (usually divs floated:left) to match. Here is a solution I found online:
http://www.cssnewbie.com/equal-height-columns-with-jquery/
This will automatically figure out the height of the tallest div in your specified group and then set all of the of the divs to [...]]]></description>
			<content:encoded><![CDATA[<p>While coding sites using div based layout (no tables!), a common issue is getting the heights of your columns (usually divs floated:left) to match. Here is a solution I found online:</p>
<p><a href="http://www.cssnewbie.com/equal-height-columns-with-jquery/">http://www.cssnewbie.com/equal-height-columns-with-jquery/</a></p>
<p>This will automatically figure out the height of the tallest div in your specified group and then set all of the of the divs to that height&#8230;hence, equal height divs.</p>
<p>Here&#8217;s what you do:</p>
<h1>Step 1: Include the <a title="jQuery" href="http://jquery.com/" target="_blank">jQuery Library</a></h1>
<pre class="brush: jscript;">
&lt;script src=&quot;http://code.jquery.com/jquery-latest.js&quot;&gt;&lt;/script&gt;
</pre>
<h1>Step 2: Set Up your Div&#8217;s</h1>
<p>Be sure to give each div you want to re-size the same class. In my example I used the class name &#8220;EqHeightDiv&#8221;. Note that you can set up different groups as well, just be sure to give each group a different class name.</p>
<pre class="brush: xml;">
&lt;div class=&quot;EqHeightDiv&quot; style=&quot;float:left;border:solid 1px #ccc;margin:10px;&quot;&gt;Here is some stuff&lt;/div&gt;
&lt;div class=&quot;EqHeightDiv&quot; style=&quot;float:left;border:solid 1px #ccc;margin:10px;&quot;&gt;Here is some stuff&lt;br /&gt;Here is some stuff&lt;/div&gt;
&lt;div class=&quot;EqHeightDiv&quot; style=&quot;float:left;border:solid 1px #ccc;margin:10px;&quot;&gt;Here is some stuff&lt;br /&gt;Here is some stu&lt;br /&gt;Here is some stuff&lt;/div&gt;
</pre>
<h1>Step 3: Add this Code Between your &lt;Head&gt; Tags</h1>
<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight &gt; tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

$(document).ready(function(){
	equalHeight($(&quot;.EqHeightDiv&quot;));
});
&lt;/script&gt;
</pre>
<h1>That&#8217;s It!</h1>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/b098z-Lnupw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/04/29/equal-height-divs-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/04/29/equal-height-divs-with-jquery/</feedburner:origLink></item>
		<item>
		<title>Lakeshore Benefit Group</title>
		<link>http://feedproxy.google.com/~r/LeonAmarant/~3/nguwlNPUjIU/</link>
		<comments>http://www.leonamarant.com/2009/02/11/lakeshore-benefit-group/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 22:05:24 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.leonamarant.com/?p=80</guid>
		<description><![CDATA[Lakeshore Benefit Group is a small business that needed a very basic, low-cost web site. I consulted with the founder of the company to create the web site from start to finish. The site is built with XHTML and CSS and also contains a client portal customization in Wordpress that provides each of their clients [...]]]></description>
			<content:encoded><![CDATA[<p>Lakeshore Benefit Group is a small business that needed a very basic, low-cost web site. I consulted with the founder of the company to create the web site from start to finish. The site is built with XHTML and CSS and also contains a <a title="Wordpress Client Portal" href="/2009/05/12/wordpress-client-login-and-password-protected-pages/" target="_self">client portal customization in Wordpress</a> that provides each of their clients with their own password protected, secure web pages.</p>
<img src="http://feeds.feedburner.com/~r/LeonAmarant/~4/nguwlNPUjIU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.leonamarant.com/2009/02/11/lakeshore-benefit-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.leonamarant.com/2009/02/11/lakeshore-benefit-group/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 2.058 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-24 07:37:55 -->
