<?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 2.0: Web Design, CakePHP, Javascript &#187; JavaScript</title>
	<atom:link href="http://www.webdevelopment2.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopment2.com</link>
	<description>Quick and Dirty Web Development for Web 2.0: CakePHP, Prototype, JQuery, and lots more.</description>
	<lastBuildDate>Sat, 26 Dec 2009 07:11:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Round Corners With jQuery and CSS</title>
		<link>http://www.webdevelopment2.com/rounded-corners-jquery-css/</link>
		<comments>http://www.webdevelopment2.com/rounded-corners-jquery-css/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 12:25:04 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[jquery corners]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/?p=435</guid>
		<description><![CDATA[Rounded Intro
So you&#8217;re all grown up and want Rounded Corners on your site. There&#8217;s just one small problem: the normal rounded corners implementation comes with tons of divs used for styles and you&#8217;ve got your fellow web developers screaming down your neck about web semantics.
So what&#8217;s this funky semantics thing? Basically, we&#8217;re looking for a [...]]]></description>
			<content:encoded><![CDATA[<h3>Rounded Intro</h3>
<p>So you&#8217;re all grown up and want Rounded Corners on your site. There&#8217;s just one small problem: the <a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-borders.shtml">normal rounded corners implementation</a> comes with tons of divs used for styles and you&#8217;ve got your fellow web developers screaming down your neck about <a href="http://en.wikipedia.org/wiki/Semantic_Web">web semantics</a>.</p>
<p>So what&#8217;s this funky semantics thing? Basically, we&#8217;re looking for a separation of styles and data. We want to keep all the styles in the CSS style sheets and all the data in the XHTML files. Now, I&#8217;ve been known to be flexible on this a bit, however it is a great idea with a purpose and in this case, it actually helps us out a ton.</p>
<h3>Ignore Me &#8211; Take The Easy Way Out</h3>
<p>There are two <a href="http://www.JQuery.com"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">jQuery</a> plugins that can do this instantly, aptly named <a href="http://www.atblabs.com/jquery.corners.html">jQuery Corners</a> and <a href="http://methvin.com/jquery/jq-corner.html">jQuery Corner</a>. Yeah, I know totally different, right? They vary slightly in terms of their capabilities (anti-aliasing, background images, etc.). So if you&#8217;re not up to the heavy lifting or your requirements are very light (just basic rounding) these plugins more than fit the bill.</p>
<h3>Classic Rounded Corners</h3>
<p>Now, if you&#8217;re looking for something that regular borders and the plugins above can&#8217;t manage, take a look <a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-round-corners-borders.shtml">classic implementation of rounded corners</a>. We&#8217;re using images to make things look <em>exactly</em> like we want them to.</p>
<p>Essentially, we&#8217;re wrapping (if you think visually, it&#8217;s more layering actually) tons of divs in order to apply different background images. All these divs are needed because you can only apply one background image to an HTML element.</p>
<p>So a basic run down is that we need four (4) divs for the corners (top left, top right, bottom left, bottom right) and four (4) more for the sides (top, bottom, left, right). This allows us to add the four images in appropriate positions. Please note that all these divs gives us the option of having rounded divs that can be freely resized.</p>
<p>As mentioned about, the problem is that these are eight (8) huge divs, which are not very semantic; not to mention they add useless code  to the HTML download.</p>
<p>Some things to note:</p>
<ul>
<li>Side Divs First &#8211; Top, Bottom, Right, and Left divs must be on the outside of the corners. If not the effect may not come out right. I think it has something to do with transparency, but somethings are easier to fix than to diagnose.</li>
<li>Check Transparancy &#8211; Keep in mind that if your images are PNG you might need to apply some of the horrendous IE 6 hacks.</li>
<li>Padding and Margins &#8211; I don&#8217;t think the original article mentioned, however since we are <em>layering</em> divs, they shouldnt&#8217; have any margins. Divs don&#8217;t usually do, but depending on your current styles, you might need to reset.</li>
<li>Perfect Slices &#8211; Doesn&#8217;t really need much explanation, but your images need to be sliced perfectly so that everything lines up right.</li>
</ul>
<h3>Dynamic Divs</h3>
<p>Now, this is where the beauty of jQuery comes in. This is a modification of <a href="http://docs.jquery.com/Tutorials:Rounded_Corners">this tutorial</a>. We&#8217;re going to use javascript to inject these divs where we need them.</p>
<p>This is the markup we are aiming for:</p>
<pre class="brush: xml;">
&lt;div class=&quot;rounded&quot;&gt;
	&lt;div class=&quot;t&quot;&gt;
		&lt;div class=&quot;r&quot;&gt;
			&lt;div class=&quot;b&quot;&gt;
			 	&lt;div class=&quot;l&quot;&gt;
					&lt;div class=&quot;tl&quot;&gt;
						&lt;div class=&quot;tr&quot;&gt;
							&lt;div class=&quot;br&quot;&gt;
								&lt;div class=&quot;bl inner&quot;&gt;
									Stuff in here
									should appear
									perfectly rounded
								&lt;/div&gt;
							&lt;/div&gt;
						&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>I know, messy right? Although the original article mentions wrapping these <em>around</em> your main div, but it works perfectly fine by putting them inside. Also, it enables us to do some fun stuff later on. Since all these guys have no padding, the <em>inner</em> class is needed to apply needed padding for contents. You could just apply these styles to <em>bl</em> however, I don&#8217;t want to have to remember which one of these is the inner one.</p>
<p>Here&#8217;s out basic CSS</p>
<pre class="brush: css;">
.t  {background: url(t.png) 0 0 repeat-x;}
.b  {background: url(b.png) 0 100% repeat-x}
.l  {background: url(l.png) 0 0 repeat-y;}
.r  {background: url(r.png) 100% 0 repeat-y;}
.bl {background: url(bl.png) 0 100% no-repeat;}
.br {background: url(br.png) 100% 100% no-repeat;}
.tl {background: url(tl.png) 0 0 no-repeat;}
.tr {background: url(tr.png) 100% 0 no-repeat;}
</pre>
<p>Notice we&#8217;re repeating the images used for the sides, so slice accordingly.</p>
<p>With jQuery, this is the only HTML that you need:</p>
<pre class="brush: xml;">
&lt;div class=&quot;rounded&quot;&gt;
	Stuff in here
	should appear
	perfectly rounded
&lt;/div&gt;
</pre>
<p>Now, isn&#8217;t that much nicer?</p>
<p>Now, here&#8217;s the magical jQuery code:</p>
<pre class="brush: jscript;">
$(document).ready(function() {
	$(&quot;.rounded&quot;).wrapInner('&lt;div class=&quot;t&quot;&gt;&lt;div class=&quot;r&quot;&gt;&lt;div class=&quot;b&quot;&gt;&lt;div class=&quot;l&quot;&gt;&lt;div class=&quot;tl&quot;&gt;&lt;div class=&quot;tr&quot;&gt;&lt;div class=&quot;br&quot;&gt;&lt;div class=&quot;bl inner&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;');
});
</pre>
<p>Now, I might have made a typo, so you may need to check. The <em>wrapInner( )</em> function does exactly what it says (sort of): it wraps your content with those nested divs, but on the inside.</p>
<p>Um, yeah, that&#8217;s about it. Cool huh?</p>
<h3>Yes, It&#8217;s Extensible</h3>
<p>Now you can use this and apply it to tons of different rounded corners on your site. Simply add the <em>rounded</em> class to the div in question. eg:</p>
<pre class="brush: xml;">
&lt;div class=&quot;widget rounded&quot;&gt;
	New stuff here
&lt;/div&gt;
</pre>
<p>Then you modify your CSS to apply the new images:</p>
<pre class="brush: css;">
.widget .t  {background: url(widget-t.png);}
.widget .b  {background: url(widget-b.png);}
.widget .l  {background: url(widget-l.png);}
.widget .r  {background: url(widget-r.png);}
.widget .bl {background: url(widget-bl.png);}
.widget .br {background: url(widget-br.png);}
.widget .tl {background: url(widget-tl.png);}
.widget .tr {background: url(widget-tr.png);}
</pre>
<p>Now you see why we&#8217;re wrapping inside the div, instead of outside. That way, we can target different images for different divs on the site, without changing any javascript calls. Cool huh?</p>
<p>Now technically, we don&#8217;t need the images on the original divs, however I haven&#8217;t found a clean (shorthand) way of applying background positions and repeats without an image URL.</p>
<p>Hope you enjoyed and hope it works.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/the-lazy-developers-way-to-rounded-corners-in-css-rounded-corner-generators/" rel="bookmark" title="December 19, 2006">The Lazy Developer&#8217;s Way to Rounded Corners in CSS &#8211; Rounded Corner Generators</a></li>

<li><a href="http://www.webdevelopment2.com/create-3-column-css-layouts-web-design-god/" rel="bookmark" title="November 19, 2007">Create 3 Column CSS Layouts Like A CSS God!</a></li>

<li><a href="http://www.webdevelopment2.com/nifty-corners-rounded-corners-without-images/" rel="bookmark" title="November 2, 2006">Nifty Corners: Rounded Corners Without Images</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-widgets/" rel="bookmark" title="May 23, 2007">Wordpress Widgets</a></li>
</ul><!-- Similar Posts took 2.745 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/rounded-corners-jquery-css/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>JQuery, Prototype, and MooTools Benchmark &#8211; SlickSpeed</title>
		<link>http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/</link>
		<comments>http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:50:35 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/</guid>
		<description><![CDATA[Introduction
Before I even start, let me state that I&#8217;m a JQuery fan. Ever since I&#8217;ve started with JavaScript frameworks I&#8217;ve weighed the pros and cons, and trust me there are a lot. You&#8217;ll always find people arguing Prototype, JQuery or MooTools. I went with JQuery because it could do all that I wanted with the [...]]]></description>
			<content:encoded><![CDATA[<h3></h3>
<h3>Introduction</h3>
<p>Before I even start, let me state that I&#8217;m a <a href="http://www.JQuery.com"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">JQuery</a> fan. Ever since I&#8217;ve started with JavaScript frameworks I&#8217;ve weighed the pros and cons, and trust me there are a lot. You&#8217;ll always find people arguing <a href="http://www.prototype.com/"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Prototype</a>, JQuery or <a href="http://www.mootools.net/"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">MooTools</a>. I went with JQuery because it could do all that I wanted with the least amount of bloat. I&#8217;m sorry, Prototype may do a hell of a lot, but I don&#8217;t think that I could make enough use or that 100 KB to justify it. Plus, Prototype can&#8217;t even handle basics on its own without having to piggy back off of script.aculo.us and it&#8217;s effects library.</p>
<h3>Speed</h3>
<p>Now with every new version of a Framework that comes out, this argument comes up again and again. Finally, we have something to put the arguments to rest.</p>
<p><a href="http://mootools.net/slickspeed/" target="_blank"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="304" alt="slickspeed" src="http://www.webdevelopment2.com/wp-content/uploads/slickspeed.png" width="544" border="0" /></a></p>
<p>In my personal testing, I&#8217;ve found that JQuery 1.21 leads the pack, but only in Internet Explorer. In Firefox it comes in dead last. Does this discourage me? Maybe a lil&#8217; bit. Am I going to stop using JQuery and switch to Prototype? I think not.</p>
<h3>What Do You Need?</h3>
<p>It all depends on your uses for said framework. From the looks of it, Mootools looks more like a full fledged programming language. With all the definitions of new objects, etc. If, for some reason I&#8217;m needing to build an application in JavaScript then I&#8217;ll revisit it. But until now, the most JavaScript that I&#8217;ll be doing is so simple effects on elements (shows, hides, slides, class changes, etc) and a couple Ajax requests.</p>
<p>For this I don&#8217;t think I should suffer the 120 KB that Prototype has to offer, even though it&#8217;s blazing fast in Firefox. With that said, even if I hate Internet Explorer, it is still, by far, the most popular browser out there. So I take comfort in the fact that the majority of my audience is getting the speed benefits of JQuery.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/give-15-minutes-jquery-expert/" rel="bookmark" title="September 18, 2007">Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</a></li>

<li><a href="http://www.webdevelopment2.com/5-ways-to-annoy-your-audience/" rel="bookmark" title="December 2, 2006">5 Ways To Annoy Your Audience</a></li>

<li><a href="http://www.webdevelopment2.com/prepackaged-prototype-scriptaculous-ready-download/" rel="bookmark" title="December 29, 2007">Prepackaged Prototype and Script.aculo.us &#8211; Ready For Download</a></li>

<li><a href="http://www.webdevelopment2.com/hate-internet-explorer-60/" rel="bookmark" title="October 21, 2007">I Hate Internet Explorer 6.0 Even More</a></li>

<li><a href="http://www.webdevelopment2.com/php-sucks-boy-am-i-tired-of-hearing-this/" rel="bookmark" title="May 28, 2008">Stop Hating On PHP And Learn To Code Better</a></li>
</ul><!-- Similar Posts took 2.584 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Prepackaged Prototype and Script.aculo.us &#8211; Ready For Download</title>
		<link>http://www.webdevelopment2.com/prepackaged-prototype-scriptaculous-ready-download/</link>
		<comments>http://www.webdevelopment2.com/prepackaged-prototype-scriptaculous-ready-download/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 18:57:45 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/prepackaged-prototype-scriptaculous-ready-download/</guid>
		<description><![CDATA[One thing that I liked about the jQuery website is that they offer a compressed version of the jQuery script on the website ready for immediate download and usage. This is convenient if you don&#8217;t want to go through the few steps it takes to Minify your own javascript code.
Well we now have this same [...]]]></description>
			<content:encoded><![CDATA[<p>One thing that I liked about the <a href="http://www.JQuery.com"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">jQuery</a> website is that they offer a compressed version of the jQuery script on the website ready for immediate download and usage. This is convenient if you don&#8217;t want to go through the few steps it takes to Minify your own javascript code.</p>
<p>Well we now have this same luxury for <a href="http://groups.google.com/group/prototype-core">Prototype and its Script.aculo.us library read for download</a>.</p>
<p>Enjoy folks.
<p>Get <a href="http://www.text-link-ads.com/starter_kit.php?ref=43330">$100 in FREE Links</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/" rel="bookmark" title="January 28, 2008">JQuery, Prototype, and MooTools Benchmark &#8211; SlickSpeed</a></li>

<li><a href="http://www.webdevelopment2.com/comparing-lightbox-scripts/" rel="bookmark" title="December 25, 2007">Comparing Lightbox Scripts</a></li>

<li><a href="http://www.webdevelopment2.com/give-15-minutes-jquery-expert/" rel="bookmark" title="September 18, 2007">Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/making-javascript-rise-baking/" rel="bookmark" title="December 28, 2007">Making Sure Your Javascript Doesn&#8217;t Rise When Baking</a></li>
</ul><!-- Similar Posts took 2.461 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/prepackaged-prototype-scriptaculous-ready-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Sure Your Javascript Doesn&#8217;t Rise When Baking</title>
		<link>http://www.webdevelopment2.com/making-javascript-rise-baking/</link>
		<comments>http://www.webdevelopment2.com/making-javascript-rise-baking/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 18:57:39 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[bakery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/making-javascript-rise-baking/</guid>
		<description><![CDATA[One of the nice things about CakePHP is that it includes ready to use CSS compression. Granted, compressed CSS can be buggy at times, but for the most part it works just fine.
I&#8217;ve always wondered why no one has included something like this for Javascript, since that&#8217;s usually the bigger culprit when we&#8217;re talking about [...]]]></description>
			<content:encoded><![CDATA[<p>One of the nice things about CakePHP is that it includes ready to use CSS compression. Granted, compressed CSS can be buggy at times, but for the most part it works just fine.</p>
<p>I&#8217;ve always wondered why no one has included something like this for Javascript, since that&#8217;s usually the bigger culprit when we&#8217;re talking about document size. I&#8217;ve tried using <a href="http://code.google.com/p/minify/" title="Minify Javascript">Minify</a> in the past. However, it took a lot to get it working right. And I really hate hacking stuff just to work with CakePHP. That, coupled with the fact that I&#8217;m a lazy bastard, meant that I gave up the Minify train rather quickly.</p>
<h3>Mark Story To The Rescue &#8211; JSMIN Javascript Helper</h3>
<p>At the time, I hadn&#8217;t heard about the <a href="http://code.google.com/p/jsmin-php/">JSMIN library</a>, which does pretty much the same thing the Minify does, but without the CSS. Luckily, Mr. Story had some vision after his Christmas festivities and cake up with a <a href="http://bakery.cakephp.org/articles/view/jsmin-helper-compress-and-cache-javascript" title="JSMin Helper Compress and cache javascript">JSMin Helper for CakePHP</a>. This helper works by Minifying the chosen Javascript. This involves stripping unnecessary characters (line breaks, comments, spaces, etc) from the .JS file.</p>
<p>It also includes functionality to <strong>cache the resulting files</strong>. What more can you ask for?</p>
<p><em>Usage:</em></p>
<pre class="brush: php;">
// Using the link:
echo $jsmin-&gt;link('myJS');
// Link with array of files:
echo $jsmin-&gt;link(array('file1', 'file2', 'file3'));
// Using a codeblock:
echo $jsmin-&gt;codeBlock(&quot;alert('javascript');&quot;);
</pre>
<p>The only slight caveat is that PHP 5.0 is required for the JSMin library, but who still runs PHP 4 anyway?</p>
<p>Mr. Mark, we thank you.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/" rel="bookmark" title="November 7, 2008">CakePHP Contact Form &#8211; Quick and Dirty</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-3/" rel="bookmark" title="April 9, 2008">CakePHP Auth Component &#8211; Will You Remember Me Tomorrow?</a></li>

<li><a href="http://www.webdevelopment2.com/give-15-minutes-jquery-expert/" rel="bookmark" title="September 18, 2007">Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</a></li>

<li><a href="http://www.webdevelopment2.com/stupid-cakephp-trick-day-generatelist-empty-slot/" rel="bookmark" title="November 1, 2007">Cute CakePHP Trick of the Day &#8211; GenerateList Empty Slot In List</a></li>

<li><a href="http://www.webdevelopment2.com/bindable-behavior-now-in-cakephp-core/" rel="bookmark" title="May 23, 2008">Bindable Behavior Now In CakePHP Core</a></li>
</ul><!-- Similar Posts took 2.980 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/making-javascript-rise-baking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</title>
		<link>http://www.webdevelopment2.com/give-15-minutes-jquery-expert/</link>
		<comments>http://www.webdevelopment2.com/give-15-minutes-jquery-expert/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 12:09:13 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/give-15-minutes-jquery-expert/</guid>
		<description><![CDATA[Introduction
In the spirit of rapid web development, I&#8217;ve stumbled upon jQuery. Here&#8217;s a testimonial from a jQuery user:
You start with 10 lines of jQuery that would have been 20 lines of tedious DOM JavaScript. By the time you are done it&#8217;s down to two or three lines and it couldn&#8217;t get any shorter unless it [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p><a href="http://jquery.com/"><img src="http://www.webdevelopment2.com/wp-content/uploads/jquery_logo.gif" title="jQuery - Write Less, Do More" alt="jQuery - Write Less, Do More" align="left" /></a>In the spirit of rapid web development, I&#8217;ve stumbled upon <a href="http://jquery.com/">jQuery</a>. Here&#8217;s a testimonial from a <a href="http://jquery.com/">jQuery</a> user:</p>
<blockquote><p>You start with 10 lines of <a href="http://www.JQuery.com"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">jQuery</a> that would have been 20 lines of tedious DOM JavaScript. By the time you are done it&#8217;s down to two or three lines and it couldn&#8217;t get any shorter unless it read your mind.&#8221;</p></blockquote>
<p>In my experience it&#8217;s been more like five (5) lines of jQuery.</p>
<blockquote><p>jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. <strong>jQuery is designed to change the way that you write JavaScript</strong>.</p></blockquote>
<p>I&#8217;ve found jQuery great for the following reasons:</p>
<ul>
<li>Simple Ajax in a breeze</li>
<li>Search for elements in the DOM is made easy</li>
<li>The helper function [ $() ] is a pleasure to use</li>
<li>Most importantly: it handles cross browser compatibility.</li>
</ul>
<h3>Here We Go &#8211; Tutorials Galore</h3>
<p>Your first step will be to <span><a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.pack.js">Download</a> jQuery 1.2.1 and include it in the head of your web page. After this you need to start reading some tutorials. Don&#8217;t worry, it&#8217;s going to take 15 minutes tops for you to start writing usable code:</span></p>
<ul>
<li><a href="http://visualjquery.com">Visual jQuery</a> &#8211; This is by far, my number one resource. It consolidates the API in a visual form, making easy to navigate.</li>
<li><a href="http://www.slideshare.net/simon/jquery-in-15-minutes/">15 Minutes of jQuery</a> &#8211; Great for beginners</li>
<li><a href="http://simonwillison.net/2007/Aug/15/jquery/">jQuery for JavaScript programmers</a> &#8211; Interesting tips on how to debug.</li>
<li><a href="http://docs.jquery.com/Tutorials:How_jQuery_Works">Tutorials:How jQuery Works</a> &#8211; Another beginner tutorial</li>
<li><a href="http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery">Tutorials:Getting Started with jQuery</a> &#8211; Getting Started (for beginners)</li>
<li><a href="http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery">Tutorials:Live Examples of jQuery</a> &#8211; This is what worked for me. Sometimes you just have to see it in action.</li>
</ul>
<h3>Why I Use jQuery</h3>
<p>jQuery is fast, small, and easy to learn. It&#8217;s the core for many of the simpler Ajax I use in my web pages. Since I&#8217;m using CakePHP, there&#8217;s also <a href="http://www.prototype.com/"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Prototype</a>, but that&#8217;s another story. I really don&#8217;t like having to learn a new language when I&#8217;m trying to do something simple. I don&#8217;t want to go delving into DOM and all that stuff just to dynamically add a class onto an element in the form. If I was a JavaScript programmer, it may not be a big deal for me. But, to me, there&#8217;s nothing worse than writing bad code to get something done, just because you don&#8217;t understand what&#8217;s going on. That&#8217;s why frameworks are what I live by.</p>
<p>Don&#8217;t wait, get started with jQuery today.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/jquery-prototype-mootools-benchmark-slickspeed/" rel="bookmark" title="January 28, 2008">JQuery, Prototype, and MooTools Benchmark &#8211; SlickSpeed</a></li>

<li><a href="http://www.webdevelopment2.com/bit-open-source-baz-background/" rel="bookmark" title="November 12, 2008">A Bit On Open Source And Some Baz Background</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-activity-indicators/" rel="bookmark" title="December 30, 2005">Ajax Activity Indicators</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/to-suck-or-not-to-suck-that-is-question-for-javascript/" rel="bookmark" title="December 31, 2006">To Suck or Not to Suck, That is Question for JavaScript</a></li>
</ul><!-- Similar Posts took 3.199 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/give-15-minutes-jquery-expert/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Development 2.0 Carnival &#8211; September 8, 2007</title>
		<link>http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/</link>
		<comments>http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 13:50:27 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Carnival]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.WebDevelopment2.com/web-development-20-carnival-september-8-2007/</guid>
		<description><![CDATA[I am proud to present the first edition of Carnival of Web Development 2.0. This is my first time hosting one of these things, so enjoy:
General


 Doug Boude presents DEMYSTIFYING JSON posted at Doug Boude (rhymes with &#8216;loud&#8217;) 
 sylv3rblade presents Stages of Software Development posted at Atma Xplorer, saying, &#8220;My take on the process [...]]]></description>
			<content:encoded><![CDATA[<p>I am proud to present the first edition of <strong>Carnival of Web Development 2.0</strong>. This is my first time hosting one of these things, so enjoy:</p>
<h3>General</h3>
<p><!-- Carnival Submission --></p>
<ol>
<li> <strong>Doug Boude</strong> presents <a href="http://www.dougboude.com/blog/1/2007/07/DEMYSTIFYING-JSON-for-myself.cfm">DEMYSTIFYING JSON</a> posted at <a href="http://www.dougboude.com/blog">Doug Boude (rhymes with &#8216;loud&#8217;) </a></li>
<li> <strong>sylv3rblade</strong> presents <a href="http://atmaxplorer.com/stages-of-software-development/">Stages of Software Development</a> posted at <a href="http://atmaxplorer.com/">Atma Xplorer</a>, saying, &#8220;My take on the process of software development&#8221;</li>
<li> <strong>prakash</strong> presents <a href="http://jayaprakashkv.blogspot.com/2007/06/identify-color-code-of-image.html">A2Z  Informative-Technology, Software, Internet, Tips, Ideas</a> posted at <a href="http://jayaprakashkv.blogspot.com/">A2Z  Informative</a>, saying, &#8220;Identifying the color code of an image on the screen is not an easy task. Usually it involves a multi step process and is time consuming. But this tool is able to find out HTML, RGB or HEX color of any pixel on the screen with just a single mouse click. This little tool is very useful for webmasters.&#8221;</li>
<li> <strong>Thorsten Ott</strong> presents <a href="http://www.sourcebench.com/category/reviews/the-ultimate-list-of-freelancing-job-sites/">Sourcebench &#8211; freelancer sites reviews</a> posted at <a href="http://www.sourcebench.com/">Sourcebench &#8211; building a better web</a>.</li>
<li> <strong>Scott H</strong> presents <a href="http://www.collegeandfinance.com/15-web-sites-college-students-cant-live-without/">15 Web Sites College Students CanÃ¢â‚¬â„¢t Live Without</a> posted at <a href="http://www.collegeandfinance.com/">College and Finance</a>, saying, &#8220;Not specifically about design, but has a great list of web sites students love, including StumbleUpon which, in terms of developing a web site, can be quite useful.&#8221;</li>
<li> <strong>Raj Sheelvant</strong> presents <a href="http://itstrategyblog.com/attention-hr-young-workers-demand-web-20/">Attention HR: Young workers demand Web 2.0</a> posted at <a href="http://itstrategyblog.com/">IT Strategy</a>, saying, &#8220;Why Web 2.0 infrastructure in corporations important to attract young talent&#8221;</li>
<li> <strong>aquariphile</strong> presents <a href="http://www.ajaxbestiary.com/2007/08/13/choosing-between-yui-css-blueprint/">Choosing Between YUI CSS &amp; Blueprint Ã‚Â» By Don Albrecht Ã‚Â» article Ã‚Â» Ajax Bestiary</a> posted at <a href="http://www.ajaxbestiary.com/">Ajax Bestiary</a>, saying, &#8220;With all the recent hype surrounding the Blueprint CSS framework, The powerful YUI framework has been lost in the noise. Both frameworks are powerful, but, which framework is right for your project?&#8221;</li>
<li> <strong>edithyeung</strong> presents <a href="http://www.edithyeung.com/2007/09/04/want-more-web-traffic/">Want More Traffic? Find Out Here?</a> posted at <a href="http://www.edithyeung.com/">Edith Yeung.Com:  Dream.  Think.  Act.</a>.</li>
<li> <strong>Amanda Harris</strong> presents <a href="http://www.ibakesaleblog.com/?p=10">Creating A Website For Your Charity</a> posted at <a href="http://www.ibakesaleblog.com/">iBakeSale Blog</a>.</li>
</ol>
<p><!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission -->   <!-- Carnival Submission --></p>
<h3>Javascript</h3>
<p><!-- Carnival Submission --></p>
<ol>
<li> <strong>Doug Boude</strong> presents <a href="http://www.dougboude.com/blog/1/2006/09/ClientSide-Interactivity-without-Ajax.cfm">Client-Side Interactivity without Ajax</a> posted at <a href="http://www.dougboude.com/blog">Doug Boude (rhymes with &#8216;loud&#8217;)</a>, saying, &#8220;this post has a Coldfusion approach to an Ajax alternative&#8230;&#8221;</li>
</ol>
<p><!-- EDIT THIS: the conclusion begins with this paragraph: -->That concludes this edition.  Submit your blog article to the next edition of <strong>Web Development 2.0</strong> using our <a href="http://blogcarnival.com/bc/submit_2377.html" target="_blank" title="Submit an entry to Ã¢â‚¬Å“web development 2.0Ã¢â‚¬Â">carnival submission form</a>. Past posts and future hosts can be found on our <a href="http://blogcarnival.com/bc/cprof_2377.html" target="_blank" title="Blog Carnival index for Ã¢â‚¬Å“web development 2.0Ã¢â‚¬Â"> blog carnival index page</a>.</p>
<p><small>Technorati tags:  <!-- add your technorati tags here! --> <a href="http://technorati.com/tag/web+development+2.0" rel="tag">Web Development 2.0</a>, <a href="http://technorati.com/tag/blog+carnival" rel="tag">blog carnival</a>.</small></p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-24-2007/" rel="bookmark" title="September 24, 2007">Web Development 2.0 Carnival &#8211; September 24, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival/" rel="bookmark" title="November 21, 2008">Web Development 2.0 Carnival &#8211; November 21, 2008</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-12-26-200/" rel="bookmark" title="January 10, 2009">Web Development 2.0 Carnival &#8211; December 26, 2008</a></li>

<li><a href="http://www.webdevelopment2.com/websites-on-wide-screen-how-the-other-half-lives/" rel="bookmark" title="March 28, 2007">Websites on Wide Screen &#8211; How The Other Half Lives</a></li>

<li><a href="http://www.webdevelopment2.com/another-what-is-ajax-introduction/" rel="bookmark" title="December 31, 2005">Another &#8220;What Is Ajax&#8221; Introduction</a></li>
</ul><!-- Similar Posts took 3.093 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Domain: WebDevelopment2.com, New Focus: Frameworks, CakePHP, Javascript, Web 2.0</title>
		<link>http://www.webdevelopment2.com/new-domain-webdevelopment2com-new-focus-frameworks-cakephp-javascript-web-20/</link>
		<comments>http://www.webdevelopment2.com/new-domain-webdevelopment2com-new-focus-frameworks-cakephp-javascript-web-20/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 15:00:40 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/blog/new-domain-webdevelopment2com-new-focus-frameworks-cakephp-javascript-web-20.htm</guid>
		<description><![CDATA[New Domain
I has finally occurred to me that I should have gotten my own domain name a long time ago. Really, I don&#8217;t know what I was waiting for, but it was about time. Since my focus is Web 2.0, WebDevelopment2.com was an obvious choice. I&#8217;ve already written about moving wordpress to a different domain, [...]]]></description>
			<content:encoded><![CDATA[<h3>New Domain</h3>
<p>I has finally occurred to me that I should have gotten my own domain name a long time ago. Really, I don&#8217;t know what I was waiting for, but it was about time. Since my focus is Web 2.0, WebDevelopment2.com was an obvious choice. I&#8217;ve already written about moving <a href="http://www.wordpress.org"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">wordpress</a> to a different domain, so moving to this domain was walk in the park. I loaded up PhpMyAdmin and exported my database. Pulled up Notepad++ and did a search and replace for my old URL to the new one. Saved the file, zipped it back up, and uploaded it to the server. Since I usually deal with large databases, I didn&#8217;t even bother trying to load into PhpMyAdmin. Bigdump is now my favorite database importer for MySQL.</p>
<p>Finally, I loaded up the  .htaccess file on the old domain name and slapped in a RewriteRule with a 301 redirect to WebDevelopment2.com. And Viola,Ã‚  here we haveÃ‚  WordpressÃ‚  blog perfectly redirected, without losing a single inbound link. Sure, the Page Rank on the domain name is 0 (for now), but with a name like Web Development, it won&#8217;t be for long.</p>
<h3> New Focus</h3>
<p>I must admit, that when I started this blog I was only vaguely interested in web development and web design. My interests usually hop about like that. I started this blog when AJAX hit the scene. It was the next hottest thing and the birth of Web 2.0. However, coding AJAX, although not difficult, was tedious. And we all know, I don&#8217;t like tedium.</p>
<p>Lately, things have gotten a bit more serious, with respect to my interests in web development. But, I&#8217;m no less lazy. As a result, my focus (and hence the focus of this blog) is going to shift slightly. Many of you will not notice, but those of you who have been paying attention will see that something has changed. I&#8217;ve come to learn the beauty of web development frameworks, such as CakePHP for PHP (duh), Protoype and <a href="http://www.JQuery.com"  class="alinks_links" onclick="return alinks_click(this);" title=""  style="padding-right: 13px; background: url(http://www.webdevelopment2.com/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">JQuery</a> for Javascript and AJAX, and even Blueprint for CSS. Don&#8217;t worry, if you haven&#8217;t heard of any of these, you soon will. Being as lazy as I am, the DRY (<strong>D</strong>o not <strong>R</strong>epeat <strong>Y</strong>ourself)Ã‚  principle naturally has you gravitating towards frameworks. If someone else; not just someone else, but an entire team of people, work on product for months and even years, I tend to think that they&#8217;ve done a better job than I ever code.</p>
<p>This is the new focus of my blog and I hope I don&#8217;t lose any of you guys and can bring greater quality and relevance to the things you read here.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/moving-wordpress-to-a-different-domain/" rel="bookmark" title="April 2, 2007">Moving Wordpress To A Different Domain</a></li>

<li><a href="http://www.webdevelopment2.com/choice-web-development-framework-matter/" rel="bookmark" title="December 31, 2007">Your Choice of Web Development Framework Doesn&#8217;t Matter</a></li>

<li><a href="http://www.webdevelopment2.com/wordpress-comment-relish-and-high-cpu-usage/" rel="bookmark" title="December 29, 2008">Comment Relish Plugin + High CPU Usage &#8211; Fixed The Right Way</a></li>

<li><a href="http://www.webdevelopment2.com/understand-bias-means/" rel="bookmark" title="April 16, 2008">Do We Not Understand What Bias Means?</a></li>

<li><a href="http://www.webdevelopment2.com/quick-multiple-local-roots-wamp/" rel="bookmark" title="November 16, 2007">Here&#8217;s a Quick Way to Use Multiple Local Roots With WAMP</a></li>
</ul><!-- Similar Posts took 3.051 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/new-domain-webdevelopment2com-new-focus-frameworks-cakephp-javascript-web-20/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Incredible Expanding Menu</title>
		<link>http://www.webdevelopment2.com/incredible-expanding-menu/</link>
		<comments>http://www.webdevelopment2.com/incredible-expanding-menu/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 02:03:51 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/javascript/incredible-expanding-menu.htm</guid>
		<description><![CDATA[Now there&#8217;s a lot of code involved and the menu created doesn&#8217;t really fit normal usability standards, but the end result is cool.
Happy July 4th to all you guys.
Source: Accessible expanding and collapsing menu [456 Berea Street]
Similar Posts:The Secret of Cancelling and Stopping Events using JavaScript

Web 2.0 Buttons On The Fly

Very Fancy Menus &#8211; CSS [...]]]></description>
			<content:encoded><![CDATA[<p>Now there&#8217;s a lot of code involved and the menu created doesn&#8217;t really fit normal usability standards, but the <a href="http://www.456bereastreet.com/lab/accessible-expanding-collapsing-menu/">end result</a> is cool.</p>
<p>Happy July 4th to all you guys.</p>
<p>Source: <a href="http://www.456bereastreet.com/archive/200705/accessible_expanding_and_collapsing_menu/">Accessible expanding and collapsing menu</a> [456 Berea Street]</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/" rel="bookmark" title="December 19, 2006">The Secret of Cancelling and Stopping Events using JavaScript</a></li>

<li><a href="http://www.webdevelopment2.com/web-20-buttons-on-the-fly/" rel="bookmark" title="June 4, 2007">Web 2.0 Buttons On The Fly</a></li>

<li><a href="http://www.webdevelopment2.com/very-fancy-menus-css-and-javascript/" rel="bookmark" title="March 31, 2007">Very Fancy Menus &#8211; CSS And JavaScript</a></li>

<li><a href="http://www.webdevelopment2.com/how-to-make-payperpost-and-google-adsense-play-nice-mightyadsense-plugin-hack/" rel="bookmark" title="June 24, 2007">How To Make PayPerPost and Google Adsense Play Nice &#8211; MightyAdsense Plugin Hack</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-12-beta-upgrade/" rel="bookmark" title="January 7, 2008">CakePHP 1.2 Beta Released Fresh Out of The Oven &#8211; Happy New Year</a></li>
</ul><!-- Similar Posts took 2.675 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/incredible-expanding-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steal Browser History with SpyJax</title>
		<link>http://www.webdevelopment2.com/steal-browser-history-with-spyjax/</link>
		<comments>http://www.webdevelopment2.com/steal-browser-history-with-spyjax/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 16:58:37 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/general/steal-browser-history-with-spyjax.htm</guid>
		<description><![CDATA[Ever wanted to find out what your users have been up to before they came to your site? Yep, you now have that power. I can see that little twinkle in your eyes now. You&#8217;re thinking that this is just insane and you can only imagine the power that now lies at your fingertips. Well, [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to find out what your users have been up to before they came to your site? Yep, you now have that power. I can see that little twinkle in your eyes now. You&#8217;re thinking that this is just insane and you can only imagine the power that now lies at your fingertips. Well, it&#8217;s not that easy.</p>
<h4>How It Works</h4>
<p>First of all, stop freaking out. We&#8217;re not exactly stealing your browser&#8217;s history. We&#8217;re doing a bit of guessing. It can only be run against a defined list of sites. This means that you can only check whether someone has visited a site, say <a href="http://www.disney.com">Disney.com</a>, but you can&#8217;t ask their browser for a list of the sites they&#8217;ve visited. That information is still kept confidential by the browser.</p>
<p>What we do is use some JavaScript to check the color of the links on a page. Ahhh, I see the lil&#8217; light bulb going on over your head right now. Yep folks, that&#8217;s all. Nothing fancy. So rest at ease, your browser history is safe for the most part.</p>
<p><a href="http://www.techtalkz.com/news/Security/Spyjax-Your-browser-history-is-not-private.html">SpyJax</a>: Go check it out, and figure out how to stop it, or at least limit the way people use it on you.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/" rel="bookmark" title="March 31, 2007">JavaScript Only Links, Why? Someone Tell Me Why, Please</a></li>

<li><a href="http://www.webdevelopment2.com/what-has-your-domain-been-up-to/" rel="bookmark" title="November 1, 2006">What Has Your Domain Been Up To</a></li>

<li><a href="http://www.webdevelopment2.com/web-development-20-carnival-september-8-2007/" rel="bookmark" title="September 8, 2007">Web Development 2.0 Carnival &#8211; September 8, 2007</a></li>

<li><a href="http://www.webdevelopment2.com/automate-database-backup-webcron-cron-jobs-problem/" rel="bookmark" title="October 13, 2007">Automate MySQL Database Backup With WebCron &#8211; No Cron Jobs? No Problem &#8211; Part 1</a></li>

<li><a href="http://www.webdevelopment2.com/nifty-corners-rounded-corners-without-images/" rel="bookmark" title="November 2, 2006">Nifty Corners: Rounded Corners Without Images</a></li>
</ul><!-- Similar Posts took 2.867 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/steal-browser-history-with-spyjax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Very Fancy Menus &#8211; CSS And JavaScript</title>
		<link>http://www.webdevelopment2.com/very-fancy-menus-css-and-javascript/</link>
		<comments>http://www.webdevelopment2.com/very-fancy-menus-css-and-javascript/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 18:35:41 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2007/03/31/very-fancy-menus-css-and-javascript.htm</guid>
		<description><![CDATA[Saw this and I was amazed:

All done with CSS And JavaScript. The implementation is also brilliantly simple. And it all fits in 1.5KB. What&#8217;s to lose?
By the way, you can&#8217;t tell by the image, but the image under that travel menu; it moves with the mouse hover. Check it out: Facny Menu.
Similar Posts:LightBox, LightBox2 and [...]]]></description>
			<content:encoded><![CDATA[<p>Saw this and I was amazed:</p>
<p><a href="http://devthought.com/cssjavascript-true-power-fancy-menu/"><img src="http://www.webdevelopment2.com/wp-content/uploads/fancy_menu.gif" alt="fancy_menu.gif" title="fancy_menu.gif" border="0" height="59" width="451" /></a></p>
<p>All done with CSS And JavaScript. The implementation is also brilliantly simple. And it all fits in 1.5KB. What&#8217;s to lose?</p>
<p>By the way, you can&#8217;t tell by the image, but the image under that <img src="file:///C:/DOCUME%7E1/Baz/LOCALS%7E1/Temp/moz-screenshot-1.jpg" /><span style="font-weight: bold">travel</span> menu; it moves with the mouse hover. Check it out: <a href="http://devthought.com/cssjavascript-true-power-fancy-menu/">Facny Menu</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/" rel="bookmark" title="December 12, 2006">LightBox, LightBox2 and LightBox Plus</a></li>

<li><a href="http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/" rel="bookmark" title="December 12, 2006">JavaScript Reflection &#8211; Wet Floor Effect</a></li>

<li><a href="http://www.webdevelopment2.com/incredible-expanding-menu/" rel="bookmark" title="July 4, 2007">Incredible Expanding Menu</a></li>

<li><a href="http://www.webdevelopment2.com/linkmania-december-3-2006/" rel="bookmark" title="December 3, 2006">LinkMania: December 3, 2006</a></li>

<li><a href="http://www.webdevelopment2.com/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection/" rel="bookmark" title="February 20, 2007">More JavaScript Reflections &#8211; Automated JavaScript Vertical Flip Image Reflection</a></li>
</ul><!-- Similar Posts took 2.948 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/very-fancy-menus-css-and-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Only Links, Why? Someone Tell Me Why, Please</title>
		<link>http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/</link>
		<comments>http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 17:33:43 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2007/03/31/javascript-only-links-why-someone-tell-me-why-please.htm</guid>
		<description><![CDATA[Why We Might Need (Want) JavaScript Links
Recently I stumbled upon a site that I haven&#8217;t been to for a while: CSOWeb.org. The design is nice and clean: a header image, with some gradients and colors that work together. But wait, where are all the links? 95% of the links on the sites are http://csoweb.org/#. What [...]]]></description>
			<content:encoded><![CDATA[<h4>Why We Might Need (Want) JavaScript Links</h4>
<p>Recently I stumbled upon a site that I haven&#8217;t been to for a while: <a href="http://www.csoweb.org">CSOWeb.org</a>. The design is nice and clean: a header image, with some gradients and colors that work together. But wait, where are all the links? 95% of the links on the sites are <em>http://csoweb.org/#.</em> What the hell? Everything is done behind the scenes in JavaScript in OnClick() scripts.</p>
<p>Sometime later I read a post on the <a href="http://www.thefutureoftheweb.com/blog/2007/3/javascript-only-links">Future of the Web</a> about <a href="http://www.thefutureoftheweb.com/blog/2007/3/javascript-only-links">JavaScript only links</a>. The first comment on the page is usually everyone&#8217; argument for these links.&#8221;But&#8230;but&#8230;what about GMail, and Google Web Toolkit?!?!?&#8221;.  Good argument, I guess. Everyone loves Google and everyone tries to emulate them. There&#8217;s no problem in that as long as we understand what&#8217;s going on. Magic word: <a href="http://www.webdevelopment2.com/category/ajax/">AJAX</a>. AJAX makes heavy use of JavaScript for obvious reasons. If we&#8217;re populating a page from a database using AJAX, then JavaScript is the only option. This leads us into the discussion of appropriate uses of Ajax. Don&#8217;t take me back there man.</p>
<h4>Why We Shouldn&#8217;t Use JavaScript Links</h4>
<p>Bottom line is you shouldn&#8217;t be using JavaScript and AJAX where they don&#8217;t belong. Although certain specific elements on this page may require (benefit from rather) Ajax, there is no excuse for having a JavaScript link to the <em>About Us</em> page on a website. You run into obvious problem with SEO on the page obviously, since the only indexable page the really exists is the first instance of www.csoweb.org. Everything else is done on that website and the page is dynamically generated through JavaScript. So we actually get loathe by the Google search engine for trying to imitate them, that&#8217;s funny.</p>
<p>You piss off most of your visitors. Some people bookmarks specific web pages and not only the home page. It&#8217;s really annoying when you try to bookmark a web page and everything points back to the home page.</p>
<p>Just my two cents I guess.</p>
<h4>Why JavaScript Links ?</h4>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/feedburner-google-search-cache-instant-blog-back-up/" rel="bookmark" title="May 10, 2007">FeedBurner + Google search cache =  Instant Blog Back Up</a></li>

<li><a href="http://www.webdevelopment2.com/how-to-make-payperpost-and-google-adsense-play-nice-mightyadsense-plugin-hack/" rel="bookmark" title="June 24, 2007">How To Make PayPerPost and Google Adsense Play Nice &#8211; MightyAdsense Plugin Hack</a></li>

<li><a href="http://www.webdevelopment2.com/website-promotion-with-discountclick/" rel="bookmark" title="November 28, 2006">Website Promotion with DiscountClick</a></li>

<li><a href="http://www.webdevelopment2.com/payperposts-answer-google-pagerank-issue-real-rank/" rel="bookmark" title="November 26, 2007">PayPerPost&#8217;s Answer To The Google PageRank Issue &#8211; Real Rank</a></li>

<li><a href="http://www.webdevelopment2.com/link-tracking-with-ajax/" rel="bookmark" title="January 3, 2006">Link Tracking with Ajax</a></li>
</ul><!-- Similar Posts took 2.917 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More JavaScript Reflections &#8211; Automated JavaScript Vertical Flip Image Reflection</title>
		<link>http://www.webdevelopment2.com/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection/</link>
		<comments>http://www.webdevelopment2.com/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 02:07:04 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2007/02/20/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection.htm</guid>
		<description><![CDATA[I&#8217;m not sure what to make of this: Automated JavaScript Vertical Flip Image Reflection. It adds reflections to images using JavaScript. But, am I missing something here, or has it already been done? It seems to do basically the same thing with less flexibility and it doesn&#8217;t work in IE.
The only other difference that I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure what to make of this: <a href="http://arapehlivanian.com/2007/02/20/automated-vertical-flip-image-reflection/">Automated JavaScript Vertical Flip Image Reflection</a>. It adds reflections to images using JavaScript. But, am I missing something here, or has it <a href="http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/">already been done</a>? It seems to do basically the same thing with less flexibility and it doesn&#8217;t work in IE.</p>
<p>The only other difference that I can notice is that this is works on a page-wide basis, whereas the other script is on a per-image basis. Here are some <a href="http://arapehlivanian.com/scripts/reflect/reflect.html">examples</a>.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/" rel="bookmark" title="December 12, 2006">LightBox, LightBox2 and LightBox Plus</a></li>

<li><a href="http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/" rel="bookmark" title="December 12, 2006">JavaScript Reflection &#8211; Wet Floor Effect</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/comparing-lightbox-scripts/" rel="bookmark" title="December 25, 2007">Comparing Lightbox Scripts</a></li>

<li><a href="http://www.webdevelopment2.com/optmize-images-for-the-web/" rel="bookmark" title="November 18, 2006">Optmize Images for the Web</a></li>
</ul><!-- Similar Posts took 4.012 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Secret of Cancelling and Stopping Events using JavaScript</title>
		<link>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/</link>
		<comments>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/#comments</comments>
		<pubDate>Tue, 19 Dec 2006 19:20:41 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/12/19/the-secret-of-cancelling-and-stopping-events-using-javascript.htm</guid>
		<description><![CDATA[Introduction
Back when I was doing my internship we had a major problem we were trying to solve. The project involved creating a web based terminal emulator using AJAX. Well, it was a little bit more specific than that. It was basically duplicating a specific application in the browser window.
Problem
Sounds all well and good except that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong><br />
Back when I was doing my internship we had a major problem we were trying to solve. The project involved creating a web based terminal emulator using AJAX. Well, it was a little bit more specific than that. It was basically duplicating a specific application in the browser window.</p>
<p><strong>Problem</strong><br />
Sounds all well and good except that this application made heavy use of <em>F Keys</em>, e.g. (F10, F5, F1, etc). Needless to say this would not really be viable in a browser since F1 would call up help, F5 would refresh and F10 would send the cursor to the menu. We had already written a nice enough key handler that worked rather well, with the exception of these <em>F Keys</em>.</p>
<p><strong>JavaScript Solution</strong><br />
After a lot of hacking around I found a way to stop the browser from calling up and propagating those events. My code was, for lack of a better word, nasty; but it did work. It involved a lot of IE/Mozilla workarounds. I recently came across some cleaner code, so here you go:</p>
<pre class="brush: jscript;">function stopEvent(e) {
    if (!e) e = window.event;
    if (e.stopPropagation) {
        e.stopPropagation();
    } else {
        e.cancelBubble = true;
    }
}</pre>
<p>and</p>
<pre class="brush: jscript;">function cancelEvent(e) {
    if (!e) e = window.event;
    if (e.preventDefault) {
        e.preventDefault();
    } else {
        e.returnValue = false;
    }
}</pre>
<p><strong>Explanation</strong><br />
<em>stopEvent</em>, well stops the event. Seriously, it stops the event from being called by other background elements. Many elements may use the same event called by just one. So stopping it here ensures that it doesn&#8217;t propagate to the background elements. <em>cancelEvent </em> squashes the browser&#8217;s default behavior.</p>
<p><em>source <a href="http://ajaxcookbook.org/canceling-and-stopping-browser-events/">Ajax Cookbook</a></em></p>
<p>[tags]ajax, browser, firefox, ie, javascript[/tags]</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/debugging-ajax/" rel="bookmark" title="December 24, 2005">Debugging Ajax</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-client-engine-ace-problems/" rel="bookmark" title="December 12, 2005">AJAX Client Engine (ACE) &#8211; Problems</a></li>

<li><a href="http://www.webdevelopment2.com/javascript-only-links-why-someone-tell-me-why-please/" rel="bookmark" title="March 31, 2007">JavaScript Only Links, Why? Someone Tell Me Why, Please</a></li>

<li><a href="http://www.webdevelopment2.com/enter-ajax/" rel="bookmark" title="October 19, 2005">Enter AJAX</a></li>

<li><a href="http://www.webdevelopment2.com/should-ajax-be-independent-of-the-server/" rel="bookmark" title="November 29, 2005">Should Ajax Be Independent of the Server?</a></li>
</ul><!-- Similar Posts took 2.978 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/the-secret-of-cancelling-and-stopping-events-using-javascript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>JavaScript Reflection &#8211; Wet Floor Effect</title>
		<link>http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/</link>
		<comments>http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 19:04:41 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/12/12/javascript-reflection-wet-floor-effect.htm</guid>
		<description><![CDATA[Yes again, I&#8217;m late. I&#8217;m sorry folks, but here we go.
Once again we bring together JavaScript and CSS to produce amazing results. Notice the header at the top of this website (assuming that I haven&#8217;t impulsively changed my theme again)? Nice basic reflection, right? It&#8217;s commonly known as the Wet Floor effect. I can just [...]]]></description>
			<content:encoded><![CDATA[<p>Yes again, I&#8217;m late. I&#8217;m sorry folks, but here we go.</p>
<p>Once again we bring together JavaScript and CSS to produce amazing results. Notice the header at the top of this website (assuming that I haven&#8217;t impulsively changed my theme again)? Nice basic reflection, right? It&#8217;s commonly known as the <a href="http://en.wikipedia.org/wiki/Wet_floor_effect">Wet Floor</a> effect. I can just hear the Photoshop folks now, &#8220;what&#8217;s so impressive about that?&#8221;. Well seeing that I lack a lot in the Photoshop field it took me about 30 minutes to get this to look even reasonably good. But I did not have to go through all that trouble.</p>
<p><a href="http://cow.neondragon.net/stuff/reflection/">Reflections.js</a> provides a simple method for web developers to do this. I haven&#8217;t had too much experience with this other than just basic demos but I am again amazed at the power of JavaScript and CSS. You include the JavaScript and for each image you want to add a reflection to you add:</p>
<pre class="brush: xml;">class=&quot;reflect&quot;</pre>
<p>. That&#8217;s it. It almost seems too simple doesn&#8217;t it?</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/more-javascript-reflections-automated-javascript-vertical-flip-image-reflection/" rel="bookmark" title="February 20, 2007">More JavaScript Reflections &#8211; Automated JavaScript Vertical Flip Image Reflection</a></li>

<li><a href="http://www.webdevelopment2.com/seo-inc-search-engine-optimization-company/" rel="bookmark" title="December 24, 2006">SEO Inc &#8211; Search Engine Optimization Company</a></li>

<li><a href="http://www.webdevelopment2.com/very-fancy-menus-css-and-javascript/" rel="bookmark" title="March 31, 2007">Very Fancy Menus &#8211; CSS And JavaScript</a></li>

<li><a href="http://www.webdevelopment2.com/optmize-images-for-the-web/" rel="bookmark" title="November 18, 2006">Optmize Images for the Web</a></li>

<li><a href="http://www.webdevelopment2.com/give-15-minutes-jquery-expert/" rel="bookmark" title="September 18, 2007">Give Me 15 Minutes and I&#8217;ll Make You A jQuery Expert</a></li>
</ul><!-- Similar Posts took 3.720 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/javascript-reflection-wet-floor-effect/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>LightBox, LightBox2 and LightBox Plus</title>
		<link>http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/</link>
		<comments>http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 14:17:16 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/12/12/lightbox-lightbox2-and-lightbox-plus.htm</guid>
		<description><![CDATA[Yes, I know I&#8217;m a bit late with this, but I still had to give you the run down.
Originally created by Lokesh Dhakar
Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It&#8217;s a snap to setup and works on all modern browsers.
Have you ever gone to a website and [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I know I&#8217;m a bit late with this, but I still had to give you the run down.<br />
Originally created by <a href="http://www.huddletogether.com/projects/lightbox/">Lokesh Dhakar</a></p>
<blockquote><p>Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It&#8217;s a snap to setup and works on all modern browsers.</p></blockquote>
<p>Have you ever gone to a website and seen this nice lil&#8217; thing they do when you click on a thumbnail and it pops up a larger image in the same browser window? That&#8217;s LightBox. I&#8217;ve seen it before and I haven&#8217;t given it a lot of thought. I just naturally assumed that it would take too much time to implement, so I left it alone. Oh was I wrong.</p>
<p>In the HEAD section of your HTML code.</p>
<pre class="brush: xml;">&lt;link rel=&quot;stylesheet&quot; href=&quot;lightbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;

	&lt;script type=&quot;text/javascript&quot; src=&quot;lightbox.js&quot;&gt;&lt;/script&gt;
</pre>
<p>To use it, simple add rel=&#8221;lightbox&#8221; to any &#8220;a&#8221; tag linking to an image file:</p>
<pre class="brush: xml;">
&lt;a href=&quot;images/image-1.jpg&quot; rel=&quot;lightbox&quot; title=&quot;my caption&quot;&gt;image #1&lt;/a&gt;
</pre>
<p>As you can see, you can have pure text in the link tag or a thumbnail image like most people do. Yep, that&#8217;s it. Your website is covered with a grayish transparent background image and looks as if it&#8217;s disabled. There is an animated GIF (can be any AJAX-like indicator you wish) that pops up while the image is loaded, then Voila. Very sweet lil&#8217; script. Of course it&#8217;s backwards compatible with browsers with JavaScript disabled. It&#8217;s just an &#8220;a&#8221; tag after all. There is also support for the transparent PNG file in IE 6. Do check out <a href="http://www.huddletogether.com/projects/lightbox/">LightBox JS</a>.</p>
<p>There are variations of this script.  <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox JS v2.0</a> has a more AJAX-y feel to it. The image box pops up and closes in a nice fluid motion. It includes one more JavaScript include for this though. They also added image grouping, where you can go from one image to the next while the pop up is still enabled.</p>
<pre class="brush: xml;">
&lt;a href=&quot;images/image-1.jpg&quot; rel=&quot;lightbox[roadtrip]&quot;&gt;image #1&lt;/a&gt;
&lt;a href=&quot;images/image-2.jpg&quot; rel=&quot;lightbox[roadtrip]&quot;&gt;image #2&lt;/a&gt;
&lt;a href=&quot;images/image-3.jpg&quot; rel=&quot;lightbox[roadtrip]&quot;&gt;image #3&lt;/a&gt;
</pre>
<p>Over this past weekend is when I had my first experience with the LightBox script. I tried using version 2 for a particular application and one problem I had was what happened when images were two large for the screen. Well, it loads the entire image like you tell it to and the user then needs to scroll throughout the page to view the image. Some may simply say, create you images to an acceptable size, but the application I was using didn&#8217;t offer than flexibility. The images I would be serving came from the user. And only God knows what users have in mind for your application. Enter <a href="http://serennz.sakura.ne.jp/toybox/lightbox/?en">LightBox Plus</a>. This loads the image and fits it into the appropriate screen size and adds a resize feature to enable the full size of the image. When you resize is activated the user can then use the mouse wheel to zoom in and out.</p>
<p>Behold, the marvels of JavaScript and CSS. We are definitely taking huge step into Web 2.0.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/comparing-lightbox-scripts/" rel="bookmark" title="December 25, 2007">Comparing Lightbox Scripts</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/optmize-images-for-the-web/" rel="bookmark" title="November 18, 2006">Optmize Images for the Web</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-fckeditor/" rel="bookmark" title="November 23, 2007">WYBISYG &#8211; What You Bake Is What You Get &#8211; CakePHP + FCKEditor</a></li>

<li><a href="http://www.webdevelopment2.com/top-10-css-image-galleries-diy/" rel="bookmark" title="November 27, 2006">Top 10 CSS Image Galleries &#8211; DIY</a></li>
</ul><!-- Similar Posts took 3.155 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 CSS Image Galleries &#8211; DIY</title>
		<link>http://www.webdevelopment2.com/top-10-css-image-galleries-diy/</link>
		<comments>http://www.webdevelopment2.com/top-10-css-image-galleries-diy/#comments</comments>
		<pubDate>Mon, 27 Nov 2006 18:59:08 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/11/27/top-10-css-image-galleries-diy.htm</guid>
		<description><![CDATA[I&#8217;m not sure how many of you actually gave thought to creating your own Image Gallery, I know I haven&#8217;t. If I needed one I&#8217;d just use a prepackaged one. But that was because my application always needed an entire gallery. But if you just need to through up some pictures a CSS Image Gallery [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->I&#8217;m not sure how many of you actually gave thought to creating your own Image Gallery, I know I haven&#8217;t. If I needed one I&#8217;d just use a prepackaged one. But that was because my application always needed an entire gallery. But if you just need to through up some pictures a CSS Image Gallery is the way to go.</p>
<p>Why CSS? CSS is light and clean and it&#8217;s HTML standard. Some of these methods require a tad bit of JavaScript.</p>
<p>Please note, however, that you need to have all of your images ready to go. You need your thumbnails, your display images and your large images. These are not scripts, they are Do It Yourself galleries so they don&#8217;t create thumbnails for you or anything like that.</p>
<p>Alex at <a href="http://youneed2see.com/web/99/Top_10_CSS_image_gallery_tutorials">YouNeed2See Technology</a> has a nice list of these galleries. Go check it out.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/lightbox-lightbox2-and-lightbox-plus/" rel="bookmark" title="December 12, 2006">LightBox, LightBox2 and LightBox Plus</a></li>

<li><a href="http://www.webdevelopment2.com/6-places-to-use-ajax/" rel="bookmark" title="December 2, 2005">6 Places to Use Ajax</a></li>

<li><a href="http://www.webdevelopment2.com/google-picasa-typo/" rel="bookmark" title="December 18, 2006">Google Picasa Typo</a></li>

<li><a href="http://www.webdevelopment2.com/easily-increase-page-load-time-10-fold-jquery/" rel="bookmark" title="October 26, 2007">See How Easily You Can Increase Page Load Time 10 Fold With jQuery</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-fckeditor/" rel="bookmark" title="November 23, 2007">WYBISYG &#8211; What You Bake Is What You Get &#8211; CakePHP + FCKEditor</a></li>
</ul><!-- Similar Posts took 3.159 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/top-10-css-image-galleries-diy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic Paypal Buttons via Javascript</title>
		<link>http://www.webdevelopment2.com/dynamic-paypal-buttons-via-javascript/</link>
		<comments>http://www.webdevelopment2.com/dynamic-paypal-buttons-via-javascript/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 01:52:45 +0000</pubDate>
		<dc:creator>Kevin Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.webdevelopment2.com/2006/10/30/dynamic-paypal-buttons-via-javascript.htm</guid>
		<description><![CDATA[Paypal&#8217;s website payments is perfect for small sites. You have a few products you want to sell so you don&#8217;t want to install a full blown shopping cart or anything. So we use Paypal a great solution but with a few limitations:
Dave writes:
The problem with Paypal buttons is that you are very limited in customisation [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/web-accept-to-sc-button-outside">Paypal&#8217;s website payments</a> is perfect for small sites. You have a few products you want to sell so you don&#8217;t want to install a full blown shopping cart or anything. So we use Paypal a great solution but with a few limitations:<br />
<a href="http://www.sector40.net/articles/2006/10/29/dynamic-paypal-buttons-using-javascript">Dave</a> writes:</p>
<blockquote><p>The problem with Paypal buttons is that you are very limited in customisation options for your product. You&#8217;re provided with the option of up to two, yes two form fields within which you can store specifics about a product. So you could store, for instance, size of product in one field, and colour of product in another. But if you have more than two product options you&#8217;re basically screwed. Although there is an answer &#8230;Javascript. Using Javascript you can grab the Paypal button&#8217;s form as it&#8217;s being submitted, modify the form fields and then send it on it&#8217;s way.</p></blockquote>
<p>Dave spells out every bit of code you need and the explanations. He even has links to the <a href="http://www.sector40.net/articles/2006/10/29/dynamic-paypal-buttons-using-javascript">source code</a> for these. It&#8217;s worth checking out. It&#8217;s an interesting idea that I haven&#8217;t seen done before.</p>
Similar Posts:<ul><li><a href="http://www.webdevelopment2.com/why-my-wordpress-27-install-failed/" rel="bookmark" title="December 11, 2008">Why My Wordpress 2.7 Install &#8220;Failed&#8221;</a></li>

<li><a href="http://www.webdevelopment2.com/javascript-xmlhttprequest-ajax-cheat-sheet/" rel="bookmark" title="November 21, 2005">JavaScript, XMLHttpRequest (Ajax) Cheat Sheet</a></li>

<li><a href="http://www.webdevelopment2.com/ajax-activity-indicators/" rel="bookmark" title="December 30, 2005">Ajax Activity Indicators</a></li>

<li><a href="http://www.webdevelopment2.com/cakephp-contact-form-quick-dirty/" rel="bookmark" title="November 7, 2008">CakePHP Contact Form &#8211; Quick and Dirty</a></li>

<li><a href="http://www.webdevelopment2.com/ten-reasons-to-learn-c/" rel="bookmark" title="November 27, 2006">Ten Reasons to Learn C (not C++)</a></li>
</ul><!-- Similar Posts took 3.042 ms -->]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopment2.com/dynamic-paypal-buttons-via-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
