﻿<?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>Grimmdude</title>
	<atom:link href="http://www.grimmdude.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grimmdude.com</link>
	<description>Jammin &#039;till the jammin&#039;s through.</description>
	<lastBuildDate>Fri, 06 Jan 2012 23:09:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>asciibin &#8211; ASCII to Binary to ASCII Converter</title>
		<link>http://www.grimmdude.com/asciibin-ascii-to-binary-to-ascii-converter/</link>
		<comments>http://www.grimmdude.com/asciibin-ascii-to-binary-to-ascii-converter/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 02:03:54 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=2160</guid>
		<description><![CDATA[Behold the raw power of ASCII to binary conversion done via a small JavaScript function.  Enter text in the left box and convert it into binary to tabbing out of<a href="http://www.grimmdude.com/asciibin-ascii-to-binary-to-ascii-converter/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Behold the raw power of ASCII to binary conversion done via a small JavaScript function.  Enter text in the left box and convert it into binary to tabbing out of the box or clicking the &#8216;update&#8217; button.  You can also convert binary into text if you&#8217;re so inclined.</p>
<table>
<tbody>
<tr>
<td>
<label for="ascii">Text</label>
</td>
<td>
<label for="binary">Binary</label>
</td>
</tr>
<tr>
<td>
<textarea id="ascii" cols="40" rows="20"></textarea>
</td>
<td>
<textarea id="binary" cols="40" rows="20" ></textarea>
</td>
</tr>
</tbody>
</table>
<input type="button" value="Update" />
<p>The JavaScript function behind this can be found on GitHub: <a title="asciibin on GitHub" href="https://github.com/grimmdude/asciibin" target="_blank"/>GitHub Repo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/asciibin-ascii-to-binary-to-ascii-converter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>menuFlip &#8211; jQuery Plugin for Flipping Navigation</title>
		<link>http://www.grimmdude.com/jquery-menuflip/</link>
		<comments>http://www.grimmdude.com/jquery-menuflip/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 18:25:17 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[flipping]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=2063</guid>
		<description><![CDATA[menuFlip is a jQuery plugin for adding a &#8216;flipping&#8217; effect to text based navigational menu items when hovered over without needing to use background images, which can be a pain.<a href="http://www.grimmdude.com/jquery-menuflip/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>menuFlip is a jQuery plugin for adding a &#8216;flipping&#8217; effect to text based navigational menu items when hovered over without needing to use background images, which can be a pain.</p>
<h2>Menu Example</h2>
<ul id="flip_nav">
<li><a href=#>Home</a></li>
<li><a href=#>Web</a></li>
<li><a href=#>Blog</a></li>
<li><a href=#>Contact</a></li>
</ul>
<h2>HTML</h2>
<p>All you need is this simple markup.</p>
<pre><code>&lt;ul id="flip_nav"&gt;
	&lt;li&gt;&lt;a href="/home"&gt;Home&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="/web"&gt;Web&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="/blog"&gt;Blog&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="/contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</code></pre>
<h2>Calling the Plugin</h2>
<pre><code>$(function() {
	$('#flip_nav').menuFlip();
});</code></pre>
<h2>CSS</h2>
<p>No extra CSS is required for this plugin to function, but you&#8217;ll probably want to define a width for the <code>ul</code> or float the <code>li</code> elements to the left so they are inline.  Also, the flipped items have a class of <code>flipped_item</code> so you can style that puppy as you like.  Here&#8217;s an example of the CSS for the above example:</p>
<pre><code>ul#flip_nav li {
	float:left;
	text-align:center;
	margin:0px 10px 0px 0px;
}

/*this defines the styling of the new flipped menu item*/
ul#flip_nav a.flipped_item {
	background-color:#000000;
	color: #ffffff;
}</code></pre>
<p>You can download this plugin from the <a href="https://github.com/grimmdude/jQuery-menuFlip" title="jQuery menuFlip Plugin" target="_blank">GitHub repository here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/jquery-menuflip/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bouncing Ball Using Raphaël Javascript Library</title>
		<link>http://www.grimmdude.com/bouncing-ball-using-raphael-javascript-library/</link>
		<comments>http://www.grimmdude.com/bouncing-ball-using-raphael-javascript-library/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 02:58:54 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[raphael]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=2038</guid>
		<description><![CDATA[Today&#8217;s personal project was to create a simple bouncing ball using the Raphaël JavaScript library.  This is such a powerful library, if you&#8217;re not familiar with it you should check<a href="http://www.grimmdude.com/bouncing-ball-using-raphael-javascript-library/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s personal project was to create a simple bouncing ball using the <a title="Raphaël" href="http://raphaeljs.com/index.html" target="_blank">Raphaël</a> JavaScript library.  This is such a powerful library, if you&#8217;re not familiar with it you should check it out.</p>
<h2>The Ball</h2>
<p>Lots of hang time.</p>
<div style="text-align:center;" id="bouncy_ball"></div>
<h2>The Code</h2>
<p>This short script creates and animates the ball and the shadow.  When placed in the <code>&lt;head&gt;</code> of the document the bouncy ball animation will be inserted into a <code>&lt;div id="bouncy_ball"&gt;&lt;/div&gt;</code>.  Remember to include the latest versions of Raphaël and jQuery in the <code>&lt;head&gt;</code> of the document <em>before</em> this script.</p>
<pre><code>&lt;script&gt;
$(document).ready(function() {
	var paper = Raphael(document.getElementById("bouncy_ball"), 100, 200);
	var bouncy_ball = paper.circle(30, 115, 10).attr("gradient", "r#293df7-#1e2dbd");
	var bouncy_shadow = paper.ellipse(30, 120, 8, 8).attr({fill: "#484643", stroke:"none"}).toBack();
	function bounce_up() {
		bouncy_ball.animate({cy: 115}, 500, '&lt;', bounce_drop);
		bouncy_shadow.animate({rx:8,ry:8,fill:"#484643"}, 500, '&lt;');
	}	
	function bounce_drop() {
		bouncy_ball.animate({cy: 15}, 600, '&gt;', bounce_up);
		bouncy_shadow.animate({rx:25,ry:10,fill:"#e7e7e7"}, 600, '&gt;');
	}
	bounce_drop();
});
&lt;/script&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/bouncing-ball-using-raphael-javascript-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Replacement Script with jQuery for WordPress</title>
		<link>http://www.grimmdude.com/the-best-image-replacement-script-with-jquery/</link>
		<comments>http://www.grimmdude.com/the-best-image-replacement-script-with-jquery/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 00:23:16 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1956</guid>
		<description><![CDATA[Here&#8217;s a script to ease the use of image replacements for WordPress users. When hovered, the src of the image will be replaced by a url which you define in<a href="http://www.grimmdude.com/the-best-image-replacement-script-with-jquery/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a script to ease the use of image replacements for WordPress users.  When hovered, the <code>src</code> of the image will be replaced by a url which you define in the <code>alt</code> attribute in the image editor dialog. The image will swap without delay on a hover since the script pre-loads all of the swappable images. Once this script is in your site all you need to do is:</p>
<ul>
<li>Add class=&#8221;image_hover&#8221; to the image.</li>
<li>Specify the URL of the swapped image in the &#8216;alt&#8217; attribute.  If using WordPress there&#8217;s an &#8216;alt&#8217; field in the image editor dialog so it makes this easy to access.</li>
</ul>
<p>It will apply to any image with <code>class="image_hover"</code> so it&#8217;s very scalable and great for sites using lots of image replacements.  Using the <code>alt</code> attribute to store the swapped image url sort of makes sense too because it&#8217;s the alternate image.</p>
<h3>Image Code Example</h3>
<p>Hover over the WordPress logo below to see it magically switch between the black/white version to the color one.</p>
<p><img src="http://www.grimmdude.com/wp-content/uploads/2011/08/Wordpress_118px_bw.jpg" alt="http://www.grimmdude.com/wp-content/uploads/2011/08/Wordpress_118px.jpg" title="Image Swap Example" width="118" height="118" class="alignnone size-full wp-image-2015 image_hover" /></p>
<pre><code>&lt;img class="image_hover" src="default_image.jpg" alt="hover_swap_image.jpg" /&gt;</code></pre>
<h3>The Script</h3>
<p>Of course, you&#8217;ll need to have the jQuery library loaded up for this to work&#8230;since it&#8217;s jQuery.  You can copy &#038; paste this script directly into the <head> of your document below the call to jQuery.js</p>
<pre><code>&lt;script&gt;
$(document).ready(function() {
  //preload each image for quick swaps
  $('img.image_hover').each(function () {
  	var image_url = $(this).attr('alt');
  	var image_preload = $('&lt;img /&gt;').attr('src', image_url);
  });

  //on hoverin/hoverout replace src with alt
  $('img.image_hover').hover( 
  	function() {
  		var alt_url = $(this).attr('alt');
  		var src_url = $(this).attr('src');
  		$(this).attr('src',alt_url).attr('alt',src_url);
  	},
  	function() {
  		var alt_url = $(this).attr('alt');
  		var src_url = $(this).attr('src');
  		$(this).attr('src',alt_url).attr('alt',src_url);
  	}
  );
});
&lt;/script&gt;</code></pre>
<h2>XD&#8217;s Suggestion</h2>
<p>Optionally my friend <a href="http://demo.apsulis.com/" target="_blank">XD</a> provided a great script to use for those who don&#8217;t want to use the <code>alt</code> attribute to house the url of the swapped image.  Using this method you will need to: </p>
<ul>
<li>Add class=&#8221;xd_image_hover&#8221; to the image.</li>
<li>Give the two images the same name but append &#8216;-normal&#8217; to the first image and &#8216;-hover&#8217; to the swapped image. ie imagename-normal.jpg &#038; imagename-hover.jpg</li>
</ul>
<h3>Image Code Example</h3>
<p>Here&#8217;s a working example of XD&#8217;s alternative method:<br />
<img src="http://www.grimmdude.com/wp-content/uploads/2011/09/Wordpress_XDexample-normal.jpg" alt="XD's Image Replacement Example" title="XD's Image Replacement Example" width="118" height="118" class="alignnone size-full wp-image-2015 xd_image_hover" /></p>
<pre><code>&lt;img class="xd_image_hover" src="imagename-normal.jpg" alt="XD's Image Replacement Script" /&gt;</code></pre>
<h3>The Script</h3>
<pre><code>&lt;script&gt;
/* ENABLE ROLLOVER ON TARGETED IMAGES (ALL BROWSERS) */
$(document).ready(function() {
	//preload each image for quick swaps
	$('img.xd_image_hover').each(function () {
  		var image_url = $(this).attr('src').replace("-normal","-hover");
  		var image_preload = $('&lt;img /&gt;').attr('src', image_url);
  		alert(image_url);
  	});
  
	$('img.xd_image_hover').hover( 
			function() { jQuery(this).attr("src", jQuery(this).attr("src").replace("-normal","-hover")); }, 
			function () { jQuery(this).attr("src", jQuery(this).attr("src").replace("-hover","-normal")); } 
	);  
});
&lt;/script&gt;</code></pre>
<p>I edited it slightly to use the &#8216;image_hover&#8217; class name as well as to preload the image for a quick swap without waiting.</head></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/the-best-image-replacement-script-with-jquery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Confirming a Link Click with jQuery</title>
		<link>http://www.grimmdude.com/confirming-a-link-click-with-jquery/</link>
		<comments>http://www.grimmdude.com/confirming-a-link-click-with-jquery/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 05:29:50 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[useful]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1920</guid>
		<description><![CDATA[Here&#8217;s a function I wrote while working on a project that pops up a box confirming whether or not the user is sure the want to go to a link<a href="http://www.grimmdude.com/confirming-a-link-click-with-jquery/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a function I wrote while working on a project that pops up a box confirming whether or not the user is sure the want to go to a link they clicked, like <a class="confirm" href="http://www.grimmdude.com/confirming-a-link-click-with-jquery/" title="This link will popup a confirmation box and bring you back to this post if you click OK.">this</a>.</p>
<p>It may be simple, but I haven&#8217;t really used javascript&#8217;s confirm() function much in the past and everything I found only directed the user to a link predefined in the function.  I wanted a function that would confirm any link I wanted it to without knowing the link destination in advance, in other words I wanted to confirm dynamic links.</p>
<h2>The Code</h2>
<p>This jQuery function will pop up a confirmation box on any link with the class &#8216;confirm&#8217; and send the user to the destination of that link if they click &#8216;OK&#8217;.</p>
<pre><code>$(document).ready(function() {
  $('a.confirm').click(function(event) {
    event.preventDefault()
    var url = $(this).attr('href');
    var confirm_box = confirm('Are you sure you want to click this link?');
    if (confirm_box) {
       window.location = url;
       //uncomment below and remove above if you want the link to open in a new window
       //window.open(url,'_blank');
    }
  });
});</code></pre>
<h3>Code Explained</h3>
<pre><code>//load once document is ready
$(document).ready(function() {

  //select all anchors with a class of 'confirm'
  $('a.confirm').click(function(event) {

    //prevent the default action of opening the link
    event.preventDefault()

    //grab the url of the current link
    var url = $(this).attr('href');

    //set the confirmation message
    var confirm_box = confirm('Are you sure you want to click this link?');

    //if the confirmation is true (user clicks ok) direct the browser to the link's url
    if (confirm_box) {
       window.location = url;
       //uncomment below and remove above if you want the link to open in a new window
       //window.open(url,'_blank');
    }
  });
});</code></pre>
<h2>Example</h2>
<p>Because the link below has a class of &#8216;confirm&#8217; you&#8217;ll have to confirm whether or not you want to go to the link&#8217;s destination.</p>
<h3>Link Code</h3>
<pre><code>&lt;a href="http://www.grimmdude.com/contact/" class="confirm"&gt;Link Example&lt;/a&gt;</code></pre>
<h3>The Link</h3>
<p><a href="http://www.grimmdude.com/contact/" class="confirm">Link Example</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/confirming-a-link-click-with-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Simple Form Submit with Ajax via jQuery</title>
		<link>http://www.grimmdude.com/simple-form-submit-with-ajax-via-jquery/</link>
		<comments>http://www.grimmdude.com/simple-form-submit-with-ajax-via-jquery/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 16:20:06 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1792</guid>
		<description><![CDATA[Anyone who knows me knows I like to keep things simple. I&#8217;ve been working a lot lately forms that need some ajax magic to keep the site usage streamlined. Here&#8217;s<a href="http://www.grimmdude.com/simple-form-submit-with-ajax-via-jquery/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Anyone who knows me knows I like to keep things simple. I&#8217;ve been working a lot lately forms that need some ajax magic to keep the site usage streamlined.  Here&#8217;s what I found works best for me:</p>
<h2>The Form</h2>
<p>OK, so I&#8217;ll start with my basic form to add a name:</p>
<pre><code>&lt;div id="update_name_div" style="display:none;"&gt;&lt;p&gt;New name added.&lt;/p&gt;&lt;/div&gt;
	&lt;form action="handler.php"&gt;
			&lt;label for="new_name"&gt;New Name&lt;/label&gt;
			&lt;input type="text" id="new_name" name="new_name" placeholder="Add Name..." /
		        &lt;input type="submit" id="submit_name_form" class="button-primary" value="Add" /&gt;
	&lt;/form&gt;
&lt;/div&gt;</code></pre>
<p>That will give us a form with a single input field and a submit button.  We&#8217;ll make the hidden div at the top with id=&#8217;update_name_div&#8217; show once the ajax submit process is complete.</p>
<h2>The Ajax/jQuery</h2>
<p>Now to bring them together using ajax via jQuery; be sure to include the jQuery library in your site for this to work.  I&#8217;m using the $.get method to retrieve the results.  See the comments for an explanation of what&#8217;s going on:</p>
<pre><code>&lt;script&gt;
$(document).ready(function() {
	//when the 'add' button is clicked perform an ajax request to add the entered data
	$('#submit_name_form').click(function(event) { 
			
		//if field is empty setup an alert
		if ($('input[name="new_name"]').val() == '') {
			//prevent submit button to sending to the handler page
			event.preventDefault();
			//popup the alert
			alert('Please enter a name');
		}
		
		//otherwise perform ajax request
		else {
			//hide 'updated' div if it's already up.
			$('#update_name_div').hide();
			
			//prevent submit button to sending to the handler page
			event.preventDefault();
			
			//set the inputted value to a variable
			new_name_var = $('input[name="new_name"]').val();
			
			//send the value to the handler page via GET.  Can be retrieved in php as $_GET['name_input']
			$.get('handler.php', { name_input: new_name_var} );
			
			//show 'updated' div with a nice fade in.
			$('#update_name_div').fadeIn('slow');
			
			//reset the input field to empty
			$('input[name="new_name"]').val('');
		}
	}); 
});
&lt;/script&gt;</code></pre>
<p>Basically the script first checks to see if the field is empty.  If it is the user will be alerted, otherwise it will collect the value of the input field and send it over to handler.php for handling.  Once the process is complete a div will fade in at the top of the screen letting the user know their data was submitted.  All this without ever leaving the page.  </p>
<h2>The Handler</h2>
<p>Next we need a handler page which will take the data from this form and add it to the database (or do whatever else you want).  Here&#8217;s the handler.php:</p>
<h3>handler.php</h3>
<pre><code>&lt;?php
$new_name = $_GET[name_input];
echo $new_name;
?&gt;</code></pre>
<p>You can have the handler do whatever you want; insert information into the database, email information to yourself, or in this case just echo out the inputted information.</p>
<p>Again, this is a very simple implementation that works.  Feel free to post any questions or suggestions to make it better.  Blizam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/simple-form-submit-with-ajax-via-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Simple Auto Delay Popup Plugin</title>
		<link>http://www.grimmdude.com/wordpress-simple-auto-delay-popup-plugin/</link>
		<comments>http://www.grimmdude.com/wordpress-simple-auto-delay-popup-plugin/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 18:23:56 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1685</guid>
		<description><![CDATA[Simple Auto Delay Popup is a lightweight WordPress plugin for easily creating modal popup windows that automatically display after a certain amount of time, defined by you. Popup content can<a href="http://www.grimmdude.com/wordpress-simple-auto-delay-popup-plugin/">&#160; read more...</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1753" title="Wordpress Plugin Icon" src="http://www.grimmdude.com/wp-content/uploads/2011/07/wordpress_plugin_icon.png" alt="Wordpress Plugin Icon" width="57" height="45" />Simple Auto Delay Popup is a lightweight WordPress plugin for easily creating modal popup windows that automatically display after a certain amount of time, defined by you.</p>
<p>Popup content can be the content of a page on your site or any other url.</p>
<p>Usage is very straight forward and it&#8217;s very scalable.</p>
<h2>Increase Sales!</h2>
<p>Think of the possibilities!  The attention demanded by these popups can help your site be more successful in converting visitors into clients and patrons.  Some ideas of what to popup:</p>
<ul>
<li>New product info</li>
<li>Hot limited time offers</li>
<li>Surveys</li>
<li>Contact forms.</li>
<li>Important information</li>
</ul>
<h2>How to Use</h2>
<p>Using this plugin is as simple as adding this shortcode anywhere within  a post or page.<br />
<img src="http://www.grimmdude.com/wp-content/uploads/2011/07/auto_delay_shortcode_simple.png" alt="Auto Delay Popup Shortcode Simple" title="Auto Delay Popup Shortcode Simple" width="245" height="39" class="alignnone size-full wp-image-1897" /><br />
This will create a popup, 400px high &#038; 600px wide, which will popup three seconds after the page has loaded.  The contents of the popup will be the content of the page with the ID you specified (the &#8217;3&#8242; above is just for the example).  If you&#8217;re not sure how to find a page&#8217;s ID see below.</p>
<h3>Displaying Page Content</h3>
<ol>
<li>Create and publish a new page, this will be the content of the popup.  Take note of this new page&#8217;s Id (see below if you&#8217;re not sure how to find this).</li>
<li>On the post or page where you want the popup to appear add the shortcode and specify the ID of the page you just created.</li>
</ol>
<h3>How to Find the Page ID</h3>
<p>View the list of all your site&#8217;s pages at Pages &gt; All Pages.  Hover over the page you want to use and check the url at the bottom of the page.  The ID of the page is the number following &#8216;post=&#8217;.</p>
<p><img class="alignnone size-full wp-image-1714" title="How to find the ID of a post or page." src="http://www.grimmdude.com/wp-content/uploads/2011/07/how_to_find_post_id_wordpress.jpg" alt="How to find the ID of a post or page." width="600" height="404" /></p>
<h2>Further Customization</h2>
<p>If the default dimensions, delay time, or content setting isn&#8217;t doing it for you they are completely customizable.  Here are all the available attributes you can use:</p>
<ul>
<li><span style="font-size: 15px;">id</span> = the ID of the page that you want displayed in the popup.</li>
<li><span style="font-size: 15px;">url</span> = (optional, use instead of ID) &#8211; the url of the website you want displayed in the popup. *use either id or url</li>
<li><span style="font-size: 15px;">delay</span> = (optional, defaults to 3 sec) &#8211; amount of time in seconds the popup will delay before it opens.</li>
<li><span style="font-size: 15px;">height</span> = (optional, defaults to 400px) &#8211; height of the popup in pixels.</li>
<li><span style="font-size: 15px;">width</span> = (optional, defaults to 600px) &#8211; width of the popup in pixels.</li>
<li><span style="font-size: 15px;">frequency</span> = (optional) &#8211; a number representing how often the popup will appear in days.  ie: 1: appears once per day, 2: appears once every two days, etc&#8230;</li>
</ul>
<p>*Note use id or url depending on if you&#8217;re displaying a page or a url.  If you use both together the url will take priority.</p>
<h3>Displaying a Specific URL</h3>
<p>Simply use url=&#8221; instead of id=&#8221; in the shortcode, like so:</p>
<p><img src="http://www.grimmdude.com/wp-content/uploads/2011/07/auto_popup_simple_url.png" alt="Auto Popup Simple URL Shortcode" title="Auto Popup Simple URL Shortcode" width="552" height="42" class="alignnone size-full wp-image-1905" /></p>
<p>Of course, you would replace &#8216;http://www.google.com&#8217; with the url of your choosing.</p>
<p>Purchasing the plugin includes simple support and any future updates.  You will be directed to the download page after purchase.</p>
<p style="font-size: 18px;"><span style="color: #000000;">Only $9.99</span></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="hidden" name="hosted_button_id" value="FPTXKJGZEXVCQ"/>
<input type="image" style="border:none;height:47px;width:147px;" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"/><br />
</form>
<h2>Changelog</h2>
<p>7/20/11 &#8211; First release!<br />
11/27/11 &#8211; Some code cleanup and added &#8216;frequency&#8217; feature.</p>

			<script type='text/javascript'>
				

				jQuery(function() {
	    			setTimeout("tb_show('', 'http://www.grimmdude.com/wp-content/plugins/simple_auto_delay_popup/auto_delay_popup_content.php?pageid=1755&amp;TB_iframe=true&amp;height=300&amp;width=600')",3000);
					// Fix for new Wordpress tb visibility problem...
					setTimeout("jQuery('#TB_window').css('display','block')", 3000);
				});
			</script>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/wordpress-simple-auto-delay-popup-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Great Bowls of Fire Plays Jimi Hendrix&#8217;s Little Wing &#8211; Video</title>
		<link>http://www.grimmdude.com/great-bowls-of-fire-plays-jimi-hendrixs-little-wing-video/</link>
		<comments>http://www.grimmdude.com/great-bowls-of-fire-plays-jimi-hendrixs-little-wing-video/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 15:19:14 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[cover]]></category>
		<category><![CDATA[drums]]></category>
		<category><![CDATA[guitar]]></category>
		<category><![CDATA[jimi hendrix]]></category>
		<category><![CDATA[kimos]]></category>
		<category><![CDATA[little wing]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1658</guid>
		<description><![CDATA[Trouser replacement may be an order.]]></description>
			<content:encoded><![CDATA[<p>Trouser replacement may be an order.<br />
<iframe width="560" height="349" src="http://www.youtube.com/embed/vrIehgLjOgk" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/great-bowls-of-fire-plays-jimi-hendrixs-little-wing-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SuperSeedz</title>
		<link>http://www.grimmdude.com/superseedz/</link>
		<comments>http://www.grimmdude.com/superseedz/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 16:44:23 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[The Z Makes it Better!]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1651</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.grimmdude.com/wp-content/uploads/2011/06/IMG_0336.jpg" rel="lightbox[1651]"><img class="aligncenter size-large wp-image-1653" title="SuperSeedz" src="http://www.grimmdude.com/wp-content/uploads/2011/06/IMG_0336-764x1024.jpg" alt="" width="458" height="614" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/superseedz/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Music in Interesting Places &#8211; NYC Subway</title>
		<link>http://www.grimmdude.com/music-in-interesting-places-nyc-subway/</link>
		<comments>http://www.grimmdude.com/music-in-interesting-places-nyc-subway/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 12:38:44 +0000</pubDate>
		<dc:creator>Garrett</dc:creator>
				<category><![CDATA[Finds]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[nyc]]></category>
		<category><![CDATA[subway]]></category>
		<category><![CDATA[treble clef]]></category>

		<guid isPermaLink="false">http://www.grimmdude.com/?p=1643</guid>
		<description><![CDATA[&#160;]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1644" title="Treble Clef in NY Subway" src="http://www.grimmdude.com/wp-content/uploads/2011/06/SAM_0263.jpg" alt="" width="573" height="430" /></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grimmdude.com/music-in-interesting-places-nyc-subway/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

