<?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>Benjamin Mock &#187; zoom</title>
	<atom:link href="http://benjaminmock.de/tag/zoom/feed/" rel="self" type="application/rss+xml" />
	<link>http://benjaminmock.de</link>
	<description>web &#38; mobile development</description>
	<lastBuildDate>Thu, 05 Apr 2012 20:49:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>BeZoom Lighweight JQuery Zoom Plugin</title>
		<link>http://benjaminmock.de/bezoom-jquery-plugin/</link>
		<comments>http://benjaminmock.de/bezoom-jquery-plugin/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 02:58:47 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://benjaminmock.de/?p=126</guid>
		<description><![CDATA[BeZoom is a simple and lightweight zoom plugin for the wonderful JQuery framework. Update / Changelog 09.07.29 v0.11 fixed overlow:hidden bug in IE6 &#038; 7 when container has position:absolute; changed method to calculate relative mouse position to work in IE chaining of mouseenter, mouseleave and mousemove didn&#8217;t work in IE Plugin now works in Opera [...]]]></description>
			<content:encoded><![CDATA[<p><b>BeZoom</b> is a <b>simple and lightweight zoom plugin</b> for the wonderful JQuery framework.</p>
<h3>Update / Changelog</h3>
<p><b>09.07.29 v0.11</b></p>
<ul>
<li>fixed overlow:hidden bug in IE6 &#038; 7 when container has position:absolute;</li>
<li>changed method to calculate relative mouse position to work in IE</li>
<li>chaining of mouseenter, mouseleave and mousemove didn&#8217;t work in IE</li>
<li>Plugin now works in <strong>Opera </strong>>= 9, <strong>Firefox</strong> >= 2,  <strong>IE</strong> >= 7 &#038; <strong>Chrome</strong></li>
</ul>
<h3>Demo</h3>
<p>To view this script in action simply hover of the following image:<br />
<a href="http://benjaminmock.de/wp-content/uploads/bezoom/img_big.jpg" class="zoom" title="Your Title"><img src="http://benjaminmock.de/wp-content/uploads/bezoom/img_small.jpg"></a></p>
<h3>Download</h3>
<p style="border:1px solid #ffffff; -moz-border-radius: 10px;-khtml-border-radius: 10px;-webkit-border-radius: 10px;">
<img src="http://benjaminmock.de/wp-content/uploads/box_download.png" align="left" alt="download BeZoom"> <br/><br />
<a href="http://benjaminmock.de/wp-content/uploads/bezoom.zip">Download BeZoom v0.11 as zip</a><br />
<br/>
</p>
<h3>Usage</h3>
<pre><code class="javascript">$(document).ready(function(){
	$(".zoom").bezoom();
});
</code></pre>
<h3>HTML</h3>
<p>The plugins works best with images with the same proportions.</p>
<pre><code class="javascript">
&lt;a href=&quot;img_big.jpg&quot; class=&quot;zoom&quot; title=&quot;Your Title&quot;&gt;
    &lt;img src=&quot;img_small.jpg&quot;&gt;
&lt;/a&gt;
</code></pre>
<h3>Options</h3>
<p>It&#8217;s not neccessary to link directly to the big image. You can also you the <i>rel-Attribute</i> for the preview-image or any other attribute.</p>
<pre><code class="javascript">$(document).ready(function(){
	var options = {imgSource = 'rel'};
	$(".zoom").bezoom();
});
</code></pre>
<pre><code class="javascript">
&lt;a href=&quot;some_page.html&quot; rel=&quot;img_big.jpg&quot; class=&quot;zoom&quot; title=&quot;Your Title&quot;&gt;
    &lt;img src=&quot;img_small.jpg&quot;&gt;
&lt;/a&gt;
</code></pre>
<h3>Options Overview</h3>
<ul class="bezoom_options">
<li class="head">
<div class="option">Option</div>
<div class="default">Default Value</div>
<div class="description">Description</div>
</li>
<li class="even">
<div class="option">marginLeft</div>
<div class="default">10</div>
<div class="description">left side margin</div>
</li>
<li>
<div class="option">identifier</div>
<div class="default">bezoom</div>
<div class="description">id that is used internally for the bezoom plugin; should not need to be changed as long as you don&#8217;t use an &#8220;bezoom&#8221;-id on your own page</div>
</li>
<li class="even">
<div class="option">height</div>
<div class="default">200</div>
<div class="description">height of preview-container; height of title-container doesn&#8217;t count</div>
</li>
<li>
<div class="option">width</div>
<div class="default">200</div>
<div class="description">width of preview-container</div>
</li>
<li class="even">
<div class="option">titleSource</div>
<div class="default">title</div>
<div class="description">Attribute that contains the title</div>
</li>
<li>
<div class="option">imgSource</div>
<div class="default">href</div>
<div class="description">Attribute that contains the url of the preview-image</div>
</li>
<li class="even">
<div class="option">bgColor</div>
<div class="default">#5398EE</div>
<div class="description">background-color of title</div>
</li>
<li>
<div class="option">color</div>
<div class="default">#ffffff</div>
<div class="description">font-color of title</div>
</li>
<li class="even">
<div class="option">size</div>
<div class="default">0.8em</div>
<div class="description">font-size of title; you can also use px instead of em</div>
</li>
</ul>
<div class="clear"></div>
<h3>Alternatives</h3>
<p>With <a href="http://www.mind-projects.it/jqzoom_v10">jqzoom</a> there is a well known alternative to <b>BeZoom</b>, I used some time. But jqzoom in my opinion is much to complicated and confusing. Changing something in this 1000 liner isn&#8217;t fun at all. After all jqzoom seems to be a <a href="http://www.feedmyapp.com/p/a/jqzoom-evolution-image-magnifier-for-jquery/7020">mashup</a> of prototip and lightview.</p>
<p>So I created <b>BeZoom</b> to suit my personal needs. It&#8217;s light and it&#8217;s easy to use.</p>
<p>If you are using <b>BeZoom</b> let me know it and I&#8217;m going to develop some more features for it. If you find any bugs I&#8217;d appreciate a short comment so I can fix it.</p>
]]></content:encoded>
			<wfw:commentRss>http://benjaminmock.de/bezoom-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

