<?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"
	>

<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>
	<pubDate>Thu, 19 Jun 2008 16:22:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Fading JavaScript Tooltips 2kb</title>
		<link>http://www.leigeber.com/2008/06/javascript-tooltip/</link>
		<comments>http://www.leigeber.com/2008/06/javascript-tooltip/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 14:36:01 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=56</guid>
		<description><![CDATA[This animated JavaScript tooltip script is very easy to use and lightweight at only 2kb.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/06/tooltip.gif" alt="JavaScript Tooltips" width="459" height="175" /></p>
<p>This animated JavaScript tooltip script is very easy to use and lightweight at only 2kb. It is tested working in IE6+, Firefox, Opera and Safari. Jacob Gube of <a href="http://www.sixrevisions.com">Six Revisions</a> has posted the script and a walk-through of the code and the logic. As always, don&#8217;t hesitate to send questions or bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>. I look forward to upcoming guest posts by Jacob on this blog as well.</p>
<p><a href="http://sixrevisions.com/tutorials/javascript_tutorial/create_lightweight_javascript_tooltip/">Click here to visit the post at Six Revisions.</a></p>
<p><a href="http://sandbox.leigeber.com/tooltip">Click here for the demo.</a></p>
<p><a href="http://sandbox.leigeber.com/tooltip/tooltip.zip">Click here to download the script.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/06/javascript-tooltip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sliding JavaScript Menu Highlight 1kb</title>
		<link>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/</link>
		<comments>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 04:06:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[menu]]></category>

		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=54</guid>
		<description><![CDATA[This sliding hover effect script is an easy method to add some flavor to your navigation.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://sandbox.leigeber.com/menueffect/index.html" width="459" height="35" scrolling="no" frameborder="0" name="menu_effect"></iframe></p>
<p><iframe src="http://sandbox.leigeber.com/menueffect/index2.html" width="459" height="35" scrolling="no" frameborder="0" name="menu_effect_2"></iframe></p>
<p>This sliding hover effect script is an easy method to add some flavor to your navigation. Using the CSS you can easily customize the navigation to fit your &#8220;look and feel&#8221;. The markup for the script is very simple as below&#8230;</p>
<p><code>&lt;div class="menu"><br />
    &lt;ul id="menu"><br />
        &lt;li>&lt;a href="#">JavaScript&lt;/a>&lt;/li><br />
        &lt;li>&lt;a href="#">Graphic Design&lt;/a>&lt;/li><br />
        &lt;li>&lt;a href="#">HTML&lt;/a>&lt;/li><br />
        &lt;li value="1">&lt;a href="#">User Interface&lt;/a>&lt;/li><br />
        &lt;li>&lt;a href="#">CSS&lt;/a>&lt;/li><br />
    &lt;/ul><br />
    &lt;div id="slide">&lt;/div><br />
&lt;/div></code></p>
<p>In the above code the default menu selection is identified by the value=&#8221;1&#8243; attribute on the appropriate list item. To initialize the script simply call the function as below&#8230;</p>
<p><code>menuSlider.init('menu','slide')</code></p>
<p>The first variable is the id of the unordered list and the second is the id of the slider div. This script has been tested in IE6, IE7, FireFox, Opera and Safari. Please send any bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>. This code is free to use for any personal or commercial projects.</p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/menueffect.zip'>Click here to download the script.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Horizontal JavaScript Accordion 1kb</title>
		<link>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/</link>
		<comments>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/#comments</comments>
		<pubDate>Mon, 26 May 2008 01:05:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[accordion]]></category>

		<category><![CDATA[menu]]></category>

		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=52</guid>
		<description><![CDATA[This versatile 1kb horizontal JavaScript accordion script can be used for menus, images, presentation content and more.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://sandbox.leigeber.com/slidemenu/slidemenu.html" width="459" height="100" scrolling="no" frameborder="0" name="slide_menu"></iframe></p>
<p><iframe src="http://sandbox.leigeber.com/slidemenu2/slidemenu.html" width="459" height="100" scrolling="no" frameborder="0" name="slide_menu_2"></iframe></p>
<p>This versatile 1kb horizontal accordion script can be used for menus, images, presentation content and more.  I had seen a similar looking feature on the <a href="http://www.mootools.net">mootools</a> homepage and set out the replicate the functionality as a standalone script and as lightweight as possible. The script will automatically adjust to the number of elements in the accordion and the dimensions of the accordion.</p>
<p>The front-end markup for the script is a simple unordered list as in the example below&#8230;</p>
<p><code>&lt;ul id="sm" class="sm"><br />
	&lt;li>&lt;img src="images/1.gif" alt="" />&lt;/li><br />
	&lt;li>&lt;img src="images/2.gif" alt="" />&lt;/li><br />
	&lt;li>&lt;img src="images/3.gif" alt="" />&lt;/li><br />
	&lt;li>&lt;img src="images/4.gif" alt="" />&lt;/li><br />
&lt;/ul></code></p>
<p>To build the accordion call the function below onload&#8230;</p>
<p><code>slideMenu.build('sm',200,10,10,1)</code></p>
<p>The first parameter is the id of the unordered list you would like to bind the accordion to. The second is the width you would like the accordion selection to expand to. The third is the timeout variable to control how quickly the sliding function is called. The fourth is the speed of the accordion with 1 being the fastest. The last is optional and is the integer that corresponds to the section you would like to be expanded when the accordion is loaded.</p>
<p>This script has been tested working in IE6, IE7, Firefox, Opera, and Safari. Please send any bug reports or questions to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>. Feel free to use the script for any personal or commercial projects.</p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/slidemenu.zip'>Click here to download the original script.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/slidemenu2.zip'>Click here to download the script that collapses onmouseout.</a></strong></p>
<p><strong>Update 5/26/2008</strong> - Removed a line of unnecessary code and resolved an issue with IE6.<br />
<strong>Update 5/26/2008</strong> - Tweaked width parsing code, thanks to realazy for the suggestion.<br />
<strong>Update 6/05/2008</strong> - Added download for version that reverts back the the uniform collapsed positions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/horizontal-javascript-accordion-menu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vertical Flyout JavaScript Menu</title>
		<link>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/</link>
		<comments>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/#comments</comments>
		<pubDate>Sat, 17 May 2008 06:06:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[menu]]></category>

		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=49</guid>
		<description><![CDATA[This animated JavaScript flyout menu is clean and lightweight at only 1.6kb.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/05/flyout.jpg" alt="Flyout Menu" width="459" height="200" /></p>
<p>This animated JavaScript flyout menu is clean and lightweight at only 1.6kb. The script is based on the <strong><a href="http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/">post a few weeks ago</a></strong> of a horizontal dropdown menu. The markup is the same so visit the horizontal menu post for details.</p>
<p>This script has been tested in IE6/IE7, FF, Opera and Safari. Feel free to use it in any personal or commercial projects. Send any bug reports to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>.</p>
<p><strong><a href="http://sandbox.leigeber.com/flyout/flyout.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/flyout.zip'>Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/vertical-flyout-javascript-menu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Simple Wordpress Theme</title>
		<link>http://www.leigeber.com/2008/05/free-simple-wordpress-theme/</link>
		<comments>http://www.leigeber.com/2008/05/free-simple-wordpress-theme/#comments</comments>
		<pubDate>Fri, 16 May 2008 02:14:53 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=46</guid>
		<description><![CDATA[This free WordPress theme is simple, clean and coded with valid XHTML and CSS.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/05/wptheme.jpg" alt="wptheme" width="459" height="210" /></p>
<p>I have stripped down the previous WordPress theme for Leigeber.com and uploaded it for download if anyone is interested. It is very simple, clean and coded with valid XHTML and CSS. Hopefully this can be a good starting point for anyone looking to create their own template. This is tested working in IE6/IE7, Firefox, Opera and Safari. If you have any problems or questions shoot me an email at <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>.</p>
<p><strong><a href="http://beta.leigeber.com/" target="_blank" rel="nofollow">Click here for the demo.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/wordpress.zip'>Click here to download the theme.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/free-simple-wordpress-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamic Image Gallery and Slideshow</title>
		<link>http://www.leigeber.com/2008/05/ajax-image-gallery-slideshow/</link>
		<comments>http://www.leigeber.com/2008/05/ajax-image-gallery-slideshow/#comments</comments>
		<pubDate>Thu, 15 May 2008 18:11:05 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[gallery]]></category>

		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=43</guid>
		<description><![CDATA[This lightweight Ajax image gallery and slideshow script clocks in under 3kb packed with a number of cool features.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leigeber.com/wp-content/uploads/2008/05/slideshow.jpg" width="459" height="250" alt="Ajax Image Gallery"  /></p>
<p>This extremely lightweight JavaScript image gallery and slideshow script clocks in under 3kb packed and includes a number of cool features. Recently I was looking for a nice existing script for a client project. I wanted something elegant, simple and lightweight. What I found were a number of scripts built on JavaScript frameworks and a few others that really lacked any appealing interface or were over  30kb. I challenged myself to build a full-featured slideshow gallery under 4kb. Hopefully I will be add a few more features to the script soon and make it a little mode user-friendly.</p>
<p>Here is an example of the markup&#8230;</p>
<p><code>&lt;div id="gallery"><br />
  &lt;div id="imagearea"><br />
    &lt;div id="image"><br />
      &lt;a href="javascript:slideShow.nav(-1)" id="previmg">&lt;/a><br />
      &lt;a href="javascript:slideShow.nav(1)" id="nextimg">&lt;/a><br />
    &lt;/div><br />
  &lt;/div><br />
  &lt;div id="thumbwrapper"><br />
    &lt;div id="thumbarea"><br />
      &lt;ul id="thumbs"><br />
        &lt;li value="1">&lt;img src="thumbs/1.jpg" alt="" />&lt;/li><br />
        &lt;li value="2">&lt;img src="thumbs/2.jpg" alt="" />&lt;/li><br />
        &lt;li value="3">&lt;img src="thumbs/3.jpg" alt="" />&lt;/li><br />
        &lt;li value="4">&lt;img src="thumbs/4.jpg" alt="" />&lt;/li><br />
        &lt;li value="5">&lt;img src="thumbs/5.jpg" alt="" />&lt;/li><br />
      &lt;/ul><br />
    &lt;/div><br />
  &lt;/div><br />
&lt;/div></code></p>
<p>The list section is the important element to the gallery. Each li has a value property that is set to the name of the full-size image. The interface is very flexible and can easily be altered in the HTML and CSS.</p>
<p>You will also need to setup the variables below and include the slideshow JavaScript&#8230;</p>
<p><code>&lt;script type="text/javascript"><br />
var imgid = 'image'; // id of image div //<br />
var imgdir = 'fullsize'; // full-size image directory //<br />
var imgext = '.jpg'; // full-size image extension //<br />
var thumbid = 'thumbs'; // id of the thumbnail container //<br />
var auto = true; // automatic rotation toggle //<br />
var autodelay = 5; // seconds before the image rotates //<br />
&lt;/script><br />
&lt;script type="text/javascript" src="packed.js">&lt;/script></code></p>
<p>This script isn&#8217;t completely polished yet but I wanted to go ahead and get it out there for anyone that can put it to use. It is tested working in IE6/IE7, FF, Opera and Safari. Feel free to use it in any personal or commercial projects. Please send any bug reports, questions or suggestions to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>.</p>
<p><strong><a href="http://sandbox.leigeber.com/slideshow/" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href='http://www.leigeber.com/wp-content/uploads/2008/05/slideshow.zip'>Click here to download the source.</a></strong></p>
<p><strong>Update 5/16/2008</strong> - Updated CSS and added outline:none for the next and previous links.<br />
<strong>Update 5/26/2008</strong> - Updated the CSS to resolve an issue with resizing the window in IE6. Thanks to Jon Stoski for reporting.<br />
<strong>Update 5/28/2008</strong> - Pushed script inside global namespace. Fixed a couple IE related bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/ajax-image-gallery-slideshow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Looking for Feedback and Suggestions</title>
		<link>http://www.leigeber.com/2008/05/looking-for-feedback-and-suggestions/</link>
		<comments>http://www.leigeber.com/2008/05/looking-for-feedback-and-suggestions/#comments</comments>
		<pubDate>Wed, 07 May 2008 17:08:51 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=40</guid>
		<description><![CDATA[I would like to get feedback from you on the site so far, where you would like to see it go and what articles/scripts you would like to see posted.]]></description>
			<content:encoded><![CDATA[<p>Leigeber.com has been live for only two and a half weeks but there has been a tremendous response with almost 45,000 visits. I would like to get feedback from you on the site so far, where you would like to see it go and what articles/scripts you would like to see posted. The current layout was put together quickly to get the site up and I have begun work on a much better and permanent design. I have been documenting the new design process and Wordpress integration and will be posting a few articles when it launches. </p>
<p>If you have any suggestions or requests before the new site goes live I would appreciate it. There will be a number of new features and enhancements in the upcoming version. Feel free to email me at <a href="mailto:michael@leigeber.com">michael@leigeber.com</a> or post a response here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/looking-for-feedback-and-suggestions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ultimate JavaScript Slider and Scroller</title>
		<link>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/</link>
		<comments>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/#comments</comments>
		<pubDate>Wed, 07 May 2008 03:34:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[XHTML]]></category>

		<category><![CDATA[scroller]]></category>

		<category><![CDATA[slider]]></category>

		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.leigeber.com/?p=38</guid>
		<description><![CDATA[This versatile JavaScript slider and scroller script makes it easy to scroll text blocks, create slideshows, slide between content blocks, create tickers and more.]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://sandbox.leigeber.com/contentslider/slider2.html" width="459" height="265" scrolling="no" frameborder="0" name="js_fader"></iframe></p>
<p>This versatile and lightweight JavaScript clocks in at less than 3.5kb unpacked. The above example is one of four scenarios I have demonstrated on the <a href="http://sandbox.leigeber.com/contentslider/slider.html" target="_blank">demo page</a>.</p>
<p>To setup a scroll/slide area create a container with the following CSS properties&#8230;</p>
<p><code>position:relative; overflow:hidden; height:XXXpx;</code></p>
<p>Inside the scroll area container create another div that will house your actual content. It needs the positioned absolutely within the previous div. Each sliding or scrolling area on the page needs to have a unique ID for this div.</p>
<p><code>position:absolute;</code></p>
<p>Inside the content div you can need to create a section for each area of content, be it 1 or 50. For each section after the &#8220;prefix-&#8221; numerate the order from 1 onwards. The prefix (ie section, newssection, imgsection, etc) needs to be unique to the current sliding/scrolling container&#8217;s sections.</p>
<p><code>&lt;div id="section-1" class="section">&lt;/div></code></p>
<p>You can call functions to incrementally scroll up or down, scroll to a particular section and initiate autoscroll/cancel the autoscroll. Take a look at the source code for examples. You might also consider dynamically adding some currently static CSS properties such as overflow:hidden and the height to allow for better degradation without JavaScript support.</p>
<p>This script has been tested working in IE6/IE7, Firefox, Opera and Safari. Please report all bugs to <a href="mailto:michael@leigeber.com">michael@leigeber.com</a>. This code is free for both personal and commercial projects.</p>
<p><strong><a href="http://sandbox.leigeber.com/contentslider/slider.html" target="_blank">Click here for the demo.</a></strong></p>
<p><strong><a href="http://www.leigeber.com/wp-content/uploads/2008/05/contentslider.zip">Click here to download the source.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
