<?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>Meerkat :: A jQuery Plugin</title>
	<atom:link href="http://meerkat.jarodtaylor.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://meerkat.jarodtaylor.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 12 Jun 2012 23:25:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Added ability to automatically trigger &#8220;dontShowAgain&#8221; on timer method</title>
		<link>http://meerkat.jarodtaylor.com/news/added-ability-to-automatically-trigger-dontshowagain-on-timer-method/</link>
		<comments>http://meerkat.jarodtaylor.com/news/added-ability-to-automatically-trigger-dontshowagain-on-timer-method/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 02:58:37 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=90</guid>
		<description><![CDATA[In a situation where you are having Meerkat automatically close itself using the timer method, you now have the ability to trigger the dontShowAgain method by simply adding the dontShowAgainAuto" method to your Meerkat call. This comes in handy, especially in a situation where you&#8217;re utilizing Meerkat as a Splash Page alternative. If you set [...]]]></description>
			<content:encoded><![CDATA[<p>In a situation where you are having Meerkat automatically close itself using the <code>timer</code> method, you now have the ability to trigger the <code>dontShowAgain</code> method by simply adding the <code>dontShowAgainAuto"</code> method to your Meerkat call.</p>
<p>This comes in handy, especially in a situation where you&#8217;re utilizing Meerkat as a Splash Page alternative. If you set up your &#8216;splash page&#8217; to automatically fade in after 5 seconds (using the <code>timer</code> method), you wouldn&#8217;t want the user to see this splash page again immediately (I would hope not) so you&#8217;d want to use the <code>dontShowAgainAuto</code> method so that the splash page wouldn&#8217;t appear again to that user until the cookie expires (based on your <code>cookieExpires</code> settings).</p>
<pre>
<code>
$('.meerkat').meerkat({
	background: '#000',
	height: '100%',
	width: '100%',
	animationIn: 'none',
	animationOut: 'fade',
	animationSpeed: 500,
	timer: 5,
	dontShowAgainAuto: true,
	cookieExpires: 2
});
</code>
</pre>
<p>The above code would create a black overlay (Splash page, if you will) when the user visited the page. It would automatically fade out after 5 seconds (<code>timer: 5</code>), and will not appear again (<code>dontShowAgainAuto: true</code>) for 2 days (<code>cookieExpires: 2</code>).</p>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/news/added-ability-to-automatically-trigger-dontshowagain-on-timer-method/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Meerkat Splash Page</title>
		<link>http://meerkat.jarodtaylor.com/how-to/meerkat-splash-page/</link>
		<comments>http://meerkat.jarodtaylor.com/how-to/meerkat-splash-page/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 02:04:43 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=73</guid>
		<description><![CDATA[Although, rarely used anymore (and for good reason), we're going to implement a splash entry page using Meerkat. 

Rather then annoy the user, and require them to click "Enter Site" or something similar to, we're going to take advantage of Meerkat's <code>timer</code> property and have it fade in after a couple seconds. This is going to be super easy, let's get started.]]></description>
			<content:encoded><![CDATA[<p>Although, rarely used anymore (and for good reason), we&#8217;re going to implement a splash entry page using Meerkat. </p>
<p>Rather then annoy the user, and require them to click &#8220;Enter Site&#8221; or something similar to, we&#8217;re going to take advantage of Meerkat&#8217;s <code>timer</code> property and have it fade in after a couple seconds. This is going to be super easy, let&#8217;s get started.</p>
<p>As I&#8217;ve already said, splash pages have become a thing of the past, due to their annoyance, lack of real benefit, and arbitrary purpose. What we&#8217;re going to do is slightly different, and more of a brief <em>welcome splash</em>. I&#8217;m going to assume you already have jQuery and the Meerkat source files referenced in the head section of your HTML document. I&#8217;m also assuming you already have the element in your document, you plan to attach Meerkat to. If you do not, I recommend visiting the <a href="http://meerkat.jarodtaylor.com/how-to/basic-usage/">Basic Usage</a> tutorial first.</p>
<p>Once you have everything ready to go, let&#8217;s add Meerkat!</p>
<div class="snippet">
<pre>
<code> 
$(function(){
	$('.meerkat').meerkat({
		background: '#f7fcfa url(images/bg-splash.png) repeat-x left top',
		height: '100%',
		width: '100%',
		position: 'bottom',
		dontShowAgain: '#enter',
		animationIn: 'none',
		animationOut: 'fade',
		animationSpeed: 500,
		timer: 2,
		removeCookie: '.reset'
	});
});
</code>
</pre>
</div>
<p><strong>Note:</strong> don&#8217;t forget to include your script tags!</p>
<p>That&#8217;s it! You could remove the <code>timer</code> property if you wanted to, and require the end user to click either the image, or add an anchor tag, to enter the site. This, however, could be quite annoying to your visitors. </p>
<p>If you have any questions, please ask them in the comments, so that anyone else that may have the same question, may see the answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/how-to/meerkat-splash-page/feed/</wfw:commentRss>
		<slash:comments>59</slash:comments>
		</item>
		<item>
		<title>Callback functionality now available (onMeerkatShow)!</title>
		<link>http://meerkat.jarodtaylor.com/news/callback-functionality-now-available-onmeerkatshow/</link>
		<comments>http://meerkat.jarodtaylor.com/news/callback-functionality-now-available-onmeerkatshow/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 17:36:31 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=13</guid>
		<description><![CDATA[For more customization options, I&#8217;ve added a callback option to Meerkat. For example, if you wanted to fade your content in with Meerkat, you could do the following: $('#meerkat').meerkat({ height: '120px', width: '100%', position: 'bottom', close: '.close-meerkat', dontShowAgain: '.dont-show', animationIn: 'slide', animationSpeed: 500, removeCookie: '.reset', onMeerkatShow: function() { $(this).animate({opacity: 'show'}, 1000); } });]]></description>
			<content:encoded><![CDATA[<p>For more customization options, I&#8217;ve added a callback option to Meerkat. </p>
<p>For example, if you wanted to fade your content in with Meerkat, you could do the following:</p>
<pre>
<code>
$('#meerkat').meerkat({
	height: '120px',
	width: '100%',
	position: 'bottom',
	close: '.close-meerkat',
	dontShowAgain: '.dont-show',
	animationIn: 'slide',
	animationSpeed: 500,
	removeCookie: '.reset',
	onMeerkatShow: function() { $(this).animate({opacity: 'show'}, 1000); }
});
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/news/callback-functionality-now-available-onmeerkatshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve added a destroyMeerkat() method to the new release</title>
		<link>http://meerkat.jarodtaylor.com/news/pellentesque-habitant-morbi-tristique-senectus-et-netus/</link>
		<comments>http://meerkat.jarodtaylor.com/news/pellentesque-habitant-morbi-tristique-senectus-et-netus/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:35:49 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=11</guid>
		<description><![CDATA[Using the destroyMeerkat() method will remove all of meerkat&#8217;s wrappers and containers, leaving (but hiding) its contents. Example: $('.destroy').click(function(){ $('#meerkat').destroyMeerkat(); });]]></description>
			<content:encoded><![CDATA[<p>Using the <em>destroyMeerkat()</em> method will remove all of meerkat&#8217;s wrappers and containers, leaving (but hiding) its contents.</p>
<p><span>Example:</span></p>
<pre><code>
$('.destroy').click(function(){
	$('#meerkat').destroyMeerkat();
});
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/news/pellentesque-habitant-morbi-tristique-senectus-et-netus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basic Usage</title>
		<link>http://meerkat.jarodtaylor.com/how-to/basic-usage/</link>
		<comments>http://meerkat.jarodtaylor.com/how-to/basic-usage/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 17:40:59 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=15</guid>
		<description><![CDATA[In this tutorial, we're going to implement Meerkat in a basic, mostly "out of the box", manner. 

First, we'll begin by including the necessary files in the head of our HTML document. Once these files are in place, it's just a matter of attaching Meerkat to an element in the DOM and setting any options that are desired, or simply use Meerkat with its default settings.]]></description>
			<content:encoded><![CDATA[<p>In this tutorial, we&#8217;re going to implement Meerkat in a basic, mostly &#8220;out of the box&#8221;, manner. </p>
<p>First, we&#8217;ll begin by including the necessary files in the head of our HTML document. Once these files are in place, it&#8217;s just a matter of attaching Meerkat to an element in the DOM and setting any options that are desired, or simply use Meerkat with its default settings.</p>
<p>Meerkat, depending on the options you have set, will slide or fade in from the top, right, bottom or left side of the browser window and remain in its fixed position while the rest of the page will scroll normally. You have a choice of providing a close option which will simply close Meerkat until the page has been reloaded, or a dontShow option, which will close Meerkat until the browser session has ended, or for a set amount of days, depending on the options you have defined.</p>
<p>Like any jQuery plugin, the first thing we need to include is the jQuery library source, and then the meerkat file.</p>
<div class="snippet">
<pre>
<code>
&lt;script src=&quot;jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery.meerkat.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</code>
</pre>
</div>
<p>Now, before anything, per usual, we need to make sure the document is ready before calling our meerkat.</p>
<div class="snippet">
<pre>
<code>  
&lt;script type="text/javascript"&gt;
$(document).ready(function(){
	//meerkat stuff goes here 
}
&lt;/script&gt;
</code>
</pre>
</div>
<p>Now for a basic implementation of meerkat. First you must choose what HTML element you want to attach Meerkat to. In our example, we&#8217;ll use a div with the class &#8220;meerkat&#8221;. For consistent results, it&#8217;s best to put your HTML element below your page content, just before the closing <em>body</em> tag. </p>
<p>Here&#8217;s an example:</p>
<div class="snippet">
<pre>
<code>
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
	&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt;
	&lt;title&gt;Meerkat: A jQuery Plugin (Basic Demo)&lt;/title&gt;
	&lt;script src="jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
	&lt;script src="jquery.meerkat.js" type="text/javascript"&gt;&lt;/script&gt;
	&lt;script type="text/javascript"&gt;
    $(document).ready(function(){
      //Meerkat stuff goes here
    });
    &lt;/script&gt;		
&lt;/head&gt;
&lt;body&gt;
&lt;div id="wrapper"&gt;
	Web page content goes here
&lt;/div&gt;<span class="highlight">
&lt;div class="meerkat"&gt;
	Meerkat content goes here
&lt;/div&gt;</span>
&lt;/body&gt;
&lt;/html&gt;
</code>
</pre>
</div>
<p>Now, you simply need to add the meerkat call to your script tags (document ready) in the head of your document.</p>
<div class="snippet">
<pre>
<code> 
$('.meerkat').meerkat({
    background: 'url(images/meerkat-bot-bg.png) repeat-x left top',
    height: '120px',
    width: '100%',
    position: 'bottom',
    close: '.close-meerkat',
    dontShowAgain: '.dont-show',
    animationIn: 'slide',
    animationSpeed: 500
});
</code>
</pre>
</div>
<p>As you&#8217;ll see in the <a href="/demo/basic-usage">demo</a>, it&#8217;s a very basic implementation of Meerkat. If you wanted the same effect, but wanted it to come from the left, rather than the bottom, you&#8217;d simply change the <em>width, height,</em> and <em>position</em> values.</p>
<div class="snippet">
<pre>
<code> 
$('.meerkat').meerkat({
    background: 'url(images/meerkat-bot-bg.png) repeat-x left top',
    <span class="highlight">height: '100%',
    width: '150px',
    position: 'left',</span>
    close: '.close-meerkat',
    dontShowAgain: '.dont-show',
    animationIn: 'slide',
    animationSpeed: 500
});
</code>
</pre>
</div>
<p>What if you wanted it to fade in, instead of slide in? How about it doesn&#8217;t fade in until 3 seconds after the page loads?</p>
<div class="snippet">
<pre>
<code> 
$('.meerkat').meerkat({
    background: 'url(images/meerkat-bot-bg.png) repeat-x left top',
    height: '120px',
    width: '100%',
    position: 'bottom',
    close: '.close-meerkat',
    dontShowAgain: '.dont-show',
    <span class="highlight">animationIn: 'fade',</span>
    animationSpeed: 500
    <span class="highlight">delay: 3</span>
});
</code>
</pre>
</div>
<p>It&#8217;s <a href="/demo/basic-usage/fade-delay.html">that simple</a>.</p>
<p>What if you wanted it to fade in right when the page loads, but you&#8217;d like it to close automatically after 5 seconds? For fun, let&#8217;s drop the opacity to Meerkat as well!</p>
<div class="snippet">
<pre>
<code> 
$('.meerkat').meerkat({
    background: 'url(images/meerkat-bot-bg.png) repeat-x left top',
    height: '120px',
    width: '100%',
    position: 'bottom',
    close: '.close-meerkat',
    dontShowAgain: '.dont-show',
    animationIn: 'fade',</span>
    animationSpeed: 500,
    <span class="highlight">timer: 5,</span>
    <span class="highlight">opacity: .9</span>
});
</code>
</pre>
</div>
<p><a href="/demo/basic-usage/fade-timer.html">Voila!</a>.</p>
<p>One last example for our &#8216;basic usage&#8217; demo. This demo example will require a third party plugin known as <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing</a>. Go ahead and download the source file and include it <strong>above</strong> your meerkat script (it is important this script is called prior to Meerkat, or it will not work).</p>
<div class="snippet">
<pre>
<code>
&lt;script src=&quot;jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
<span class="highlight">&lt;script src=&quot;jquery.easing.1.3.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span>
&lt;script src=&quot;jquery.meerkat.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</code>
</pre>
</div>
<p>Now that you have included this plugin, you can use any of the several options available like so:</p>
<div class="snippet">
<pre>
<code> 
$('.meerkat').meerkat({
    background: 'url(images/meerkat-bot-bg.png) repeat-x left top',
    height: '120px',
    width: '100%',
    position: 'bottom',
    close: '.close-meerkat',
    dontShowAgain: '.dont-show',
    animationIn: 'slide',
    animationSpeed: 500,
    <span class="hightlight">easingIn: 'easeInBounce'</span>
});
</code>
</pre>
</div>
<p>As <a href="http://meerkat.jarodtaylor.com/demo/basic-usage/easinbounce.html">you can see</a>, meerkat presents itself a little differently. There are a lot of options to choose from so be sure to check out the plugin&#8217;s documentation. Keep in mind you can change the easing of meerkat&#8217;s exit as well, simply by using the <em>easingOut</em> option.</p>
<p>That&#8217;s it, if you have any questions, be sure to ask in the comments section. Also, be sure to check out the <a href="http://meerkat.jarodtaylor.com/documentation/">documentation page</a> for descriptions of each of the different Meerkat options.</p>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/how-to/basic-usage/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>Meerkat 1.3 released!</title>
		<link>http://meerkat.jarodtaylor.com/news/morbi-sed-massa-ac-metus-tempor-rutrum/</link>
		<comments>http://meerkat.jarodtaylor.com/news/morbi-sed-massa-ac-metus-tempor-rutrum/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 17:32:11 +0000</pubDate>
		<dc:creator>Jarod Taylor</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://meerkat.jarodtaylor.com/?p=8</guid>
		<description><![CDATA[It&#8217;s been long over due, but I have finally found some time to update, upgrade, and release a new version of Meerkat. This is by far the best release yet. I&#8217;ve added tons of new functionality and features, as well as fixed some bugs from the previous releases. Due to this release being a complete [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been long over due, but I have finally found some time to update, upgrade, and release a new version of Meerkat. This is by far the best release yet. I&#8217;ve added tons of new functionality and features, as well as fixed some bugs from the previous releases. </p>
<p>Due to this release being a complete makeover, I am no longer supporting the earlier release. Please update to the new version, but beware of the option name changes while doing so.</p>
<p>As always, if you find a bug or have any issues with it, be sure to let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://meerkat.jarodtaylor.com/news/morbi-sed-massa-ac-metus-tempor-rutrum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
