<?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; jquery</title>
	<atom:link href="http://benjaminmock.de/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://benjaminmock.de</link>
	<description>web &#38; mobile development</description>
	<lastBuildDate>Tue, 08 Nov 2011 16:20:31 +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>WordPress und Ajax (JQuery) in Plugins</title>
		<link>http://benjaminmock.de/wordpress-und-ajax-jquery-in-plugins/</link>
		<comments>http://benjaminmock.de/wordpress-und-ajax-jquery-in-plugins/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 00:29:27 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://benjaminmock.de/?p=222</guid>
		<description><![CDATA[Zur Zeit schraube ich an einigen WordPress Plugins. Und da Ajax immer mehr an Bedeutung gewinnt, sollen auch diese Plugins vom dynamischen Nachladen per JavaScript Gebrauch machen. Mit WordPress geht das überraschend komfortabel und sauber, denn für den Admin-Bereich ist bereits die Verwendung von Ajax vorgesehen. Mit kleinen Anpassungen, kann man die admin-ajax-Funktion auch für [...]]]></description>
			<content:encoded><![CDATA[<p>Zur Zeit schraube ich an einigen <a href="http://benjaminmock.de/wordpress-entwicklung/">WordPress Plugins</a>. Und da Ajax immer mehr an Bedeutung gewinnt, sollen auch diese Plugins vom dynamischen Nachladen per JavaScript Gebrauch machen.</p>
<p>Mit WordPress geht das überraschend komfortabel und sauber, denn für den Admin-Bereich ist bereits die Verwendung von Ajax vorgesehen. Mit kleinen Anpassungen, kann man die admin-ajax-Funktion auch für öffentliche Seiten nutzen.</p>
<p>Wie das geht steht hier:<br />
<a href="http://www.ericmmartin.com/5-tips-for-using-jquery-with-wordpress/">Integration von JQuery in WordPress</a><br />
<a href="http://codex.wordpress.org/AJAX_in_Plugins">Ajax in Plugins</a> (Auf sack, das im Beispiel verwendet wird kann man auch verzichten. Man muss nur die URL zur admin-ajax.php per PHP in JavaScript speichern und diese dann für die JQuery-Funktionen zur Kommunikation mit dem Server verwenden.)</p>
<p>Sollte Bedarf bestehen schreibe ich dazu auch gerne nochmal ein Tutorial &#8211; einfach per Kommentar oder Mail melden!</p>
<p>Suchen Sie einen <a href="http://benjaminmock.de/wordpress-entwicklung/">freien WordPress Entwickler</a> zur Erstellung individueller Plugins? Dann melden Sie sich bitte!</p>
]]></content:encoded>
			<wfw:commentRss>http://benjaminmock.de/wordpress-und-ajax-jquery-in-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery CSS Reset Plugin</title>
		<link>http://benjaminmock.de/jquery-css-reset-plugin/</link>
		<comments>http://benjaminmock.de/jquery-css-reset-plugin/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 02:06:29 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[reset-css]]></category>

		<guid isPermaLink="false">http://benjaminmock.de/?p=155</guid>
		<description><![CDATA[summary: plugin resets css styles of given element version: 0.1 date: 09.07.22 If you&#8217;re coding a widget which is not included in the page via an iframe you have to cope with a lot of different styles that are given by the css of the page. Using a lot of inline styles for your elements [...]]]></description>
			<content:encoded><![CDATA[<ul style="border:1px solid #ffffff; overflow:hidden;margin:5px;">
<li><b>summary: </b>plugin resets css styles of given element</li>
<li><b>version: </b>0.1</li>
<li><b>date: </b>09.07.22</li>
</ul>
<p>If you&#8217;re coding a widget which is not included in the page via an iframe you have to cope with a lot of different styles that are given by the css of the page. Using a lot of inline styles for your elements is most of the time not an option, because you need some easy injectable html-code for the users. So styling your widget with JavaScript is the best option. And therefore you will maybe like to reset the css for your elements. And that&#8217;s exactly what the <b>beResetCSS</b>-JQuery-Plugin does.</p>
<h3>Download</h3>
<p style="border:1px solid #ffffff; overflow:hidden;">
<img src="http://benjaminmock.de/wp-content/uploads/box_download.png" align="left" alt="download beResetCSS"> <br/><br /> <br />
<a href="http://benjaminmock.de/wp-content/uploads/beResetCSS.zip">Download BeResetCSS v0.1 as zip</a></p>
<h3>Usage</h3>
<div class="wp_syntax">
<div class="code">
<pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;YourElement&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">beResetCSS</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre>
</div>
</div>
<p>The reset-CSS is based on the <a href="http://meyerweb.com/eric/tools/css/reset/">suggestion</a> from meyerweb.</p>
]]></content:encoded>
			<wfw:commentRss>http://benjaminmock.de/jquery-css-reset-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

