<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>ode - a simple personal publishing platform for the web</title>
        <link>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/</link>
        <description>Ode is simple! (Simple means that you know how it works.)</description>
        <language>en</language>
        <docs>http://blogs.law.harvard.edu/tech/rss</docs>
        <generator><!-- name="generator" content="ode/1.2.1" --></generator>
        <managingEditor>rob@ode-is-simple.com (Rob Reed)</managingEditor>
        <webMaster>rob@ode-is-simple.com (Rob Reed)</webMaster>

		<atom:link href="http://ode-is-simple.com/home/index.rss2" rel="self" type="application/rss+xml" />


        <item>
            <title>From the Community Forum: Howto fade out a page element using JQuery's .fadeOut() method</title>
            <link>http://ode-is-simple.com/home/friends-of-ode/javascript/jquery/fadeout-method/howto/jquery-fadeout-demo</link>
            <description><![CDATA[ <p>I just finished writing a rather lengthy reply to a discussion on the forum, and I decided to take a moment to make a quick post about it here for a few reasons...</p>

<p>First, I want to make sure that people visiting this site are aware that <a href="http://forum.ode-iss-simple.com" title="Community forum at forum.ode-is-simple.com">the community forum</a> even exists. If you have any questions, comments, or concerns about something related to this project, I invite you to visit the forum. (And keep in mind that we have a pretty loose interpretation of 'related to the project' around here :).</p>

<p>I think you'll find the level of discussion to be a little (or a lot) better (i.e. involved, useful, supportive) than is typical. I consider community to be a critically important aspect of this project - as important as the code itself. Community means working together on some shared interest. If you're interested in learning about the web, and taking on a more active role in your own participation on the web, then that very well could include you too. The forum is not strictly a place to take your problems. It's a discussion forum for... discussion. </p>

<p>Second, I love this question because it allows me to show you just how simple web development can be. Now, I don't want to trivialize this. Learning to program requires a significant amount of time and effort. But if you're willing to invest a little bit of yourself, you can do it. And if you do decide to learn, the benefits far exceed the effort. With that out of the way, look at the little bit of code required to implement a very nice, customizable time fadeout using JQuery:</p>

<pre><code>&lt;script type="text/javascript"&gt;

    $(function()
    {
         setTimeout( function() {$("#fading_message_container").fadeOut(2000)}, 5000);
    });

&lt;/script&gt;
</code></pre>

<p>That's it.</p>

<p><a href="http://ode-is-simple.com/home/friends-of-ode/javascript/jquery/fadeout-method/howto/jquery-fadeout-demo.rss2?include_jump_separator=y#jquery-fadeout-demo">Read the rest of this post</a></p> ]]></description>
            <pubDate>Fri, 18 May 2012 18:04:36 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/friends-of-ode/javascript/jquery/fadeout-method/howto/jquery-fadeout-demo</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/18/18/04/36/</guid> -->
        </item>


        <item>
            <title>﻿If humankind were a club I'm pretty sure I'd quit: The Daily Bread Food Bank, Poor Old Women, Facebook, and apathy</title>
            <link>http://ode-is-simple.com/home/off-topic/rob/world/apathy/dailybreadfoodbank-pooroldwomen-fb-apathy</link>
            <description><![CDATA[ <p>Listening to my favorite radio station <a href="http://www.edge.ca/" title="Official site at edge.ca">102.1 in Toronto Canada</a>. Today they're broadcasting from '<a href="http://www.dailybread.ca/" title="Official site at dailybread.ca">The Daily Bread Food Bank</a>' in Toronto as part of a promotion/charity drive. Some stats the DJ just read on the air:</p>

<ul>
<li><p>Percentage of people using the Food Bank with a university degree: 28+ percent.</p>

<p>It was 28.something. I don't remember the precise number.</p></li>
<li><p>Median amount of money people using the Food Bank have left over per day after paying just housing and utilities (including transportation but not entertainment): $5.67</p>

<p>Think about the demands for that $5.67 other than food - e.g. medical care, clothing, activities (unless you believe that just being poor is sufficiently rewarding to justify having to struggle through life).</p></li>
<li><p>Median monthly income of people who use the Food Bank: $925.00</p></li>
<li><p>Median hourly pay: $11.60</p></li>
</ul>

<p>Looking at that $5.67 number a little more closely: (I assume that's <a href="https://www.google.com/search?client=safari&amp;rls=en&amp;q=currency+exchange&amp;ie=UTF-8&amp;oe=UTF-8#hl=en&amp;client=safari&amp;rls=en&amp;ei=D2W1T6i2G4KRgweji-EU&amp;sa=X&amp;oi=currency_onebox&amp;ct=currency_onebox_convert&amp;resnum=1&amp;ved=0CI0BEOsIMAA&amp;q=1+CAD+to+USD&amp;fp=1&amp;biw=1176&amp;bih=631&amp;cad=b&amp;bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb" title="Currency exchange via google.com">in Canadian dollars</a>)</p>

<ul>
<li><p>That's $2069.55 a year</p></li>
<li><p>If you spent all of it on food you'd have $175.00 a month to spend on food with nothing left over for other groceries - e.g. toilet paper, health and hygiene products.</p>

<p>And again that would leave nothing for clothing or other necessities. (For example it includes nothing for insurance - health insurance, life insurance, homeowners/renters insurance.)</p></li>
</ul>

<p><a href="http://ode-is-simple.com/home/off-topic/rob/world/apathy/dailybreadfoodbank-pooroldwomen-fb-apathy.rss2?include_jump_separator=y#dailybreadfoodbank-pooroldwomen-fb-apathy">Read the rest of this post</a></p> ]]></description>
            <pubDate>Thu, 17 May 2012 17:15:58 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/off-topic/rob/world/apathy/dailybreadfoodbank-pooroldwomen-fb-apathy</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/17/17/15/58/</guid> -->
        </item>


        <item>
            <title>Juicebox: Standalone and embeddable HTML5 galleries from the SimpleViewer people</title>
            <link>http://ode-is-simple.com/home/friends-of-ode/photo-related/simpleviewer-inc/juicebox/a-first-post-aboutJuicebox</link>
            <description><![CDATA[ <h3>I've written about <a href="http://www.simpleviewer.net/simpleviewer/" title="SimpleViewer page at simpleviewer.net">SimpleViewer</a> before.</h3>

<p>Hopefully at least a couple of you have given it a try? For the rest of you, SimpleViewer is... well, it's a company (SimpleViewer Inc). It's also a software product of the same name (SimpleViewer), which is actually just one in a series of similar 'image viewers' they make.</p>

<div class="notation">They call them image viewers, but these are actually the software required to create and then publish standalone photo galleries on the web. 'Image viewer' doesn't quite suggest that to me.</div>

<p>In addition to <a href="http://www.simpleviewer.net/simpleviewer/" title="SimpleViewer page at simpleviewer.net">SimpleViewer</a>, there is also: <a href="http://www.simpleviewer.net/tiltviewer/" title="TimpleViewer page at simpleviewer.net">TiltViewer</a>, <a href="http://www.simpleviewer.net/autoviewer/" title="AutoViewer page at simpleviewer.net">AutoViewer</a>, <a href="http://www.simpleviewer.net/postcardviewer/" title="PostcardViewer page at simpleviewer.net">PostcardViewer</a>, and some utilities to help with putting these galleries together. There is a demo for each of these products at the SimpleViewer site. I really think you'll enjoy playing with the demos a bit. (They're that good.) So if you have a minute, go give them a try.</p>

<p>SimpleViewer is the general purpose tool. The others are more... niche/specific. You probably wouldn't want to use them for every gallery, but you might find yourself looking for excuses to pull them out.</p>

<p>The absolute best thing about the software, other than the galleries themselves, is that they all work for self-hosted sites. You can pull photos from a Flickr account too, but I like to think that the emphasis here is self-hosted photos. (If it's not, I'm just going to pretend that it is.)</p>

<p>But these galleries have a big problem. <span class="hl_p">All of them except SimpleViewer are entirely Flash-based.</span> A few years ago that might have been a concern but not necessarily a deal breaker. Today, it pretty much means that they shouldn't be used. Users with mobile devices are just too much a part of the web these days. And as more and more people get used to the idea of browsing without Flash, it begins to disappear from browsers even on platforms that support it. <a href="http://blogs.adobe.com/conversations/2011/11/flash-focus.html" title="Blog post at blogs.adobe.com">Even Adobe has conceded that HTML5, and not Flash, is where this is going</a>. (Android supports Flash, but there are issues. Apple never has in the iOS. Windows Phone doesn't support Flash either.)</p>

<p>So why am I still talking about this software then? Is that the end of SimpleViewer galleries? No.</p>

<p>SimpleViewer (the company) started reworking SimpleViewer (the gallery software) for HTML5. If you were to download <a href="http://www.simpleviewer.net/simpleviewer/" title="Simpleviewer page with download link at simpleviewer.net">the latest version of the software</a> and build a SimpleViewer gallery now, you would get both a flash version and an HTML5 version of the same gallery. (Note: This is true of Simpleviewer but not TiltViewer of the rest.) The HTML5 version is automatically used whenever Flash is unavailable. Great? </p>

<p>Well the HTML5 gallery is not anywhere near as rich and refined as the Flash version. So you get great galleries for visitors with Flash and a relatively barebones experience for mobile devices (and others without Flash). Still it's far better than nothing. The HTML5 galleries work well, <em>just not as well</em>. And I would still recommend SimpleViewer today.</p>

<h3>Yeah, yeah, yeah... so what's Juicebox????</h3>

<p><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/simpleviewer-inc/juicebox/a-first-post-aboutJuicebox.rss2?include_jump_separator=y#a-first-post-aboutJuicebox">Read the rest of this post</a></p> ]]></description>
            <pubDate>Wed, 09 May 2012 19:01:28 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/friends-of-ode/photo-related/simpleviewer-inc/juicebox/a-first-post-aboutJuicebox</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/09/19/01/28/</guid> -->
        </item>


        <item>
            <title>Did you know you can do much the same thing with themes? (Previewing work-in-progress themes)</title>
            <link>http://ode-is-simple.com/home/documentation/ode-themes/howto/previewing-work-in-progress-themes</link>
            <description><![CDATA[ <p>I just wrote about <a href="http://ode-is-simple.com/home/news/addins/shyposts/in-progress-another-use-for-shyposts" title="Post at this site">how the new ShyPosts addin can be used to preview unpublished posts</a>. As the title of this post suggests, you can do the same thing with themes.</p>

<p>If you're making changes to a theme or working on a brand new theme, no one will be able to see it unless they specifically request it, as long as it is not the current version of the default theme. That gives you 2 options.</p>

<p>1 - You can give your new theme a name other than the default (even if it will eventually be the default theme for your site).</p>

<p>'new_unfinished' would work fine. You could preview your new theme by specifically requesting it, like:</p>

<pre><code>http://example.net/cgi-bin/ode.cgi/index.new_unfinished
</code></pre>

<p>All of your visitors would see your current default. Creating a new theme is as simple as copying an existing them and changing it's name.</p>

<p>When you're finished with the new version, give it the same name as the default theme and you're done.</p>

<p><a href="http://ode-is-simple.com/home/documentation/ode-themes/howto/previewing-work-in-progress-themes.rss2?include_jump_separator=y#previewing-work-in-progress-themes">Read the rest of this post</a></p> ]]></description>
            <pubDate>Sat, 05 May 2012 19:56:11 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/documentation/ode-themes/howto/previewing-work-in-progress-themes</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/05/19/56/11/</guid> -->
        </item>


        <item>
            <title>Ode: Another example of how the ShyPosts addins can be used: Hiding posts while you're still working on them.</title>
            <link>http://ode-is-simple.com/home/news/addins/shyposts/in-progress-another-use-for-shyposts</link>
            <description><![CDATA[ <p>Let's say you're working on a long (or not so long) post. Maybe you're trying out <a href="http://www.jacklmoore.com/colorbox" title="Colorbox home at www.jacklmoore.com">Colorbox</a> after reading <a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part0" title="Colorbox Howto at ode-is-simple.com">the howto I posted recently</a>, or experimenting with something else. The easiest way to make sure everything is working just right is to view it in a browser, on your site, just as it will be when you're finished with it. You could create a new post and start writing it live, but it will appear broken or incomplete before you've finished. That's probably not what you want.</p>

<p>With <a href="http://ode-is-simple.com/home/news/addins/shyposts/introducing-shyposts" title="Post at this site">the ShyPosts addin</a> you could append a suffix that corresponds to a shyness rule to the end of post file names while you're writing them, something like:</p>

<pre><code>'__unfinished'
</code></pre>

<p>For example:</p>

<pre><code>'new-post__unfinished.txt'
</code></pre>

<p>That post will not appear on your site unless requested by name:</p>

<pre><code>http://example.net/cgi-bin/ode.cgi/new-post__unfinished'
</code></pre>

<p>(Assuming the post is at the root of the site.)</p>

<p><a href="http://ode-is-simple.com/home/news/addins/shyposts/in-progress-another-use-for-shyposts.rss2?include_jump_separator=y#in-progress-another-use-for-shyposts">Read the rest of this post</a></p> ]]></description>
            <pubDate>Sat, 05 May 2012 19:40:09 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/news/addins/shyposts/in-progress-another-use-for-shyposts</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/05/19/40/09/</guid> -->
        </item>


        <item>
            <title>New addin: ShyPosts</title>
            <link>http://ode-is-simple.com/home/news/addins/shyposts/introducing-shyposts</link>
            <description><![CDATA[ <h3>Introducing ShyPosts</h3>

<p>The ShyPosts addin allows you to specify posts that won't appear unless specifically requested. Shy posts won't volunteer themselves, but they will participate if called on by name. They're not hidden, they're shy.</p>

<p>To use the addin, you create a shyness rules file (plain text) containing a list of patterns. These rules are matched against the full path to your posts. If ANY PORTION of the rule matches the path to the post (including the post filename) then that post will be considered shy. All posts and subdirectories of a shy directory are shy.</p>

<p>Rules are interpreted as regular expressions (by default). So there is a lot of flexibility in specifying exactly which posts are shy.</p>

<p><a href="http://ode-is-simple.com/home/news/addins/shyposts/introducing-shyposts.rss2?include_jump_separator=y#introducing-shyposts">Read the rest of this post</a></p> ]]></description>
            <pubDate>Sat, 05 May 2012 15:45:26 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/news/addins/shyposts/introducing-shyposts</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/05/15/45/26/</guid> -->
        </item>


        <item>
            <title>The hosted publishing platform you're using can't do that!</title>
            <link>http://ode-is-simple.com/home/chatter/progress/you-call-that-progress/your-hosted-platform-cant-do-that-editing</link>
            <description><![CDATA[ <p>Every so often I'm reminded why I think Ode is worth the effort. I just finished a series of 3 posts about Colorbox, along with a little index, and this is definitely one of those times.</p>

<p>This screenshot does a better job describing what I'm talking about than I could in words.</p>

<div class="zoom-ed">
<p>Click the image and hold to zoom</p>
<img src="/resources/images/photos/singles/2012/05/coda-ui-editing-colorbox-howto.png" title="Coda UI while working on this site" width="500" height="340"/>
</div>

<p>The image shows <a href="http://www.panic.com/coda/" title="Official site at panic.com">Coda</a>, connected to ode-is-simple.com (this site). You can see the file browser over there on the left, and all 4 posts open in tabs (across the top).</p>

<p>The tab that's open is Part 3 (colorbox-howto-part3.txt), the longest of the posts. To make it easier to work with the post, the window is split horizontally so that I can see and edit two sections of the post at the same time. I could just as easily have the stylesheet and a post split like that so that I can compare the rules in the CSS file to the markup in the post file.</p>

<p>And the hosted publishing platform you're using can't do that! (It's funny because it's true. :p)</p>
 ]]></description>
            <pubDate>Wed, 02 May 2012 19:28:16 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/chatter/progress/you-call-that-progress/your-hosted-platform-cant-do-that-editing</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/02/19/28/16/</guid> -->
        </item>


        <item>
            <title>Using Colorbox with Ode: My entry for a 'longest Colorbox how-to possible' contest (in 3 parts)</title>
            <link>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part0</link>
            <description><![CDATA[ <p>I wrote a series of posts about the lightbox style gallery script Colorbox, and using Colorbox with Ode. (Though there is really nothing specific to Ode about it.) So without making a long read even longer, the posts are:</p>

<ul>
<li><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part1" title="Post at this site">A Colorbox how-to: Part 1 -- What is Colorbox and why do I like it</a></li>
<li><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part2.html?include_jump_separator=y#colorbox-howto-part2" title="Post at this site">A Colorbox how-to: Part 2 -- Using Colorbox (Short and sweet)</a></li>
<li><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part3" title="Post at this site">A Colorbox how-to: Part 3 -- Using Colorbox (a detailed guide)</a></li>
</ul>

<p>Enjoy. (<em>And I'd love to see your first Colorbox gallery.</em>)</p>

<p>Update: Forgot to actually install the script on this site so the gallery in <a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part1" title="Post at this site">Part 1</a> was broken. Ha. Fixed.</p>

<p>You can believe me that it takes just a couple minutes to install Colorbox (because that's about as long as it just took me. But I've read my how-to. ;)</p>
 ]]></description>
            <pubDate>Wed, 02 May 2012 17:31:04 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part0</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/02/17/31/04/</guid> -->
        </item>


        <item>
            <title>A Colorbox how-to: Part 1 -- What is Colorbox and why do I like it</title>
            <link>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part1</link>
            <description><![CDATA[ <h3>What is Colorbox?</h3>

<p><a href="http://www.jacklmoore.com/colorbox" title="Official colorbox page at jacklmoore.com">Colorbox is</a> "a lightweight customizable lightbox plugin for jQuery."</p>

<p>What does that mean? Let's break that question down into a couple of parts.</p>

<p><em>Colorbox is a JQuery plugin</em></p>

<p>JQuery is a very popular Javascript library. It builds on top of what Javascript can do on it's own, adding functionality or reimplementing features of the language so that they are easier to use, more concise, and compatible with a wider range of web browsers, in addition to other benefits.</p>

<p>From JQuery website:</p>

<blockquote>
  <p>jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.</p>
</blockquote>

<p>For our purposes here, it means that in addition to ColorBox itself, we'll need to link to JQuery (because Colorbox assumes that JQuery will be available). As you'll see, including JQuery is as easy as copying and pasting a short code snippet.</p>

<p>As a JQuery plugin, colorbox() adds to what JQuery can do on it's own. More specifically, it adds a .colorbox() method to JQuery DOM objects that we can use to create photo galleries. You'll see exactly how this works later on in this how-to.</p>

<p><em>Colorbox is a lightbox</em></p>

<p>What is a lightbox?</p>

<p>Whether you can define it or not, you're probably familiar with this kind of thing. A lightbox script is a way to present photos and photo galleries (as well as types of content), so that the content appears to float in front of the current webpage.</p>

<div class="subtle-notation">
Note: I'm going to discuss using Colorbox for photo galleries, though it is possible to use it with other types of content (HTML, Video, ...). -- Refer to <a href="http://www.jacklmoore.com/colorbox" title="Colorbox page at jacklmoore.com">the Colorbox website</a> or the example files included with the distribution package for more info.
</div>

<p>Typically an inline photo included as part of the page content serves as a placeholder for the gallery. When the gallery is run, by clicking on the link to the lightbox gallery (again an image, button, text link, etc.), the page seems to fade into the background while the first photo in the gallery appears front and center on top of the original page.</p>

<p>Visitors can then click through the photos, and when finished dismiss the gallery and return to the original page. (Usually by by clicking a close button, pressing the 'esc' key on the keyboard, or clicking on a portion of the page still visible 'behind' the the gallery.)</p>

<p>Here's an example of a lightbox style photo gallery that uses Colorbox.</p>

<p><em>The photos aren't especially interesting. These are just some pictures I took recently in and around Boston, MA USA (which is where I live).</em></p>

<div id='201204recent-boston-for-colorbox-howto' class="colorbox-gallery">
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo1.jpg" title="Sorelle (a cafe) near South Station">
        <img src="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo1.jpg" height="319" width="425" />
    </a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo2.jpg" title="Inside Sorelle"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo6.jpg" title="South Station"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo3.jpg" title="Lyndell's Bakery in Cambridge, MA"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo4.jpg" title="The Prudential Center at night over the victory gardens in the Fens"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo7.jpg" title="The Citgo sign in Kenmore Square"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo11.jpg" title="The Prudential Center from Kenmore Square"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo12.jpg" title="Kenmore Square subway and bus station"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo8.jpg" title="Starbucks on Atlantic Ave. One of many where I spend too much time."></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo9.jpg" title="Atlantic Ave."></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo10.jpg" title="A small produce stand at the Old South Meeting House"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo5.jpg" title="The new Boston Harbor Islands pavilion on the Greenway"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo13.jpg" title="The Old State House from the Greenway"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo14.jpg" title="The Commons"></a>
    <a href="/resources/images/photos/galleries/2012/04/example-gallery-for-colorbox-howto/photo15.jpg" title="Frosty (ice cream) truck near the Public Gardens"></a>
</div>

<p>Lightbox style galleries are just one type of photo gallery. And Colorbox is just one example of a lightbox style gallery.</p>

<p><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part1.rss2?include_jump_separator=y#colorbox-howto-part1">Read the rest of this post</a></p> ]]></description>
            <pubDate>Wed, 02 May 2012 17:31:03 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part1</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/02/17/31/03/</guid> -->
        </item>


        <item>
            <title>A Colorbox how-to: Part 2 -- Using Colorbox (Short and sweet)</title>
            <link>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part2</link>
            <description><![CDATA[ <p>My first attempt at this resulted in a very long and detailed write up. I decided to also provide a quick guide to using Colorbox without the detailed explanations.</p>

<p>If you don't need anything more than a bunch of code snippets and short description of where they go then this may be enough. If you'd like to have a explanation of what all of these bits and pieces do, how they fit together, and exactly how it all works, then you'll want to read Part 3. Everything I say here is also covered in the longer post.</p>

<p>I should say you that you can find all of the information required to use Colorbox at <a href="http://www.jacklmoore.com/colorbox" title="Official Colorbox site at jacklmoore.com">the official Colorbox website</a>. (After all, that's where I got it from.)</p>

<p>In addition to demos and other info about features, etc., the Colorbox site includes the following resources you may find especially useful:</p>

<ul>
<li><p><a href="http://www.jacklmoore.com/colorbox/guide" title="Official Colorbox site at jacklmoore.com">A Beginner's Guide</a></p>

<p>Colorbox is a JQuery plugin. If you are familiar working with JQuery plugins then you may want to skip the beginner's guide in favor of looking through the source on the demos page, as is recommended on the beginner's guide page. Otherwise the beginner's guide is a good place to start. Alternatively you can keep reading this post.</p></li>
<li><p><a href="http://www.jacklmoore.com/colorbox" title="Settings at jacklmoore.com/colorbox&quot; &quot;Official Colorbox site at jacklmoore.com">The complete list of recognized settings</a> </p>

<p>Before or after you get Colorbox working, you'll want to look here to familiarize yourself with the options available. There are quite a few useful options. I'd bet you'll find something you want to modify.</p></li>
<li><p><a href="http://www.jacklmoore.com/colorbox/faq" title="Official Colorbox site at jacklmoore.com">An FAQ</a></p>

<p>It's not a bad idea to quickly glance through a FAQ even before you've had a chance to come up with questions of your own. Frequently asked questions are asked frequently because the associated issues tend to come up a lot.</p>

<p>It's probably a safe bet something mentioned in the FAQ will be useful to you. (If not now, then soon.)</p></li>
</ul>

<h3>Part 1: Installation and Setup (Preparing to use Colorbox)</h3>

<div class="subtle-notation">
You only need to do these things once.
</div>

<h4>Step 1: Get all of the Colorbox related files to your server.</h4>

<p>1.1 - <a href="http://www.jacklmoore.com/colorbox" title="Colorbox site at jacklmoore.com">Download colorbox</a> from the project website.</p>

<p>1.2 -  Go through the example galleries included as part of the Colorbox distribution and pick a style that you'd like to use as a starting point for your own galleries.</p>

<p>1.3 - Upload the minified version of the colorbox script (<strong>'jquery.colorbox-min.js'</strong>) included with the Colorbox distribution, and both the <strong>'colorbox.css'</strong> file and the <strong>'images/'</strong> directory (and it's contents) from the example gallery you've chosen.</p>

<p>I recommend placing all of these in the same folder on the server.</p>

<p>For example:</p>

<pre><code>/resources/

    scripts/

        colorbox/

            jquery.colorbox-min.js
            colorbox.css
            images/
</code></pre>

<h4>Step 2: Include JQuery and Colorbox in your theme</h4>

<p>Link to the JQuery script <strong>in the head section of your page._ theme file</strong>.</p>

<pre><code>&lt;!-- JQuery script (hosted by Google), 1.7.2 current as of 2012/0428 --&gt;

&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;;
</code></pre>

<p><a href="http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part2.rss2?include_jump_separator=y#colorbox-howto-part2">Read the rest of this post</a></p> ]]></description>
            <pubDate>Wed, 02 May 2012 17:31:02 EDT</pubDate>
            <guid>http://ode-is-simple.com/home/friends-of-ode/photo-related/jack-moore/colorbox/colorbox-howto/colorbox-howto-part2</guid>
            <!-- <guid>http://ode-is-simple.com/home/2012/05/02/17/31/02/</guid> -->
        </item>


    </channel>
</rss>

