<?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>Dashifen.com &#187; Other Stuff</title>
	<atom:link href="http://dashifen.com/category/other_stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://dashifen.com</link>
	<description>The online musings of an unrepentant geek.</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:22:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Posterous Testing</title>
		<link>http://dashifen.com/posterous-testing/</link>
		<comments>http://dashifen.com/posterous-testing/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 02:58:22 +0000</pubDate>
		<dc:creator>David Dashifen Kees</dc:creator>
				<category><![CDATA[Other Stuff]]></category>

		<guid isPermaLink="false">http://dashifen.com/posterous-testing</guid>
		<description><![CDATA[Still putting together some of the interesting social networking features that I&#39;ve heard about recently.  For example, this post started as an email, got converted by posterous.com into a post there, and then (if everything worked out) turned into a blog post at dashifen.com, a message on facebook, and a tweet.  It&#39;s that last one [...]]]></description>
			<content:encoded><![CDATA[<p>Still putting together some of the interesting social networking features that I&#39;ve heard about recently.  For example, this post started as an email, got converted by <a href="http://posterous.com">posterous.com</a> into a post there, and then (if everything worked out) turned into a blog post at <a href="http://dashifen.com">dashifen.com</a>, a message on facebook, and a tweet.  It&#39;s that last one that I&#39;m not sure of, considering the length of the message.
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://dashifen.posterous.com/posterous-testing-10">dashifen&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://dashifen.com/posterous-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Block Test #1</title>
		<link>http://dashifen.com/code-block-test-1/</link>
		<comments>http://dashifen.com/code-block-test-1/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 22:50:09 +0000</pubDate>
		<dc:creator>David Dashifen Kees</dc:creator>
				<category><![CDATA[Other Stuff]]></category>

		<guid isPermaLink="false">http://dashifen.com/?p=21</guid>
		<description><![CDATA[So, I&#8217;m a programmer.  It&#8217;s pretty much impossible that this blog won&#8217;t one day include information about the programming that I&#8217;m doing.  Thus, I though it&#8217;d be nice to try and make sure that I can put nicely structured and pretty code-blocks in my posts.  Here&#8217;s my first attempt at doing so: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180var Dashbox = [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m a programmer.  It&#8217;s pretty much impossible that this blog won&#8217;t one day include information about the programming that I&#8217;m doing.  Thus, I though it&#8217;d be nice to try and make sure that I can put nicely structured and pretty code-blocks in my posts.  Here&#8217;s my first attempt at doing so:</p>
<p><span id="more-21"></span></p>
<div class="codecolorer-container javascript vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:300px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br />125<br />126<br />127<br />128<br />129<br />130<br />131<br />132<br />133<br />134<br />135<br />136<br />137<br />138<br />139<br />140<br />141<br />142<br />143<br />144<br />145<br />146<br />147<br />148<br />149<br />150<br />151<br />152<br />153<br />154<br />155<br />156<br />157<br />158<br />159<br />160<br />161<br />162<br />163<br />164<br />165<br />166<br />167<br />168<br />169<br />170<br />171<br />172<br />173<br />174<br />175<br />176<br />177<br />178<br />179<br />180<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> Dashbox <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">Class</span>.<span style="color: #660066;">create</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #009966; font-style: italic;">/**************************************************************** PROPERTIES */</span><br />
<br />
overlay_id<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;screen_overlay_for_dialog&quot;</span><span style="color: #339933;">,</span>&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// id given to the overlay elements</span><br />
dialog_class<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;dashbox&quot;</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// the class added to all of the dialogs</span><br />
dialog_id<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// will be set when dialog is created</span><br />
removeDiv<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// if true, the dialog div is removed from the body when it's closed</span><br />
json<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// sent to server in this.activate()</span><br />
href<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// url of server page to fetch in activate()</span><br />
<br />
<span style="color: #009966; font-style: italic;">/**************************************************************** DEFAULT STYLES */</span><br />
<br />
<span style="color: #006600; font-style: italic;">// the following styles are applied to the overlay and dialog objects in initiatlize below. &nbsp;we make them properties</span><br />
<span style="color: #006600; font-style: italic;">// of the class so that they can be altered by the user of this class as necessary.</span><br />
<br />
overlay_style<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;background: #FFF; filter: alpha(opacity=50); left: 0; opacity: .50; position: absolute; top: 0; width: 100%; z-index: 5000&quot;</span><span style="color: #339933;">,</span><br />
dialog_style<span style="color: #339933;">:</span> &nbsp;<span style="color: #3366CC;">&quot;background: #252525; border: 1px solid #FFF; color: #FFF; margin-left: -250px; padding: 10px; width: 500px; z-index: 9999&quot;</span><span style="color: #339933;">,</span><br />
<br />
<span style="color: #009966; font-style: italic;">/**************************************************************** METHODS */</span><br />
<br />
<span style="color: #006600; font-style: italic;">// this function is called when the class is constructed. &nbsp;the first parameter is required; it's the href of the</span><br />
<span style="color: #006600; font-style: italic;">// page we're going to load via ajax within the dialog. &nbsp;the latter two parameters are optional: the first replace</span><br />
<span style="color: #006600; font-style: italic;">// the default this.responders object and the second is for custom CSS rules for this specific dialog allowing</span><br />
<span style="color: #006600; font-style: italic;">// different dialogs to have different styles.</span><br />
<br />
initialize<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>href<span style="color: #339933;">,</span> custom_responders<span style="color: #339933;">,</span> custom_dialog_options<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> body &nbsp;<span style="color: #339933;">=</span> $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">href</span> <span style="color: #339933;">=</span> href<span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// the first dashbox that's added to a page will also trigger the creation of the overlay div. &nbsp;subsequent</span><br />
<span style="color: #006600; font-style: italic;">// dashboxes will not recreate this div because of the if-statement.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> body.<span style="color: #660066;">insert</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Element<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #009900;">&#123;</span> id<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_id</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_style</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">var</span> dialog <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Element<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_style</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>custom_dialog_options<span style="color: #009900;">&#41;</span> dialog.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span>custom_dialog_options<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// all dashbox dialogs must have the following three styles (and the margin-left style that we work on below)</span><br />
<span style="color: #006600; font-style: italic;">// so we'll override them if they've been set otherwise.</span><br />
<br />
dialog.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;position: absolute; left: 50%;&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClassName</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span> <span style="color: #339933;">=</span> dialog.<span style="color: #660066;">identify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// creates an id for this dialog and saves it in the property</span><br />
body.<span style="color: #660066;">insert</span><span style="color: #009900;">&#40;</span>dialog.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// hide and add the dialog to the bottom of the body</span><br />
<br />
<span style="color: #006600; font-style: italic;">// last thing to do with respect to this dialog's styles is to make sure that the left margin of the</span><br />
<span style="color: #006600; font-style: italic;">// dialog is exactly equal to negative one half the width of the dialog. &nbsp;otherwise, the dialog isn't</span><br />
<span style="color: #006600; font-style: italic;">// centered in the middle of the screen.</span><br />
<br />
dialog.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;margin-left: &quot;</span> <span style="color: #339933;">+</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>dialog.<span style="color: #660066;">getWidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color: #339933;">-</span>.5<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// the optional custom responders parameter can contain up to five functions that will be called during</span><br />
<span style="color: #006600; font-style: italic;">// the lifecycle of this dialog below. &nbsp;those functions must be named beforeLoad, beforeOpen, afterOpen,</span><br />
<span style="color: #006600; font-style: italic;">// beforeClose, and afterClose. &nbsp;the final three are the most commonly used. &nbsp;here, we'll copy the custom</span><br />
<span style="color: #006600; font-style: italic;">// responders into this class. &nbsp;we do this within initialize so that sub-classes of Dashbox can have</span><br />
<span style="color: #006600; font-style: italic;">// their own responders separate from their parentclass (this one) and any other Dashboxes within</span><br />
<span style="color: #006600; font-style: italic;">// the DOM</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>custom_responders<span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>responder <span style="color: #000066; font-weight: bold;">in</span> custom_responders<span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#91;</span>responder<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> custom_responders<span style="color: #009900;">&#91;</span>responder<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
activate<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> event.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">setOverlayDimensions</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; <span style="color: #006600; font-style: italic;">// sets overlay dimensions based on page and adjusts for scrolling</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeLoad</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeLoad</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// calls the beforeLoad handler with this object as the scope</span><br />
<br />
<span style="color: #006600; font-style: italic;">// notice that we send this.json to the server as the parameters for the Updater. &nbsp;this property defaults to</span><br />
<span style="color: #006600; font-style: italic;">// null above but if it's necessary, it can be set otherwise either by hand when creating the dashbox or</span><br />
<span style="color: #006600; font-style: italic;">// during the beforeLoad handler called above.</span><br />
<br />
<span style="color: #003366; font-weight: bold;">new</span> Ajax.<span style="color: #660066;">Updater</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">href</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><br />
parameters<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">json</span><span style="color: #339933;">,</span> evalScripts<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> onComplete<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">show_dialog</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
show_dialog<span style="color: #339933;">:</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><br />
<span style="color: #006600; font-style: italic;">// unlike the other event handlers beforeOpen can return a boolean false value indicating that, for</span><br />
<span style="color: #006600; font-style: italic;">// some reason, that it is not &quot;safe&quot; to show the dialog. &nbsp;we rely on the short curcuiting of the</span><br />
<span style="color: #006600; font-style: italic;">// AND conditional should beforeOpen be null.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeOpen</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeOpen</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">===</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// some versions IE have problems with opacity over select boxes. &nbsp;thus, we'll simply hide them all</span><br />
<span style="color: #006600; font-style: italic;">// here if we're using IE prior to showing the overlay and the dialog. &nbsp;we set their visibility style</span><br />
<span style="color: #006600; font-style: italic;">// to hidden to avoid the dom element repositioning that would happen if we used hide() instead.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Prototype.<span style="color: #660066;">Browser</span>.<span style="color: #660066;">IE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;select&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;setStyle&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;visibility: hidden&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// hide them all</span><br />
$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.dashbox select&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;setStyle&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;visibility: visible&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// show any in a dialog</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// flash and other embedded objects will likely have a z-index that's forced to be as high as possible</span><br />
<span style="color: #006600; font-style: italic;">// especially in Firefox. &nbsp;thus, we'll hide them here.</span><br />
<br />
$w<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;embed object&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tag<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> $$<span style="color: #009900;">&#40;</span>tag<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;hide&quot;</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><br />
<br />
<span style="color: #006600; font-style: italic;">// now to actual show the dialog. &nbsp;we set the dialog div's display to block and move it onto the</span><br />
<span style="color: #006600; font-style: italic;">// screen such that it is centered using the this.calculate_dialog_top() function.</span><br />
<br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;top: &quot;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">calculate_dialog_top</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// now that we've shown the dialog, we'll call the afterOpen handler. &nbsp;the default action of this</span><br />
<span style="color: #006600; font-style: italic;">// handler (above) is to find elements with dialog attributes equal to deactivate and make them</span><br />
<span style="color: #006600; font-style: italic;">// close the dialog.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">afterOpen</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">afterOpen</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
close_dialog<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>event <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> event.<span style="color: #000066;">stop</span><span style="color: #009900;">&#41;</span> event.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// before we actually close the dialog, we want to call the beforeClose handler. &nbsp;this handler allows us to</span><br />
<span style="color: #006600; font-style: italic;">// make sure that all the work that the visitor needed to do within the dialog has actually been done and</span><br />
<span style="color: #006600; font-style: italic;">// if the handler returns boolean false, we'll actually avoid closing the dialog. &nbsp;this gives the dialog a</span><br />
<span style="color: #006600; font-style: italic;">// chance to verify that form values are in the correct format, for example.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeClose</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">beforeClose</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span><span style="color: #339933;">===</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// if we didn't return from this function (thus not closing the dialog) we can now close it. &nbsp;since we hid</span><br />
<span style="color: #006600; font-style: italic;">// select elements in IE, we'll want to re-show them here. &nbsp;also, our embed and object elements need to be</span><br />
<span style="color: #006600; font-style: italic;">// re-shown as well. then, since dialogs could potentially have dialogs added to them, we'll close any div</span><br />
<span style="color: #006600; font-style: italic;">// elements within this dialog which have the appropriate dialog class as defined above. &nbsp;finally, we'll</span><br />
<span style="color: #006600; font-style: italic;">// close this dialog by hiding it.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Prototype.<span style="color: #660066;">Browser</span>.<span style="color: #660066;">IE</span><span style="color: #009900;">&#41;</span> $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;select&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;setStyle&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;visibility: visible&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
$w<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;embed object&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tag<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> $$<span style="color: #009900;">&#40;</span>tag<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;show&quot;</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><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">select</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div.&quot;</span><span style="color: #339933;">+</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_class</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;hide&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// to hide the overlay, we first need to make sure that all dialogs have been closed. &nbsp;to do this, we get a list of</span><br />
<span style="color: #006600; font-style: italic;">// all divs with the appropriate class as defined in the document and then get a list of booleans for their visiblity.</span><br />
<span style="color: #006600; font-style: italic;">// with that list, we can find any boolean true value. &nbsp;if we find such a value, we're done as the not operator at the</span><br />
<span style="color: #006600; font-style: italic;">// front of the if-conditional will stop after the first boolean true. &nbsp;however, if we don't find a boolean true value</span><br />
<span style="color: #006600; font-style: italic;">// then we'll execute the if-block, which hides the overlay.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div.&quot;</span><span style="color: #339933;">+</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_class</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">invoke</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;visible&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>boolean<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> boolean<span style="color: #339933;">===</span><span style="color: #003366; font-weight: bold;">true</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">overlay_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// and the last thing we'll do is simply call the afterClose function to allow the user to clean</span><br />
<span style="color: #006600; font-style: italic;">// up or process information that may have been processed by the dialog.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">afterClose</span> <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">afterClose</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// if you're going to be re-opening the same dialog on the same page over and over again, it makes</span><br />
<span style="color: #006600; font-style: italic;">// sense to alter this.removeDiv from true to false. &nbsp;this will let the div element be persistant</span><br />
<span style="color: #006600; font-style: italic;">// within the page and allows you to re-call the activate() method for the same object more than</span><br />
<span style="color: #006600; font-style: italic;">// once which avoids recreating it over and over again sucking up memory on visitor's machines.</span><br />
<br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">removeDiv</span><span style="color: #009900;">&#41;</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">remove</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// remove the content and the div</span><br />
<span style="color: #000066; font-weight: bold;">else</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">update</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// remove the content without removing the div</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
calculate_dialog_top<span style="color: #339933;">:</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><br />
wHeight <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getWindowHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
dHeight <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">dialog_id</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
diff <span style="color: #339933;">=</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>wHeight <span style="color: #339933;">-</span> dHeight<span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// get the halfway point between the window &amp;amp; dialog heights</span><br />
diff <span style="color: #339933;">+=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getWindowScroll</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// add on the number of pixels we've scrolled from the top</span><br />
<span style="color: #000066; font-weight: bold;">return</span> diff <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #CC0000;">0</span> <span style="color: #339933;">?</span> <span style="color: #CC0000;">0</span> <span style="color: #339933;">:</span> diff<span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// and return zero or that difference to place this dialog</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
<span style="color: #006600; font-style: italic;">// the following two functions directly from control.modal.js by Ryan Johnson available online at</span><br />
<span style="color: #006600; font-style: italic;">// http://livepipe.net/projects/control_modal/. &nbsp;getWindowScroll added using the information within Lightbox Gone</span><br />
<span style="color: #006600; font-style: italic;">// Wild's (http://particletree.com/features/lightbox-gone-wild/) getScroll() function by Chris Campbell.</span><br />
<br />
getWindowWidth<span style="color: #339933;">:</span> &nbsp;<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: #000066; font-weight: bold;">return</span> self.<span style="color: #660066;">innerWidth</span> &nbsp;<span style="color: #339933;">||</span> document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">clientWidth</span> &nbsp;<span style="color: #339933;">||</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">clientWidth</span> &nbsp;<span style="color: #339933;">||</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
getWindowHeight<span style="color: #339933;">:</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: #000066; font-weight: bold;">return</span> self.<span style="color: #660066;">innerHeight</span> <span style="color: #339933;">||</span> document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">clientHeight</span> <span style="color: #339933;">||</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">clientHeight</span> <span style="color: #339933;">||</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
getWindowScroll<span style="color: #339933;">:</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: #000066; font-weight: bold;">return</span> self.<span style="color: #660066;">pageYOffset</span> <span style="color: #339933;">||</span> document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">scrollTop</span> &nbsp; &nbsp;<span style="color: #339933;">||</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">scrollTop</span> &nbsp; &nbsp;<span style="color: #339933;">||</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
<br />
setOverlayDimensions<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>overlay<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #006600; font-style: italic;">// to make sure that our overlay is the full width of the window, we'll extend it here. &nbsp;the only reason it wouldn't</span><br />
<span style="color: #006600; font-style: italic;">// be the width of the window is if the window has been extended due to AJAX or if there is a width specification on</span><br />
<span style="color: #006600; font-style: italic;">// the body tag with a non-static position style.</span><br />
<br />
<span style="color: #003366; font-weight: bold;">var</span> win_width &nbsp;<span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getWindowWidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>overlay.<span style="color: #660066;">getWidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> win_width<span style="color: #009900;">&#41;</span> &nbsp;overlay.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;width: &quot;</span> <span style="color: #339933;">+</span> win_width <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// now to set the height of the overlay we'll either use the window's height or the total scrolling height of the &nbsp; &nbsp; &nbsp; // body, which ever is greater. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var body = $$(&quot;body&quot;)[0]; &nbsp; &nbsp; &nbsp; var doc &nbsp;= body.up(); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var win_height = this.getWindowHeight(); &nbsp; &nbsp;&nbsp; &nbsp; var win_scroll = body.offsetHeight &amp;gt; doc.scrollHeight ? body.offsetHeight : doc.scrollHeight;</span><br />
overlay.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;height: &quot;</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>win_height <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> win_scroll <span style="color: #339933;">?</span> win_height <span style="color: #339933;">:</span> win_scroll<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
document.<span style="color: #660066;">fire</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dashbox:loaded&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://dashifen.com/code-block-test-1/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fifth Post</title>
		<link>http://dashifen.com/fifth-post/</link>
		<comments>http://dashifen.com/fifth-post/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 15:00:42 +0000</pubDate>
		<dc:creator>David Dashifen Kees</dc:creator>
				<category><![CDATA[Other Stuff]]></category>

		<guid isPermaLink="false">http://dashifen.com/?p=16</guid>
		<description><![CDATA[So I&#8217;m thinking of more of a banner for the newest post followed by four archival posts underneath in a 2&#215;2 block.  That means, for testing purposes, I better have at least 5 posts in the database!]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m thinking of more of a banner for the newest post followed by four archival posts underneath in a 2&#215;2 block.  That means, for testing purposes, I better have at least 5 posts in the database!</p>
]]></content:encoded>
			<wfw:commentRss>http://dashifen.com/fifth-post/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fourth Post</title>
		<link>http://dashifen.com/fourth-post/</link>
		<comments>http://dashifen.com/fourth-post/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:18:25 +0000</pubDate>
		<dc:creator>David Dashifen Kees</dc:creator>
				<category><![CDATA[Other Stuff]]></category>

		<guid isPermaLink="false">http://dashifen.com/?p=13</guid>
		<description><![CDATA[So, I&#8217;m back to working on this again since I might be giving a presentation on WordPress in the coming weeks.  Therefore, I figure I might as well get a snappy version of it all ready on my own site in order to show off my mad programming skills.]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m back to working on this again since I might be giving a presentation on WordPress in the coming weeks.  Therefore, I figure I might as well get a snappy version of it all ready on my own site in order to show off my mad programming skills.</p>
]]></content:encoded>
			<wfw:commentRss>http://dashifen.com/fourth-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comming Soon!</title>
		<link>http://dashifen.com/comming-soon/</link>
		<comments>http://dashifen.com/comming-soon/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 21:32:01 +0000</pubDate>
		<dc:creator>David Dashifen Kees</dc:creator>
				<category><![CDATA[Other Stuff]]></category>

		<guid isPermaLink="false">http://dashifen.com/?p=3</guid>
		<description><![CDATA[Hello all.  If you&#8217;ve visited the site before, you know I&#8217;ve had a pretty much useless page for quite some time.  Well, that&#8217;s all about to change.  I&#8217;ve decided to dive into WordPress, not only to save some time in the creation of the site, but also to facilitate blogging and learning more about WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>Hello all.  If you&#8217;ve visited the site before, you know I&#8217;ve had a pretty much useless page for quite some time.  Well, that&#8217;s all about to change.  I&#8217;ve decided to dive into WordPress, not only to save some time in the creation of the site, but also to facilitate blogging and learning more about WordPress theming and writing WordPress plugins.  For the moment, things are going to be a bit messed up, but I&#8217;ll be working on things over the next few days to try and get things back up to snuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://dashifen.com/comming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
