<?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>dropthedigibomb.com &#187; javascript</title>
	<atom:link href="http://dropthedigibomb.com/category/open-source/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://dropthedigibomb.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 17:59:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Bootstrap UI from Twitter</title>
		<link>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/</link>
		<comments>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 14:11:02 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=1585</guid>
		<description><![CDATA[Bootstrap UI from Twitter]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.github.com/bootstrap/">Bootstrap UI from Twitter </a></p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2011/bootstrap-ui-from-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 jQuery UI dialog and media plugins</title>
		<link>http://dropthedigibomb.com/2009/5-jquery-ui-dialog-and-media-plugins/</link>
		<comments>http://dropthedigibomb.com/2009/5-jquery-ui-dialog-and-media-plugins/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:45:08 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Drop It]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=682</guid>
		<description><![CDATA[Almost everybody uses a tool for displaying images, HTML content and media in a Mac-style &#8220;lightbox&#8221; that floats over top of web page. I remember when Thickbox was the tool of choice for almost every developer. It was one of the first jQuery tools I used in WordPress to design a gallery. Since then many [...]]]></description>
			<content:encoded><![CDATA[<p>Almost everybody uses a tool for displaying images, HTML content and media in a Mac-style &#8220;lightbox&#8221; that floats over top of web page. I remember when <a href="http://jquery.com/demo/thickbox/" target="_blank">Thickbox</a> was the tool of choice for almost every developer. It was one of the first jQuery tools I used in WordPress to design a gallery. Since then many other plugins, widgets, and libraries have been popping up. Just recently I came across <a href="http://colorpowered.com/colorbox/" target="_blank">ColorBox</a>, when researching some interesting ways to display iFrames for a project I have been working.</p>
<p>Here is a small list to get you started, they are all built using the <a href="http://jquery.com/" target="_blank">jQuery library</a> and licensed under both <a href="http://docs.jquery.com/Licensing" target="_blank">MIT and GPL licenses</a>.</p>
<p><strong>ColorBox</strong></p>
<p><a href="http://colorpowered.com/colorbox/" target="_blank"><img class="alignnone size-full wp-image-697" title="jq_color" src="http://dropthedigibomb.com/wp-content/uploads/jq_color.jpg" alt="jq_color" width="580" height="200" /></a></p>
<p>The nice thing about ColorBox is that it works on Firefox 2 &amp; 3, Safari 3 &amp; 4, Opera 9, Chrome, Internet Explorer 6, 7, 8. This tool will pretty much load anything you need, it is really easy to modify at CSS level, image level, and the jQuery is pretty standard. One thing I did notice is that id tends to conflict with jquery-latest.js.</p>
<p><strong>FancyBox</strong></p>
<p><a href="http://fancybox.net/" target="_blank"><img class="alignnone size-full wp-image-699" title="jq_fancy" src="http://dropthedigibomb.com/wp-content/uploads/jq_fancy.jpg" alt="jq_fancy" width="580" height="200" /></a></p>
<p>Great tool, updated often, lots of good documentation and examples.</p>
<p><strong>Lightbox2</strong></p>
<p><a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank"><img class="alignnone size-full wp-image-700" title="jq_lightbox" src="http://dropthedigibomb.com/wp-content/uploads/jq_lightbox.jpg" alt="jq_lightbox" width="580" height="200" /></a></p>
<p>Lightbox is slowly becoming a standard and first choice for most developers. It is very user friendly if you are a nOOb to jQuery. Lightbox also has a very reliable<a href="http://stimuli.ca/lightbox/" target="_blank"> WordPress plugin</a>. You can see this plugin in in action on my <a href="http://digibombinc.com/work" target="_blank">portfolio</a>.</p>
<p><strong>Shadowbox.js</strong></p>
<p><a href="http://www.shadowbox-js.com/index.html" target="_blank"><img class="alignnone size-full wp-image-696" title="jq_shadow" src="http://dropthedigibomb.com/wp-content/uploads/jq_shadow.jpg" alt="jq_shadow" width="580" height="200" /></a></p>
<p>Shadowbox is written entirely in JavaScript and CSS and is highly customizable. This package is <strong>not</strong> jQuery (very similar), but very useful and has some nice effects. They offer both free and commercial licenses (30$-50$).</p>
<p><strong>jQuery Dialog</strong></p>
<p><a href="http://jqueryui.com/demos/dialog/" target="_blank"><img class="alignnone size-full wp-image-698" title="jq_dialog" src="http://dropthedigibomb.com/wp-content/uploads/jq_dialog.jpg" alt="jq_dialog" width="580" height="200" /></a></p>
<p>jQuery dialog allows you to display floating windows. You can add scrollbars and drag features and they are easily customizable with minimal code.</p>
<p>If you have created anything unique or different with these tools, or want to recommend other alternatives please feel free to comment on this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/5-jquery-ui-dialog-and-media-plugins/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress Dropdown Categories</title>
		<link>http://dropthedigibomb.com/2009/wordpress-dropdown-categories/</link>
		<comments>http://dropthedigibomb.com/2009/wordpress-dropdown-categories/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 20:34:48 +0000</pubDate>
		<dc:creator>digibomb</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dropthedigibomb.com/?p=509</guid>
		<description><![CDATA[I rarely use dropdown boxes to display data in WordPress. However, recently I needed to add this feature to a project I&#8217;m working on and I though I&#8217;d share. If your like me, whenever you need to do something in WordPress you have not done before the first place you check is the codex. I [...]]]></description>
			<content:encoded><![CDATA[<p>I rarely use dropdown boxes to display data in WordPress. However, recently I needed to add this feature to a project I&#8217;m working on and I though I&#8217;d share.</p>
<p>If your like me, whenever you need to do something in WordPress you have not done before the first place you check is the codex. I found some <a href="http://codex.wordpress.org/Function_Reference/get_categories" target="_blank">basic information</a> on adding drop boxes, but they were all form based.  I was looking for something java oriented (I need java for future design considerations).</p>
<p>I dug deeper online and found a few useful bits of code here and there, and managed to create a Frankenstein dropdown.</p>
<p>Part of the  project I&#8217;m working on is a business directory. We are using categories and sub-categories to organize all the listings. One way to search the directory is by city. We have each city defined as a sub-category to a parent called geographic. This is important, because when I&#8217;m building my dropdown I need to display each child category separately.</p>
<p>Here&#8217;s the code:</p>
<pre><code>&lt;ul&gt;
 &lt;li id="categories"&gt;
 &lt;?php wp_dropdown_categories('title_li=&amp;hierarchical=0&amp;show_count=1&amp;child_of=9'); ?&gt;

&lt;script type="text/javascript"&gt;&lt;!--
 var dropdown = document.getElementById("cat");
 function onCatChange() {
 if ( dropdown.options[dropdown.selectedIndex].value &gt; 0 ) {
 location.href = "&lt;?php echo get_option('home');
?&gt;/?cat="+dropdown.options[dropdown.selectedIndex].value;
 }
 }
 dropdown.onchange = onCatChange;
--&gt;&lt;/script&gt;
&lt;/li&gt;
&lt;/ul&gt;

 &lt;!--&lt;ul&gt;
 &lt;?php wp_list_categories('title_li=&amp;hierarchical=0&amp;show_count=1&amp;child_of=9') ?&gt;
 &lt;/ul&gt;--&gt;</code></pre>
<p>Notice I use the <em>wp_dropdown_categories</em> function and I call my sub category by using the child  argument (child_of=9) the 9 representing the parent category.</p>
<p>This is what it looks like</p>
<p><img class="alignnone size-full wp-image-518" title="wp_dropdown_screen" src="http://dropthedigibomb.com/wp-content/uploads/wp_dropdown_screen.jpg" alt="wp_dropdown_screen" width="321" height="140" /></p>
<p>That&#8217;s it, pretty simple! Hopefully you find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://dropthedigibomb.com/2009/wordpress-dropdown-categories/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

