<?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>Web Development Blog</title>
	<atom:link href="http://www.leigeber.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leigeber.com</link>
	<description>This web development blog features fresh articles on JavaScript, AJAX, CSS, XHTML, PHP, Photoshop and more.</description>
	<lastBuildDate>Wed, 17 Jun 2009 04:28:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash Charts With JavaScript API &#8211; amCharts</title>
		<link>http://www.leigeber.com/2009/06/flash-charts-amcharts/</link>
		<comments>http://www.leigeber.com/2009/06/flash-charts-amcharts/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:20:44 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=197</guid>
		<description><![CDATA[amCharts if a full-featured Flash based charting library with a powerful JavaScript API.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2009/06/flash-charts.jpg" alt="Flash Charts" width="459" height="200" /></p>
<p>I have been working on a business intelligence application recently and did a lot of research for a Flash based library to build out dynamic charts. There are a number of players in the market, some free and some even open source. I ended up choosing a product called amCharts which seemed very flexible and the pricing was generally lower than the competition. You can download and use the charts for free with the &#8220;chart by amCharts&#8221; text in the top left corner, this comes in handy when evaluating. Being savvy with JavaScript, I liked the fact that there was a powerfully API behind the charts for data and settings manipulation. As such, there is no need for postbacks or tedious AJAX calls.</p>
<p>Another selling point was the ASP.NET control library they offer which made development much quicker. I also chose the developer license to get the full Flash source code for some custom modifications. One last cool feature is the chart builder at <a href="http://extra.amcharts.com/editor/">http://extra.amcharts.com/editor/</a> which makes visualizing the charts and generating the settings file a breeze. Charts like this can really add some &#8220;wow&#8221; factor to an application. They have an active community forum, plenty of documentation, and a helpful staff so check them out.</p>
<p><strong><a href="http://sandbox.leigeber.com/flash-charts/">Click here</a></strong> for a quick demonstration of a dynamic pie chart inside a draggable box which should be ready for release soon. If you are interested in the demo source you can download it <strong><a href="http://sandbox.leigeber.com/flash-charts/chart-demo.zip">here</a></strong>. Check out <strong><a href="http://www.amcharts.com/">their website</a></strong> for more demos and details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2009/06/flash-charts-amcharts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TinyBox JavaScript Popup Box &#8211; 3.5KB</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/</link>
		<comments>http://www.leigeber.com/2009/05/javascript-popup-box/#comments</comments>
		<pubDate>Sun, 24 May 2009 21:53:19 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[modal]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=174</guid>
		<description><![CDATA[TinyBox is a lightweight and standalone JavaScript popup box script. At only 3.5KB it allows for any AJAX or HTML input and can also be used for images and auto hiding alerts.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2009/05/tiny-box.gif" alt="JavaScript Modal Window Script" width="459" height="175" /></p>
<p>TinyBox is a lightweight and standalone modal window script. At only 3.5KB it doesn&#8217;t include any slideshow capabilities built-in but allows for any AJAX or HTML input so the sky is the limit. Future versions will include additional features. It can also be used for images and auto hiding alerts. The popups fade in/out and dynamically size based on the content if enabled. The styling is completely customizable through the simple CSS. I have a couple tutorials and a few scripts I will be posting very soon so check back.</p>
<p>To display a popup box use the following code:</p>
<p><code>TINY.box.show('advanced.html',1,300,150,1,3)</code></p>
<p>There is nothing to initialize, just start using the script. The TINY.box.show function takes 6 parameters: the HTML content for the box or the relative path to the AJAX source, a toggle (true/false or 1/0) if the content is via AJAX, the width of the window (use 0 for auto), the height of the window (use 0 for auto), a toggle (true/false or 1/0) to animate the window, and the time in seconds to wait before auto hiding the popup (optional).</p>
<p>TinyBox has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Please send bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a> with the subject “BUG REPORT”. This script is available free of charge for any project, personal or commercial, under the <a href="http://creativecommons.org/licenses/by/3.0/us/" target="_blank">creative commons license</a> and is offered AS-IS, NO FREE SUPPORT provided. Hopefully I will have the support forum live shortly. <a href="../contact/">Click here</a> to inquire about paid support.</p>
<p><strong><a href="http://sandbox.leigeber.com/tinybox/">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/tinybox/tinybox.zip">Click here to download the source code.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2009/05/javascript-popup-box/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
		<item>
		<title>TinyTable JavaScript Table Sorter &#8211; 2.5KB</title>
		<link>http://www.leigeber.com/2009/03/table-sorter/</link>
		<comments>http://www.leigeber.com/2009/03/table-sorter/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 04:38:15 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[sorter]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=154</guid>
		<description><![CDATA[This table sorter script is easy to use and feature packed at only 2.5KB. Features include column and alternate row highlighting, header class toggling, auto data type recognition, selective column sorting, pagination, link support, and more.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2009/03/tiny-table.gif" alt="Table Sorter" width="459" height="175" /></p>
<p>This updated table sorter script is easy to use and feature packed at only 2.5KB. New features include column highlighting, optional pagination, support for links, and date/link parsing. A few other features are alternate row highlighting, header class toggling, auto data type recognition and selective column sorting. More updates will follow soon.</p>
<p>To initialize a table sorter follow the pattern below:</p>
<p><code>var sorter = new TINY.table.sorter("sorter");<br />
sorter.head = "head"; //header class name<br />
sorter.asc = "asc"; //ascending header class name<br />
sorter.desc = "desc"; //descending header class name<br />
sorter.even = "evenrow"; //even row class name<br />
sorter.odd = "oddrow"; //odd row class name<br />
sorter.evensel = "evenselected"; //selected column even class<br />
sorter.oddsel = "oddselected"; //selected column odd class<br />
sorter.paginate = true (false); //toggle for pagination logic<br />
sorter.pagesize = 15 (20); //toggle for pagination logic<br />
sorter.currentid = "currentpage"; //current page id<br />
sorter.limitid = "pagelimit"; //page limit id<br />
sorter.init("table",1);</code></p>
<p>Before initialization, a new table sorter object must be created. The parameter taken by TINY.table.sorter is the variable name used for the object. The object.init function takes 2 parameters: the id of the table and the initially sorted column index (optional). If you want to exclude a column from sorting add class=”nosort” to the appropriate table header. Table styling is completely customizable via the CSS.</p>
<p>TinyTable has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Please send bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a> with the subject “BUG REPORT”. This script is available free of charge any project, personal or commercial, under the <a href="http://creativecommons.org/licenses/by/3.0/us/" target="_blank">creative commons license</a> and is offered AS-IS, no free support provided. <a href="http://www.leigeber.com/contact/">Click here</a> to inquire about paid support.</p>
<p><strong><a href="http://sandbox.leigeber.com/table-sorter/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/table-sorter/sorter.zip">Click here to download the source code.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2009/03/table-sorter/feed/</wfw:commentRss>
		<slash:comments>121</slash:comments>
		</item>
		<item>
		<title>Accordion Script With Multi-Level Support</title>
		<link>http://www.leigeber.com/2009/03/accordion/</link>
		<comments>http://www.leigeber.com/2009/03/accordion/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 05:37:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[collapsible]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=141</guid>
		<description><![CDATA[This accordion script is powerful and lightweight. It now includes multi-level support, a parameter to determine whether only one panel can be expanded concurrently, and a hide/show all toggle.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2009/03/tiny-accordion.gif" alt="Accordion" width="459" height="175" /></p>
<p>This updated accordion script is powerful and lightweight at only 1.2kb. It now includes multi-level support, the option to allow multiple panels to expand concurrently, and a hide/show all toggle. I have reverted the markup to a div based structure to eliminate any validation issues with the definition tables in the previous version. Check back for more posts and scripts soon.</p>
<p>To initialize an accordion use the following code:</p>
<p><code>var accordion=new TINY.accordion.slider("accordion");<br />
accordion.init("accordion","h3",0,0,"selected");</code></p>
<p>You must create a new accordion object before initialization. The parameter taken by accordion.slider is the variable name used for the object. The object.init function takes 5 parameters: the id of the accordion “ul”, the header element tag, whether the panels should be expandable independently (optional), the index of the initially expanded section (optional) and the class for the active header (optional).</p>
<p>There is no other JavaScript that needs to be added to the HTML. The init function parses the unordered list and adds the appropriate mouse events to the headings as provided. This has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Please send any bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a> with the title “BUG REPORT”. This script is available for any personal or commercial projects. SORRY, NO FREE SUPPORT PROVIDED.</p>
<p>I apologize If I have not responded to emails you may have sent. I get many emails each day and simply do not have time to answer all of them nor can I neglect my paying clients. Please <a href="../contact/">contact me</a> if you are interested in paid support otherwise a support forum will be available very soon for community support.</p>
<p><strong>Update 6/16/2009</strong></p>
<p>The script has been updated with a couple bug fixes, performance tweaks, and feature requests. I also shaved off 0.2KB.</p>
<p>You can now expand a particular section by its index, for example parentAccordion.pr(0,1), with the second parameter being the index of the section. If you don&#8217;t want any section to be expanded by default then use -1 for the initially expanded index in the initialization function, example accordion.init(&#8221;accordion&#8221;,&#8221;h3&#8243;,0,-1,&#8221;selected&#8221;). The script is also no longer tied to a strict doctype. If you are using this along with Flash, be sure to set the wmode property on the SWF object.</p>
<p><strong><a href="http://sandbox.leigeber.com/javascript-accordion/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/javascript-accordion/tinyaccordion.zip">Click here to download the source code.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2009/03/accordion/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
		<item>
		<title>Animated JavaScript Slideshow &#8211; 5KB</title>
		<link>http://www.leigeber.com/2008/12/javascript-slideshow/</link>
		<comments>http://www.leigeber.com/2008/12/javascript-slideshow/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 23:34:13 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=109</guid>
		<description><![CDATA[This JavaScript slideshow is feature packed and under 5KB. Features include smooth animation, title/description/link support, no naming restrictions, graceful degradation, on-demand image loading and active thumbnail status.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/12/javascript-slideshow.jpg" alt="JavaScript Slideshow" width="459" height="200" /></p>
<p>This dynamic JavaScript slideshow is feature packed and under 5KB. It is the long awaited update to my previous script <a href="http://www.leigeber.com/2008/05/ajax-image-gallery-slideshow/">here</a>. A few new features include description support, link support, no naming restrictions, portrait image support, graceful degradation and active thumbnail status. This script was built ground-up and will soon be included at <a href="http://www.scriptiny.com/">scriptiny </a>where all my scripts will be added as they are updated, debugged and incorporated in the new TINY namespace. I will also document the scripts more thoroughly and publish multiple examples. I will continue to publish scripts there and support as I have time via the new community forum. I will try and post more frequently here on a wide range of web development related topics.</p>
<p>Here is an example of the markup to build a slideshow…</p>
<p><code>&lt;ul id="slideshow"&gt;<br />
&lt;li&gt;<br />
&lt;h3&gt;Image One&lt;/h3&gt;<br />
&lt;span&gt;photos/image-one.jpg&lt;/span&gt;<br />
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.&lt;/p&gt;<br />
&lt;a href="#"&gt;&lt;img src="thumbnails/image-one.jpg" alt="Image One" /&gt;&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;h3&gt;Image Two&lt;/h3&gt;<br />
&lt;span&gt;photos/image-two.jpg&lt;/span&gt;<br />
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut urna. Mauris nulla. Donec nec mauris. Proin nulla dolor, bibendum et, dapibus in, euismod ut, felis.&lt;/p&gt;<br />
&lt;img src="thumbnails/image-two.jpg" alt="Image Two" /&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>Each &#8220;li&#8221; above represents an image. The &#8220;h3&#8243; content becomes the title for the image and the &#8220;p&#8221; the description. The &#8220;span&#8221; content is the path to the fullsize image. If you want to link the image wrap an &#8220;a&#8221; tag around the &#8220;img&#8221; tag which is the thumbnail image.</p>
<p>The following are the parameters that can be set on the object&#8230; more complete documentation will follow soon. Default values are displayed as (10) and recommended values as [1-20].</p>
<p><strong>Images</strong></p>
<p>imgSpeed = int; (10)<br />
navOpacity = int; (25)<br />
navHover = int; (70)<br />
letterbox = &#8220;string&#8221;; (#000) required color for letterbox on portrait images<br />
link = &#8220;string&#8221;; class name for link hover state</p>
<p><strong>Auto Slideshow</strong></p>
<p>auto = boolean; (false)<br />
speed = int; (10)</p>
<p><strong>Information Dialog</strong></p>
<p>info = boolean; (true)<br />
infoID = &#8220;string&#8221;; required for information dialog<br />
infoSpeed = int; (10)</p>
<p><strong>Thumbnail Slider</strong></p>
<p>thumbs = &#8220;string&#8221;; id of thumbnail slider, disabled if not set<br />
scrollSpeed = int; [1-20] (5)<br />
thumbOpacity = int; [0-100] (70)<br />
active = &#8220;string&#8221;; required for thumbnail active border<br />
spacing = int; (5) spacing between thumbnails<br />
left = &#8220;string&#8221;; id of left navigation link, required for slider<br />
right = &#8220;string&#8221;; id of right navigation link, required for slider</p>
<p>Here is an example calling the script&#8230;</p>
<p><code>&lt;script type="text/javascript" src="compressed.js"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript"&gt;<br />
$('slideshow').style.display='none';<br />
$('wrapper').style.display='block';<br />
var slideshow=new TINY.slideshow("slideshow");<br />
window.onload=function(){<br />
slideshow.auto=true;<br />
slideshow.speed=5;<br />
slideshow.link="linkhover";<br />
slideshow.info="information";<br />
slideshow.thumbs="slider";<br />
slideshow.left="slideleft";<br />
slideshow.right="slideright";<br />
slideshow.scrollSpeed=4;<br />
slideshow.spacing=5;<br />
slideshow.active="#fff";<br />
slideshow.init("slideshow","image","imgprev","imgnext","imglink");<br />
}<br />
&lt;/script&gt;</code></p>
<p>The init function takes 5 parameters (id of the slideshow content placeholder, the id of the image placeholder, the id of the previous image placeholder, the id of the next image placeholder, the id of the image link placeholder).</p>
<p>This script has been tested in Firefox, Internet Explorer, Opera, Safari and Chrome. Please send any bug reports to michael@leigeber.com with the title “BUG REPORT”. This script is available for any personal or commercial projects under the <a href="http://creativecommons.org/licenses/by/3.0/us/">creative commons license</a> and is offered AS-IS, NO FREE SUPPORT PROVIDED.</p>
<p><strong><a href="http://sandbox.leigeber.com/javascript-slideshow/" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/javascript-slideshow/TinySlideshow.zip">Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/12/javascript-slideshow/feed/</wfw:commentRss>
		<slash:comments>279</slash:comments>
		</item>
		<item>
		<title>JavaScript Dropdown Menu with Multi Levels</title>
		<link>http://www.leigeber.com/2008/11/drop-down-menu/</link>
		<comments>http://www.leigeber.com/2008/11/drop-down-menu/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 06:49:35 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=99</guid>
		<description><![CDATA[This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence and multiple instance support.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/11/multi-level-drop-down-menu.gif" alt="JavaScript Drop Down Menu" width="459" height="200"  /></p>
<p>This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence, easy implementation and multiple instance support.</p>
<p>To initialize a drop down menu use the following code:</p>
<p><code>var menu=new menu.dd("menu");<br />
menu.init("menu","menuhover");</code></p>
<p>You must create a new menu object before initialization. The parameter taken by menu.dd is the variable name used for the object. The object.init function takes 2 parameters: the id of the menu unordered list and the id of the initially sorted column (optional). If you want to exclude a column from sorting then add class=&#8221;nosort&#8221; to the appropriate table header. The styling of the table is totally customizable via CSS.</p>
<p>This script has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Note that submenu animation is currently unavailable in FF2 and Opera but do does not affect the functionality of the drop down menu. Please send any bug reports to michael@leigeber.com with the title &#8220;BUG REPORT&#8221;. This script is available for any personal or commercial projects and is offered AS-IS, NO FREE SUPPORT PROVIDED.</p>
<p><strong><a href="http://sandbox.leigeber.com/dropdown-menu/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/dropdown-menu/dropdown-menu.zip">Click here to download the source code.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/11/drop-down-menu/feed/</wfw:commentRss>
		<slash:comments>189</slash:comments>
		</item>
		<item>
		<title>JavaScript Table Sorter</title>
		<link>http://www.leigeber.com/2008/11/javascript-table-sorter/</link>
		<comments>http://www.leigeber.com/2008/11/javascript-table-sorter/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 03:59:14 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[sorter]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=87</guid>
		<description><![CDATA[This JavaScript table sorting script is easy to use, fast and lightweight at only 1.7KB. It includes alternate row formatting, header class toggling, auto data type recognition and selective column sorting.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/11/table_sorter.gif" alt="Table Sorter" width="459" height="190" /></p>
<p>A new version of this script is <a href="http://www.leigeber.com/2009/03/table-sorter/"><strong>available here</strong></a>.</p>
<p>This JavaScript table sorting script is easy to use, fast and lightweight at only 1.7KB. It includes alternate row formatting, header class toggling, auto data type recognition and selective column sorting. It will currently sort strings, numbers and currency. More features will follow.</p>
<p>To initialize sorting use the following code:</p>
<p><code>var sorter=new table.sorter("sorter");<br />
sorter.init("sorter",1);</code></p>
<p>You must create a new table sorter object before initialization. The parameter taken by table.sorter is the variable name used for the object. The object.init function takes 2 parameters: the id of the table and the index of the initially sorted column (optional). If you want to exclude a column from sorting then add class=&#8221;nosort&#8221; to the appropriate table header. The styling of the table is totally customizable via CSS.</p>
<p>This script has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Please send any bug reports to michael@leigeber.com with the title &#8220;BUG REPORT&#8221;. This script is available for any personal or commercial projects and is offered AS-IS, no free support provided.</p>
<p><strong><a href="http://sandbox.leigeber.com/sorter/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/sorter/sorter.zip">Click here to download the source code.</a></strong></p>
<p>I would also like to thank my first sponsor, <a href="http://www.webbynode.com" target="_blank">WebbyNode</a>, and encourage you all to sign up for their beta Xen VPS Service by visiting their website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/11/javascript-table-sorter/feed/</wfw:commentRss>
		<slash:comments>67</slash:comments>
		</item>
		<item>
		<title>Animated JavaScript Accordion V2</title>
		<link>http://www.leigeber.com/2008/10/animated-javascript-accordion/</link>
		<comments>http://www.leigeber.com/2008/10/animated-javascript-accordion/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 17:14:23 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[expanding]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[sliding]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=58</guid>
		<description><![CDATA[This animated JavaScript accordion script is lightweight (1.16 KB), fast, supports multiple instances and includes an active header class toggle.]]></description>
			<content:encoded><![CDATA[<p><img title="Animated JavaScript Accordion" src="http://www.leigeber.com/wp-content/uploads/2008/10/accordion.gif" alt="" width="459" height="173" /></p>
<p>A new version of this script is <a href="http://www.leigeber.com/2009/03/accordion/"><strong>available here</strong></a>.</p>
<p>This lightweight (1.16 KB) animated JavaScript accordion is an update to the <a href="http://www.leigeber.com/2008/04/lightweight-javascript-and-css-accordion/">original accordion script</a> posted on April 18th. It is now smaller, faster, supports multiple instances and includes an active header class toggle. The markup is also improved through the use of definition lists and the CSS has been simplified as well.</p>
<p>On a side note, you may have noticed that I have not posted in over 4 months. I have moved from Colorado to North Alabama and am now working for <a href="http://www.summitsti.com/">Summit Technology</a> focusing on SharePoint development. This change has really taken a lot of my time and hopefully now I will be able to post again. I will begin by updating many of my existing scripts.</p>
<p>If I have not responded to an email you have sent I apologize. I will try and get to them all in time. I will now be taking donations (via PayPal at <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=545819" target="_blank">michael@leigeber.com</a>) and accepting a few advertisers to support my time here. Unfortunately, due to the massive amount of email I get, I will not longer be offering any free support via email. Please <a href="http://www.leigeber.com/contact/">contact me</a> if you are interested in paid support.</p>
<p>To initialize an accordion use the following code:</p>
<p><code>var mySlider=new accordion.slider("mySlider");<br />
mySlider.init("slider",0,"open");</code></p>
<p>You must create a new accordion object before initialization. The parameter taken by accordion.slider is the variable name used for the object. The object.init function takes 3 parameters: the id of the &#8220;dl&#8221;, the index of the initially expanded section (optional) and the class for the active header (optional).</p>
<p>There is no other JavaScript that needs to be added to the HTML. The init function parses the definition list and adds the appropriate mouse events to the headings. This has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Please send any bug reports to michael@leigeber.com with the title &#8220;BUG REPORT&#8221;. This script is available for any personal or commercial projects.</p>
<p><strong><a href="http://sandbox.leigeber.com/accordion/index.html">Click here for the demo.</a></strong></p>
<p><strong><a href="http://sandbox.leigeber.com/accordion/accordion.zip">Click here to download the source code.</a></strong></p>
<p><strong>Update 11/24/2008</strong> &#8211; Updated logic to allow hover state when no sections are initially expanded. Consolidated some code to drop the weight by 15%.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/10/animated-javascript-accordion/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>
