<?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>Christoph Schüßler &#187; plugin</title>
	<atom:link href="http://herr-schuessler.de/blog/tags/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://herr-schuessler.de/blog</link>
	<description>Dev-Blog</description>
	<lastBuildDate>Sat, 10 Sep 2011 11:55:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>jQuery.popeye 2.0 released</title>
		<link>http://herr-schuessler.de/blog/jquery-popeye-2-0/</link>
		<comments>http://herr-schuessler.de/blog/jquery-popeye-2-0/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 10:24:23 +0000</pubDate>
		<dc:creator>Christoph Schüßler</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://herr-schuessler.de/blog/?p=311</guid>
		<description><![CDATA[I have just released a new major version of my popular image gallery script jQuery.popeye. It features more customization options, better cross browser and mobile support and tons of bugfixes. I have set up a jQuery.popeye site where you can &#8230; <a href="http://herr-schuessler.de/blog/jquery-popeye-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have just released a new major version of my popular image gallery script jQuery.popeye. It features more customization options, better cross browser and mobile support and tons of bugfixes.<br />
<span id="more-311"></span></p>
<p>I have set up a <a href="http://dev.herr-schuessler.de/jquery/popeye/">jQuery.popeye site</a> where you can find <a href="http://dev.herr-schuessler.de/jquery/popeye/doc.html">documentation</a> and <a href="http://dev.herr-schuessler.de/jquery/popeye/demo.html">demos</a>.</p>
<p>You will also find links to a new feature request forum and bug tracker there. Hope you like the new stuff!</p>
]]></content:encoded>
			<wfw:commentRss>http://herr-schuessler.de/blog/jquery-popeye-2-0/feed/</wfw:commentRss>
		<slash:comments>96</slash:comments>
		</item>
		<item>
		<title>Overlapping select field bug in IE6 &#8211; solved jQuery-style</title>
		<link>http://herr-schuessler.de/blog/overlapping-select-field-bug-in-ie6-solved-jquery-style/</link>
		<comments>http://herr-schuessler.de/blog/overlapping-select-field-bug-in-ie6-solved-jquery-style/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 08:43:25 +0000</pubDate>
		<dc:creator>Christoph Schüßler</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[browser quirks]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://herr-schuessler.de/blog/?p=282</guid>
		<description><![CDATA[When using drop-down navigation like Son of Suckerfish, which entails placing absolute positioned layers above the content layer, Internet Explorer 6 displays once again really stupid behavior when it comes to HTML forms with the SELECT element. When the drop-down &#8230; <a href="http://herr-schuessler.de/blog/overlapping-select-field-bug-in-ie6-solved-jquery-style/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When using drop-down navigation like <a href="http://htmldog.com/articles/suckerfish/dropdowns/">Son of Suckerfish</a>, which entails placing absolute positioned layers above the content layer, Internet Explorer 6 displays once again really stupid behavior when it comes to <code>HTML</code> forms with the <code>SELECT</code> element. When the drop-down layer hovers above a form, the <code>SELECT</code> still shines through, it stays above it and cannot be convinced by <code>z-index</code> or any other CSS trick to go where it belongs.<br />
<span id="more-282"></span></p>
<p>Some solutions have been proposed, among them:</p>
<ul>
<li>hiding the <code>select</code> element on hover</li>
<li>replacing it with an <code>input</code> element on hover</li>
<li>or <a href="http://www.bringdownie6.com/">stop caring about IE6</a> altogether</li>
</ul>
<p>These solutions all include drawbacks in usability or undesired UI changes, which can be confusing for the user. Another work-around, which is quite unnoticeable in the front-end is to <a href="http://www.macridesweb.com/oltest/IframeShim.html">place an invisible, empty <code>IFRAME</code></a> in the layer that will be positioned above the <code>SELECT</code> element.</p>
<p>Here&#8217;s how to do this jQuery-style:</p>
<p><strong>The jQuery-Plugin:</strong></p>
<pre name="code" class="js">
jQuery.fn.activeXOverlap = function() { 

    $(this).each(function(i){
        var h   = $(this).outerHeight();
        var w   = $(this).outerWidth();
        var iframe  = '<!--[if IE 6]>' +
                      '<iframe src="javascript:false;" style="height: ' +
                      h +
                      'px; width: ' +
                      w +
                      'px" class="selectOverlap">' +
                      '</iframe>' +
                      '<![endif]-->'
        $(this).prepend(iframe);
    });
}
</pre>
<p><strong>The Plugin setup:</strong></p>
<pre name="code" class="js">
$(function() {
    $('.myHoverClass').activeXOverlap();
});
</pre>
<p>where <code>.myHoverClass</code> references all elements that should hover above the select.</p>
<p><strong>The required CSS:</strong></p>
<pre name="code" class="css">
<!--[if IE 6]>
iframe.selectOverlap {
    position: absolute;
    z-index: -1;
    filter: mask();
    border: 0;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}
<![endif]-->
</pre>
<p>What this does is placing an <code>Iframe</code> behind every selected element, scaling it to the correct dimensions and hiding it from all browsers but IE6.</p>
]]></content:encoded>
			<wfw:commentRss>http://herr-schuessler.de/blog/overlapping-select-field-bug-in-ie6-solved-jquery-style/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lösung für Probleme mit automatischen Upgrades in WordPress 2.7</title>
		<link>http://herr-schuessler.de/blog/loesung-fuer-probleme-mit-automatischen-upgrades-in-wordpress-2-7/</link>
		<comments>http://herr-schuessler.de/blog/loesung-fuer-probleme-mit-automatischen-upgrades-in-wordpress-2-7/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 11:36:43 +0000</pubDate>
		<dc:creator>Christoph Schüßler</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://herr-schuessler.de/blog/?p=236</guid>
		<description><![CDATA[Es klingt vielversprechend, funktioniert aber anscheinend auf den wenigsten Servern reibungslos: die neue automatische Upgrade-Funktion für Plugins, Themes und die gesamte WordPress-Installation. Eine Quelle immer wiederkehrender Fehler ist dabei anscheinend, dass WordPress der recht naiven Annahme unterliegt, dass es sich &#8230; <a href="http://herr-schuessler.de/blog/loesung-fuer-probleme-mit-automatischen-upgrades-in-wordpress-2-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Es klingt vielversprechend, funktioniert aber anscheinend auf den wenigsten Servern reibungslos: die neue <strong>automatische Upgrade-Funktion für Plugins, Themes und die gesamte WordPress-Installation</strong>.<br />
<span id="more-236"></span><br />
Eine Quelle immer wiederkehrender Fehler ist dabei anscheinend, dass WordPress der recht naiven Annahme unterliegt, dass es sich immer im Server-Root befindet &#8211; und nicht, wie in meinem Fall in einem Unterordner. Dies, gepaart mit <a href="http://www.lastmanstanding.de/2008-12-19/wordpress-27-loesung-fuer-automatisches-plugincore-update-problem">dem Problem der fehlenden Zugriffsrechten auf das tmp-Verzeichnis, für das es bei es bereits eine gute Lösung gibt</a>, mündete bisher bei mir in der nüchternen Fehlermeldung <em>Unable to locate WordPress Plugin directory. Plugin upgrade Failed</em> (sic.)</p>
<p>Glücklicherweise hat WordPress zwei interne Konstanten, mit denen man die vom System (nicht) gefundenen <em>plugin</em>- und <em>wp-content</em>-Verzeichnisse korrekt zuweisen kann. Dazu fügt man der <code>wp-config.php</code> ganz unten folgende Zeilen hinzu:<br />
<code><br />
define('FTP_PLUGIN_DIR', ABSPATH . 'wp-content/plugins');<br />
define('FTP_CONTENT_DIR', ABSPATH . 'wp-content');<br />
</code></p>
<p>Das war&#8217;s dann auch schon.</p>
]]></content:encoded>
			<wfw:commentRss>http://herr-schuessler.de/blog/loesung-fuer-probleme-mit-automatischen-upgrades-in-wordpress-2-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery.popeye 1.0 released</title>
		<link>http://herr-schuessler.de/blog/jquery-popeye-1-0-released/</link>
		<comments>http://herr-schuessler.de/blog/jquery-popeye-1-0-released/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 09:26:43 +0000</pubDate>
		<dc:creator>Christoph Schüßler</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://herr-schuessler.de/blog/?p=198</guid>
		<description><![CDATA[jQuery.popeye 2.0 has been released. Older Versions are no longer supported. More than 100 comments on the first release of jQuery.popeye, an appearance on the frontpage of delicious.com and coverage in uncounted blogs&#8230; I certainly didn&#8217;t expect that much interest. &#8230; <a href="http://herr-schuessler.de/blog/jquery-popeye-1-0-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="redirect">
<a href="http://dev.herr-schuessler.de/jquery/popeye/">jQuery.popeye 2.0</a> has been released. Older Versions are no longer supported.
</div>
<p>More than 100 comments on <a href="http://herr-schuessler.de/blog/jquerypopeye-an-inline-lightbox-alternative/">the first release of <em>jQuery.popeye</em></a>, an appearance on the frontpage of <a href="http://delicious.com/url/1f628122d2c02972da99c352a40003c3">delicious.com</a> and coverage in uncounted blogs&#8230;</p>
<p>I certainly didn&#8217;t expect that much interest. The numerous feature requests,  suggestions, bug reports and, in the end, acknowledgments and nice comments prompted me to continue development, as promised. So <a href="http://plugins.jquery.com/project/popeye">here it is</a>, in a major release, a <strong>completely rewritten and overhauled</strong> <em>jQuery.popeye</em>, the image gallery plugin that started as an alternative to the famous JavaScript <a href="http://www.huddletogether.com/projects/lightbox2/">lightbox</a>.<br />
<span id="more-198"></span></p>
<p><a class="download" href="http://plugins.jquery.com/project/popeye">Download <em>jQuery.popeye 1.0</em><br />
from the jQuery Plugin Repository</a></p>
<h4>What&#8217;s new</h4>
<p>When you <a href="http://dev.herr-schuessler.de/examples/jquery-popeye-1-0/">check out the example installation</a>, you&#8217;ll immediately notice some changes and new features:</p>
<ul>
<li>The <strong>navigation buttons</strong> (next and previous image, enlarge / compact image) have moved. They will appear on mouseover on the popeye box and fade out accordingly. As a result, the user interface is less cluttered with navigational elements.</li>
<li>Navigation is also possible in <strong>enlarged mode</strong>, as this was a big feature request.</li>
<li>The <strong>caption</strong> is hidden by default and also shows on mouseover. It automatically adjusts to the amount of text with a smooth transition.</li>
<li>The <strong>image counter</strong> can be placed either as an overlay above the image (and thus serves as a hint to the user that there&#8217;s more than one image to see), or it can be inserted in the caption or even completely turned of.</li>
<li>There&#8217;s a <strong>new basic skin</strong>. I deliberately kept it quite blunt as to encourage you to design your own skin that better fits your website design. Designing a new skin is quite simple via adjustments to the included jquery.popeye.style.css.</li>
<li>The original image list is hidden via CSS, so the user won&#8217;t see anything until <em>jQuery.popeye</em> has preloaded all the thumbnail images and then inserted the gallery in the page. In order to prevent a jumping effect once the images load, a placeholder <code>div</code> can be added to the original html which will be replaced by the gallery box.</li>
</ul>
<h4>Under the hood</h4>
<p>Version 1.0 comes with a fresh set of options:</p>
<table class="table" border="0">
<tbody>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td class="hilite"><code>jsclass</code></td>
<td>string</td>
<td><code>'ppy-js'</code></td>
<td>a class name applied to the jQuery.popeye root element when JavaScript is active (can be used for extra styling)</td>
</tr>
<tr>
<td class="hilite"><code>nojsclass</code></td>
<td>string</td>
<td><code>'ppy-no-js'</code></td>
<td>the class name of an optional element which can be placed in the HTML code inside the jQuery.popeye root element. This element will be removed once jQuery.popeye has loaded. It can be used as a placeholder.</td>
</tr>
<tr>
<td class="hilite"><code>eclass</code></td>
<td>string</td>
<td><code>'ppy-expanded'</code></td>
<td>a class name to be applied to the enlarged jQuery.popeye box (can be used for extra styling)</td>
</tr>
<tr>
<td class="hilite"><code>lclass</code></td>
<td>string</td>
<td><code>'ppy-loading'</code></td>
<td>a class name to be applied to the stage while loading image (can contain loading indicator graphic)</td>
</tr>
<tr>
<td class="hilite"><code>dlclass</code></td>
<td>string</td>
<td><code>'ppy-left'</code></td>
<td>a class name to be applied to the navigational overlay if popeye opens to the left (can be used to achieve left orientation of overlay)</td>
</tr>
<tr>
<td class="hilite"><code>drclass</code></td>
<td>string</td>
<td><code>'ppy-right'</code></td>
<td>a class name to be applied to the navigational overlay if popeye opens to the right (can be used to achieve right orientation of overlay)</td>
</tr>
<tr>
<td class="hilite"><code>direction</code></td>
<td>string</td>
<td><code>'left'</code></td>
<td>direction that popeye-box opens, can be <code>'left'</code> or <code>'right'</code></td>
</tr>
<tr>
<td class="hilite"><code>duration</code></td>
<td>integer</td>
<td><code>250</code></td>
<td>duration of transitional effect when enlarging or closing the box</td>
</tr>
<tr>
<td class="hilite"><code>opacity</code></td>
<td>integer</td>
<td><code>0.7</code></td>
<td>opacity of navigational overlay</td>
</tr>
<tr>
<td class="hilite"><code>countpos</code></td>
<td>string</td>
<td><code>'overlay'</code></td>
<td>placement of image counter &#8211; can be <code>false</code>, <code>'overlay'</code> or <code>'caption'</code></td>
</tr>
<tr>
<td class="hilite"><code>caption</code></td>
<td>boolean</td>
<td><code>true</code></td>
<td>wether to display a caption based on title attribute</td>
</tr>
<tr>
<td class="hilite"><code>easing</code></td>
<td>string</td>
<td><code>'swing'</code></td>
<td>easing type, can be <code>'swing'</code>, <code>'linear'</code> or any of <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing Plugin</a> types (Plugin required)</td>
</tr>
<tr>
<td class="hilite"><code>nlabel</code></td>
<td>string</td>
<td>n/a</td>
<td>label for next button</td>
</tr>
<tr>
<td class="hilite"><code>plabel</code></td>
<td>string</td>
<td>n/a</td>
<td>label for previous button</td>
</tr>
<tr>
<td class="hilite"><code>oflabel</code></td>
<td>string</td>
<td><code>'of'</code></td>
<td>label for image count text (e.g. 1 <em>of</em> 14)</td>
</tr>
<tr>
<td class="hilite"><code>blabel</code></td>
<td>string</td>
<td>n/a</td>
<td>label for enlarge button</td>
</tr>
<tr>
<td class="hilite"><code>clabel</code></td>
<td>string</td>
<td><code>'Click to close'</code></td>
<td>label for expanded stage (to hint closing)</td>
</tr>
</tbody>
</table>
<h4>Usage</h4>
<p>The HTML structure hasn&#8217;t changed, but if you like, you can now place an extra element (which can serve as a placeholder for users without JS) in the source.</p>
<pre name="code" class="html">
<div class="popeye">
<ul>
<li><a href="url_of_large_image.jpg">
                <img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li><a href="url_of_large_image.jpg">
                <img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li><a href="url_of_large_image.jpg">
                <img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li>...</li>
</ul>
<div class="ppy-no-js">
        This element will be deleted once the gallery loads</div>
</div>
</pre>
<h4>Support</h4>
<p><strike>Please leave your comments and requests here in the blog. Bug reports can also be filed at the <a href="http://plugins.jquery.com/node/add/project-issue/popeye">plugin repository issue tracker</a>. If you make use of <em>jQuery.popeye</em> in one of your projects,I would be really interested to see the result! So feel free to link your site in the comment section.</strike></p>
<div class="redirect">
<a href="http://dev.herr-schuessler.de/jquery/popeye/">jQuery.popeye 2.0</a> has been released. Older Versions are no longer supported.
</div>
]]></content:encoded>
			<wfw:commentRss>http://herr-schuessler.de/blog/jquery-popeye-1-0-released/feed/</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
		<item>
		<title>jQuery.popeye &#8211; an inline lightbox alternative</title>
		<link>http://herr-schuessler.de/blog/jquerypopeye-an-inline-lightbox-alternative/</link>
		<comments>http://herr-schuessler.de/blog/jquerypopeye-an-inline-lightbox-alternative/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 20:15:19 +0000</pubDate>
		<dc:creator>Christoph Schüßler</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://herr-schuessler.de/?p=101</guid>
		<description><![CDATA[jQuery.popeye 2.0 has been released. Older Versions are no longer supported. Writing the history of single-page image galleries on the web, one could start like this: In the beginning, there was nothing. And the Developer said: &#8220;Let there be pop-ups!&#8221; &#8230; <a href="http://herr-schuessler.de/blog/jquerypopeye-an-inline-lightbox-alternative/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="redirect">
<a href="http://dev.herr-schuessler.de/jquery/popeye/">jQuery.popeye 2.0</a> has been released. Older Versions are no longer supported.
</div>
<p>Writing the history of single-page image galleries on the web, one could start like this:</p>
<blockquote><p>In the beginning, there was nothing. And the Developer said: &#8220;Let there be pop-ups!&#8221; And the Users saw that pop-ups were bad…</p></blockquote>
<p><span id="more-101"></span></p>
<p>Then came <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox</a>. Finally, an unobtrusive script allowed to display enlarged versions of thumbnail images embedded in web pages without leaving that web page or breaking the layout. The &#8220;simple&#8221; solution was to add a semi-transparent overlay to the page, on which the enlarged image is centered.</p>
<p>Since then, we&#8217;ve seen <a href="http://fortysomething.ca/mt/etc/archives/005400.php">a ton of similar scripts</a> used on an ever-increasing number of websites.</p>
<p>While at first, I, like everyone else, was really enthusiastic about this technique, I have come to see some of the downsides of a lightbox-ish image presentation:</p>
<ul>
<li>Lightboxes are usually <strong>not consistent with the look &amp; feel</strong> of the rest of the website, and</li>
<li>they <em>still feel like a kind of pop-up</em>, since the image leaves the layer of the web page and <strong>opens up a new layer</strong>.</li>
</ul>
<p>Besides &#8211;  I&#8217;m getting tired of seeing the same effect, the same UI controls over and over…</p>
<p>So, while working on a client project in which I at first used a <a href="http://www.balupton.com/sandbox/jquery_lightbox/">jQuery Lightbox plugin</a>, I ended up dissatisfied with the outcome. I had gone through great length to stir up a consistent look &amp; feel, just to see it vanish under the lightbox overlay.</p>
<p>I wanted something more integrated in the flow of the web page &#8211; a box with a small preview image with caption, the possibility to flip through an array of more thumbnails and, of course, to show an enlarged version, all in one place. Lightbox offers that. Moreover, I wanted the box to stay anchored to the page layout and not hovering above it disconnectedly. The way to achieve this was writing a script which would fix one corner of the enlarged image to the exact spot where the thumbnail had been.</p>
<p>After toying around for a while, I decided to put the final outcome into a proper jQuery plugin and see, what other people (you!) think. May <em>jQuery.popeye</em> be of use!</p>
<h4>Behavior</h4>
<p>The plugin transforms an unoredered list of images into a box displaying only one preview image at a time. The box has controls to skim through the preview images and to enlarge a given image. The box expands to accomodate the enlarged version, while the controls are hidden in full image size mode. A simple click on the image returns the box to its compact state.</p>
<p>The compact box has fixed, automatically calculated dimensions. The widht and height are calculated so that all thumbnail images are cropped to the smallest width and height in the set and centered resulting image area (<em>stage</em>).</p>
<p>This behaviour can be overriden in the plugin options.</p>
<p>I have set up a <a href="http://dev.herr-schuessler.de/examples/jquery-popeye/">demo page which best shows the behavior of <em>jQuery.popeye</em></a>.</p>
<h4>Usage</h4>
<p><em>jQuery.popeye</em> degrades gracefully into a scrollable list of thumbnails which link to an enlarged version. The <strong>HTML-setup</strong> should look like this:</p>
<pre name="code" class="html">
<div class="popeye">
<ul>
<li><a href="url_of_large_image.jpg">
			<img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li><a href="url_of_large_image.jpg">
			<img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li><a href="url_of_large_image.jpg">
			<img src="url_of_thumbnail.jpg" alt="The caption string" /></a></li>
<li>...</li>
</ul>
</div>
</pre>
<p>Once the plugin has been included in your web page, the popeye(es) can be easily created with the following command:</p>
<pre name="code" class="js">$(document).ready(function () {
	$('.popeye').popeye();
});</pre>
<p>Of course, multiple popeyees can be used together on a single page.</p>
<h4>Customization</h4>
<p><em>jQuery.popeye</em> supports a wide range of options. They are, in detail:</p>
<table class="table" border="0">
<tbody>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td class="hilite"><code>stageW</code></td>
<td>string</td>
<td>n/a</td>
<td>override width of compact image stage (e.g. <code>'200px'</code>)</td>
</tr>
<tr>
<td class="hilite"><code>stageH</code></td>
<td>string</td>
<td>n/a</td>
<td>override height of compact image stage (e.g. <code>'200px'</code>)</td>
</tr>
<tr>
<td class="hilite"><code>jclass</code></td>
<td>string</td>
<td><code>'popeye-hasjs'</code></td>
<td>class to be applied to popeye-box when the browser has activated JavaScript (to overwrite fallback styling)</td>
</tr>
<tr>
<td class="hilite"><code>eclass</code></td>
<td>string</td>
<td><code>'popeye-haspopped'</code></td>
<td>class to be applied to enlarged popeye-box</td>
</tr>
<tr>
<td class="hilite"><code>lclass</code></td>
<td>string</td>
<td><code>'popeye-isloading'</code></td>
<td>class to be applied to stage while loading image</td>
</tr>
<tr>
<td class="hilite"><code>direction</code></td>
<td>string</td>
<td><code>'left'</code></td>
<td>direction that popeye-box opens, can be <code>'left'</code> or <code>'right'</code></td>
</tr>
<tr>
<td class="hilite"><code>duration</code></td>
<td>integer</td>
<td><code>400</code></td>
<td>duration of transitional effect when enlarging or closing the box</td>
</tr>
<tr>
<td class="hilite"><code>easing</code></td>
<td>string</td>
<td><code>'swing'</code></td>
<td>easing type, can be <code>'swing'</code>, <code>'linear'</code> or any of <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing Plugin</a> types (Plugin required)</td>
</tr>
<tr>
<td class="hilite"><code>nlabel</code></td>
<td>string</td>
<td><code>'next'</code></td>
<td>label for next button</td>
</tr>
<tr>
<td class="hilite"><code>plabel</code></td>
<td>string</td>
<td><code>'previous'</code></td>
<td>label for previous button</td>
</tr>
<tr>
<td class="hilite"><code>oflabel</code></td>
<td>string</td>
<td><code>'of'</code></td>
<td>label for image count text (e.g. 1 <em>of</em> 14)</td>
</tr>
<tr>
<td class="hilite"><code>blabel</code></td>
<td>string</td>
<td><code>'enlarge'</code></td>
<td>label for enlarge button</td>
</tr>
<tr>
<td class="hilite"><code>clabel</code></td>
<td>string</td>
<td><code>'Click to close'</code></td>
<td>tooltip on enlarged image (click image to close)</td>
</tr>
</tbody>
</table>
<p><strong>Update:</strong> These are the options for <em>jQuery.popeye 0.2</em>. The <a href="http://herr-schuessler.de/blog/jquery-popeye-1-0-released/">options for the latest version have changed</a>!</p>
<p>To overwrite the default parameters, you can use the following code:</p>
<pre name="code" class="js">var options = {
	direction:  'right',
	duration:   230,
	stageW:     '200px',
	stageH:     '240px'
}
$('.popeye').popeye(options);</pre>
<p>The plugin comes with the mandatory css-file <code>jquery.popeye.css</code> which shouldn&#8217;t be altered. Additionally, I have included a second, customizable CSS-file with an example style for you to build upon.</p>
<h4>I repeat&#8230;</h4>
<ul>
<li>Get the <a href="http://jquery.com/">latest version of jQuery</a>,</li>
<li>(optional) get the <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing Plugin</a>,</li>
<li>see it in action on <a href="http://dev.herr-schuessler.de/examples/jquery-popeye/">the demo page</a>,</li>
<li>get the plugin:</li>
</ul>
<p><a class="download" href="http://plugins.jquery.com/project/popeye">Download <em>jQuery.popeye</em><br />
from the jQuery Plugin Repository</a></p>
<h4>Considerations</h4>
<p>There are still some issues with the first release of <em>jQuery.popeye</em> which I hope to resolve in future versions. They mainly concern the size of the enlarged box (the whole image should stay visible) and the gallery controls (will introduce proper controls to enlarged box).</p>
<p>But for now, your <strong>feedback</strong>, <strong>bug reports</strong>, <strong>improvements</strong> and <strong>feature requests</strong> are very welcome in the comment section.</p>
<blockquote><p>&#8220;I yam what I yam!&#8221; — Popeye</p></blockquote>
<div class="redirect">
<a href="http://dev.herr-schuessler.de/jquery/popeye/">jQuery.popeye 2.0</a> has been released. Older Versions are no longer supported.
</div>
]]></content:encoded>
			<wfw:commentRss>http://herr-schuessler.de/blog/jquerypopeye-an-inline-lightbox-alternative/feed/</wfw:commentRss>
		<slash:comments>187</slash:comments>
		</item>
	</channel>
</rss>

