<?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>Bright Cherry &#187; jQuery Scripts &amp; Helpful Snippets</title>
	<atom:link href="http://www.brightcherry.co.uk/scribbles/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightcherry.co.uk/scribbles</link>
	<description></description>
	<lastBuildDate>Tue, 20 Dec 2011 19:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How To Display Latest Tweet On Website</title>
		<link>http://www.brightcherry.co.uk/scribbles/how-to-display-latest-tweet-on-website/</link>
		<comments>http://www.brightcherry.co.uk/scribbles/how-to-display-latest-tweet-on-website/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 12:50:29 +0000</pubDate>
		<dc:creator>adm1n</dc:creator>
				<category><![CDATA[jQuery Scripts & Helpful Snippets]]></category>

		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=447</guid>
		<description><![CDATA[Here&#8217;s a really quick and simple way to display your latest Tweet on your website like the example below (the graphics obviously won&#8217;t appear, just the Tweet): 1 2 3 4 5 6 7 8 9 10 11 &#60;script src=&#34;http://code.jquery.com/jquery-latest.js&#34;&#62;&#60;/script&#62; &#60;script&#62; $(document).ready(function () { $.getJSON(&#34;http://twitter.com/statuses/user_timeline/USERNAME.json?callback=?&#34;, function(data) { $(&#34;.show_tweet&#34;).html(data[0].text); }); }); &#60;/script&#62; &#160; &#60;div class=&#34;show_tweet&#34;&#62;&#60;/div&#62; Simply [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a really quick and simple way to display your latest Tweet on your website like the example below (the graphics obviously won&#8217;t appear, just the Tweet):</p>
<p><img src="http://www.brightcherry.co.uk/images/blogimages/latest_tweet.jpg" title="Latest Tweet" alt="Latest Tweet" /></p>

<div class="wp_codebox"><table><tr id="p4472"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code" id="p447code2"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;http://code.jquery.com/jquery-latest.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function ()
{
 $.getJSON(&quot;http://twitter.com/statuses/user_timeline/USERNAME.json?callback=?&quot;, function(data) {
  $(&quot;.show_tweet&quot;).html(data[0].text);
 });
});
&lt;/script&gt;
&nbsp;
&lt;div class=&quot;show_tweet&quot;&gt;&lt;/div&gt;</pre></td></tr></table></div>

<p>Simply replace USERNAME with your unique Twitter username. The show_tweet class is where the Tweet will display. </p>
<p>The &#8220;follow us&#8221; link won&#8217;t appear by default, I hard-coded that into the show_tweet div <img src='http://www.brightcherry.co.uk/scribbles/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;s as easy as that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightcherry.co.uk/scribbles/how-to-display-latest-tweet-on-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery- Show The Height And Width Of The Browser Viewport in Real-Time</title>
		<link>http://www.brightcherry.co.uk/scribbles/jquery-show-the-height-and-width-of-the-browser-viewport-in-real-time/</link>
		<comments>http://www.brightcherry.co.uk/scribbles/jquery-show-the-height-and-width-of-the-browser-viewport-in-real-time/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 20:23:45 +0000</pubDate>
		<dc:creator>adm1n</dc:creator>
				<category><![CDATA[jQuery Scripts & Helpful Snippets]]></category>

		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=402</guid>
		<description><![CDATA[Strange. I looked around everywhere for this code, and couldn&#8217;t find it anymore online. I simply wanted jQuery code that would show the height and width of the browser viewport in &#8220;real-time&#8221; I found plenty of code samples that would show the viewport size on page load/refresh, but nothing that would update live, as I [...]]]></description>
			<content:encoded><![CDATA[<p>Strange. I looked around everywhere for this code, and couldn&#8217;t find it anymore online. I simply wanted jQuery code that would show the height and width of the browser viewport in &#8220;real-time&#8221; I found plenty of code samples that would show the viewport size on page load/refresh, but nothing that would update live, as I was reducing/expanding the browser size. So I decided to write my own code, and it turned it to be a lot easier than anticipated.</p>
<h4>Demo</h4>
<p>Simply change the size of your browser and the values (height and width) below should automatically update.</p>
<h3>Width in pixels:</h3>
<input type="input" id="output_width" value="" name="width" />
<h3>Height in pixels:</h3>
<input type="input" id="output_height" value="" name="height" />
<h4>Code</h4>
<p>All you need to do is copy/paste the code and it should work.</p>

<div class="wp_codebox"><table><tr id="p4024"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code" id="p402code4"><pre class="html" style="font-family:monospace;">&lt;script src=&quot;http://code.jquery.com/jquery-latest.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function ()
{
 $(window).resize(function()
 {
  var show_width = $(window).width();
  document.getElementById(&quot;output_width&quot;).value=show_width.toString();
&nbsp;
  var show_height = $(window).height();
  document.getElementById(&quot;output_height&quot;).value=show_height.toString();
 });
});
&lt;/script&gt;
&nbsp;
&nbsp;
&lt;h3&gt;Width:&lt;/h3&gt;
&lt;input type=&quot;input&quot; id=&quot;output_width&quot; value=&quot;&quot; name=&quot;width&quot; /&gt;
&nbsp;
&lt;h3&gt;Height:&lt;/h3&gt;
&lt;input type=&quot;input&quot; id=&quot;output_height&quot; value=&quot;&quot; name=&quot;height&quot; /&gt;</pre></td></tr></table></div>

<p>So, what do you think? Does it work?</p>
<p>Does anyone know of a more efficient way of getting this result? If so, please let me know.</p>
<p><script src="http://code.jquery.com/jquery-latest.js"></script><br />
<script src="/includes/height_width_demo.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightcherry.co.uk/scribbles/jquery-show-the-height-and-width-of-the-browser-viewport-in-real-time/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple JQuery / PHP Image Gallery</title>
		<link>http://www.brightcherry.co.uk/scribbles/simple-jquery-php-image-gallery/</link>
		<comments>http://www.brightcherry.co.uk/scribbles/simple-jquery-php-image-gallery/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 13:52:36 +0000</pubDate>
		<dc:creator>adm1n</dc:creator>
				<category><![CDATA[jQuery Scripts & Helpful Snippets]]></category>

		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=342</guid>
		<description><![CDATA[I previously wrote a Simple, Pure CSS Image Gallery. But times have changed since then, and now everyone seems to be keen on AJAX technologies. So I&#8217;ve written a nice and easy Image Gallery script that uses JQuery (and a small bit of PHP). The problem with the CSS image gallery is that different browsers [...]]]></description>
			<content:encoded><![CDATA[<p>I previously wrote a <a href="http://www.brightcherry.co.uk/scribbles/2008/09/30/pure-css-image-gallery/" title="Simple, Pure CSS Image Gallery">Simple, Pure CSS Image Gallery</a>. But times have changed since then, and now everyone seems to be keen on AJAX technologies. So I&#8217;ve written a nice and easy Image Gallery script that uses JQuery (and a small bit of PHP).</p>
<p>The problem with the CSS image gallery is that different browsers behave differently when displaying the images. Of course, you don&#8217;t get that same problem with AJAX.</p>
<h4>Demo of the Simple JQuery / PHP Gallery</h4>
<p>	<script type="text/javascript">
	$("document").ready(function() {
		$("ul.jqgal_thumbnails li").click(function () {
			$("#jqgal_images").load('/images/jquerygalleryblogpost/images_display.php', {'id': $(this).attr('id')});
			$("ul.jqgal_thumbnails li").removeClass('jqgal_highlight');
			$(this).addClass('jqgal_highlight');
		});
	});
	</script></p>
<div id="jqgal_thumbnails_container">
<ul class="jqgal_thumbnails">
<li id="1thumbimage" class="jqgal_highlight"><img src="/images/jquerygalleryblogpost/1thumbimage.gif" title="" alt="" /></li>
<li id="2thumbimage"><img src="/images/jquerygalleryblogpost/2thumbimage.gif" title="" alt="" /></li>
<li id="3thumbimage"><img src="/images/jquerygalleryblogpost/3thumbimage.gif" title="" alt="" /></li>
<li id="4thumbimage"><img src="/images/jquerygalleryblogpost/4thumbimage.gif" title="" alt="" /></li>
<li id="5thumbimage"><img src="/images/jquerygalleryblogpost/5thumbimage.gif" title="" alt="" /></li>
</ul>
</div>
<div id="jqgal_images">
	<img src="/images/jquerygalleryblogpost/1.jpg" title="" alt="" />
</div>
<h4>JQuery / PHP Image Gallery Code</h4>
<p>The gallery relies on 3 separate files (one of which includes the JQuery library). The code is pretty clean and simple.</p>
<p><strong>This is the JQuery code (located in index.php):</strong></p>

<div class="wp_codebox"><table><tr id="p3427"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p342code7"><pre class="php" style="font-family:monospace;">	<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;document&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>ready<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ul.jqgal_thumbnails li&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>click<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#jqgal_images&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>load<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'images_display.php'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><span style="color: #0000ff;">'id'</span><span style="color: #339933;">:</span> $<span style="color: #009900;">&#40;</span>this<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>attr<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ul.jqgal_thumbnails li&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>removeClass<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jqgal_highlight'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			$<span style="color: #009900;">&#40;</span>this<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>addClass<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jqgal_highlight'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></pre></td></tr></table></div>

<p><strong>This is the PHP code (located in images_display.php)</strong></p>

<div class="wp_codebox"><table><tr id="p3428"><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code" id="p342code8"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #000088;">$image</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;thumbimage&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;loadimage&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;images/&lt;?=<span style="color: #006699; font-weight: bold;">$image</span>;?&gt;.jpg&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span> <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>The rest is just HTML/CSS.</p>
<p><a target="new" rel="nofollow" href="http://www.brightcherry.co.uk/downloads/Jquery_PHP_Image_Gallery.zip">DOWNLOAD JQuery / PHP Image Gallery</a></p>
<p>Any probs? Let me know. I’m not offering full-support on this feature, but if you have any queries, i’ll do my best to assist.</p>
<h4>Extra Features</h4>
<p>The code I provide in itself is extremely simple. It&#8217;s the shell of a gallery image. But by adding a few extra JQuery functions like FadeIn/FadeOut, you can develop the gallery into something beautiful.</p>
<h4>Be careful &#8211; word of warning</h4>
<p>The image naming convention is very important with this script. So if you don&#8217;t understand the code, it&#8217;s best to stick to the naming convention I&#8217;ve provided in the download.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightcherry.co.uk/scribbles/simple-jquery-php-image-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery &#8211; Hover And Show Next Element</title>
		<link>http://www.brightcherry.co.uk/scribbles/jquery-hover-and-show-next-element/</link>
		<comments>http://www.brightcherry.co.uk/scribbles/jquery-hover-and-show-next-element/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 16:12:37 +0000</pubDate>
		<dc:creator>adm1n</dc:creator>
				<category><![CDATA[jQuery Scripts & Helpful Snippets]]></category>

		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=291</guid>
		<description><![CDATA[So, this JQuery code shows the next element (a DIV in this case) when you hover over a &#8220;trigger&#8221; (in this case, the triggers are hyperlinks), and then hides the element (the DIV and its contents) once you hover out. Below is a demo of exactly what I mean&#8230; Demo Link- Gallery Take a look [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript">
	$(function() {
		$(".demo_containers .sub a").hover(function() {
			$(this).next("div").show("slow");
		},function(){
			$(this).next("div").hide("slow");
		});
	});
</script></p>
<p>So, this JQuery code shows the next element (a DIV in this case) when you hover over a &#8220;trigger&#8221; (in this case, the triggers are hyperlinks), and then hides the element (the DIV and its contents) once you hover out. Below is a demo of exactly what I mean&#8230;</p>
<div class="demo_containers">
<div class="sub"><a href="#">Demo Link- Gallery</a>
<div class="desc">Take a look at some of our projects, ranging from CSS to eCommerce websites.</div>
</div>
<div class="sub"><a href="#">Demo Link- About Us</a>
<div>Read more about BrightCherry- what we do, how we do it and how we started.</div>
</div>
</div>
<h4>Here&#8217;s the code</h4>

<div class="wp_codebox"><table><tr id="p29112"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
</pre></td><td class="code" id="p291code12"><pre class="html" style="font-family:monospace;">&lt;html&gt;
 &lt;head&gt;
  &lt;script src=&quot;http://code.jquery.com/jquery-latest.min.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt; 
  $(function() {
   $(&quot;.demo_containers .sub a&quot;).hover(function() {
    $(this).next(&quot;div&quot;).show(&quot;slow&quot;);
    },function(){
    $(this).next(&quot;div&quot;).hide(&quot;slow&quot;);
   });
  });   
  &lt;/script&gt;
 &lt;style type=&quot;text/css&quot;&gt;
 .demo_containers .sub div{
  display:none;
 }	
 &lt;/style&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;div class=&quot;demo_containers&quot;&gt;
  &lt;div class=&quot;sub&quot;&gt;
   &lt;a href=&quot;#&quot;&gt;Demo Link- Gallery&lt;/a&gt;
   &lt;div class=&quot;desc&quot;&gt;
    Take a look at some of our projects, ranging from CSS to eCommerce websites.
   &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;sub&quot;&gt;
   &lt;a href=&quot;#&quot;&gt;Demo Link- About Us&lt;/a&gt;
   &lt;div&gt;
    Read more about BrightCherry- what we do, how we do it and how we started.
   &lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>That&#8217;s a very basic example. </p>
<h4>Using the parent() function</h4>
<p>This feature can get more complicated if the trigger (the hyperlink) is wrapped in an extra element. For example, if the code looked like this:</p>

<div class="wp_codebox"><table><tr id="p29113"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p291code13"><pre class="html" style="font-family:monospace;">  &lt;div class=&quot;sub&quot;&gt;
   &lt;span&gt; 
    &lt;a href=&quot;#&quot;&gt;Demo Link- Gallery&lt;/a&gt;
   &lt;/span&gt; 
   &lt;div class=&quot;desc&quot;&gt;
    Take a look at some of our projects, ranging from CSS to eCommerce websites.
   &lt;/div&gt;
  &lt;/div&gt;</pre></td></tr></table></div>

<p>If you look carefully, the trigger (hyperlink) now has an extra span tag around it. The previous JQuery code will no longer work because the &#8220;next&#8221; element after the hyperlink (a tag) is no longer the DIV you want to show, it&#8217;s the SPAN tag.</p>

<div class="wp_codebox"><table><tr id="p29114"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code" id="p291code14"><pre class="html" style="font-family:monospace;">  &lt;script type=&quot;text/javascript&quot;&gt; 
  $(function() {
   $(&quot;.demo_containers .sub a&quot;).hover(function() {
    $(this).parent().next(&quot;div&quot;).show(&quot;slow&quot;);
    },function(){
    $(this).parent().next(&quot;div&quot;).hide(&quot;slow&quot;);
   });
  });   
  &lt;/script&gt;</pre></td></tr></table></div>

<p>In order to get the code to work we need to access the next element after the SPAN, which is why we need the parent() function to select the parent of the hyperlink (which is the SPAN tag), and then select the &#8220;next&#8221; DIV element after the SPAN.</p>
<p>I&#8217;m probably not explaining it very well, but the example code should explain it better than I do <img src='http://www.brightcherry.co.uk/scribbles/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightcherry.co.uk/scribbles/jquery-hover-and-show-next-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax- JQuery Hovering/Expanding Info Box</title>
		<link>http://www.brightcherry.co.uk/scribbles/ajax-jquery-hoveringexpanding-info-box/</link>
		<comments>http://www.brightcherry.co.uk/scribbles/ajax-jquery-hoveringexpanding-info-box/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 19:53:52 +0000</pubDate>
		<dc:creator>adm1n</dc:creator>
				<category><![CDATA[jQuery Scripts & Helpful Snippets]]></category>

		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=268</guid>
		<description><![CDATA[I looked high and low for an &#8220;AJAX hovering/expanding info box&#8221;, but I couldn&#8217;t really find anything decent that worked in all browsers. Most of them choked when using I.E. I may have even been Googling the wrong keyphrase, I&#8217;m not even sure I named this effect the right thing&#8230; For those of you who [...]]]></description>
			<content:encoded><![CDATA[<p>I looked high and low for an &#8220;AJAX hovering/expanding info box&#8221;, but I couldn&#8217;t really find anything decent that worked in all browsers. Most of them choked when using I.E. I may have even been Googling the wrong keyphrase, I&#8217;m not even sure I named this effect the right thing&#8230;</p>
<p>For those of you who don&#8217;t have a clue what I&#8217;m talking about, I mean something like this:</p>
<p><img src="http://www.brightcherry.co.uk/images/blogimages/jquery-expanding-info-box.jpg" title="JQuery Hovering/Expanding Info Box" alt="JQuery Hovering/Expanding Info Box" /></p>
<p>So basically, there are 3 panels, and when you hover one, the panel expands with further information.</p>
<p>As I said, I couldn&#8217;t find anything precisely to the criteria I required, so I decided to try and write my own. The code is really simple, and from what I&#8217;ve tested, it works in most browsers, including I.E 6. It&#8217;s quite smooth, but it&#8217;s not animated. I&#8217;m sure someone can improve the code to make it a lot smoother.</p>
<p>Anyways, I still think the end result is pretty cool (even though quite basic). The actual CSS was more of a pain than the AJAX, purely because of cross-browser issues.</p>
<h4>Demo</h4>
<p><a href="http://www.brightcherry.co.uk/code_examples/jquery-expanding-info-box/" target="new" rel="nofollow">JQuery Hovering/Expanding Info Box Demo</a></p>
<h4>Download</h4>
<p><a href="http://www.brightcherry.co.uk/downloads/jquery-expanding-info-box.zip" target="new" rel="nofollow">JQuery Hovering/Expanding Info Box Download</a></p>
<p>If anyone actually uses this, let me know how it works out. Additionally, if anyone has any improvements to the code, i&#8217;d love to see it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightcherry.co.uk/scribbles/ajax-jquery-hoveringexpanding-info-box/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

