<?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>PVM Garage &#187; jQuery</title>
	<atom:link href="http://www.pvmgarage.com/tags/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pvmgarage.com</link>
	<description>Web Design and Development with passion. Free template, tutorials, html, css, freebies for web and graphic designer</description>
	<lastBuildDate>Tue, 08 May 2012 22:48:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nice And Simple Toolbar For Your Website With CSS3 And jQuery</title>
		<link>http://www.pvmgarage.com/2009/12/nice-and-simple-toolbar-for-your-website-with-css3-and-jquery/</link>
		<comments>http://www.pvmgarage.com/2009/12/nice-and-simple-toolbar-for-your-website-with-css3-and-jquery/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:40:31 +0000</pubDate>
		<dc:creator>Piervincenzo Madeo</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.pvmgarage.com/en/?p=1081</guid>
		<description><![CDATA[During these months I&#8217;ve learned an important lesson as blogger. If you want to start an activity on the web with a blog, magazine or a general website, you must plan a clever action on the Social Networking and Bookmarking websites.
Often it&#8217;s an hard thing to interface a website with the many available social services, but recently there are some famous blogs, like Abduzeedo and Mashable, that are using a fixed toolbar on the bottom of the page with useful ...]]></description>
			<content:encoded><![CDATA[<p>During these months I&#8217;ve learned an important lesson as blogger. If you want to start an activity on the web with a blog, magazine or a general website, you must plan a clever action on the Social Networking and Bookmarking websites.<br />
Often it&#8217;s an hard thing to interface a website with the many available social services, but recently there are some famous blogs, like <a href="http://abduzeedo.com">Abduzeedo</a> and <a href="http://mashable.com">Mashable</a>, that are using a <strong>fixed toolbar on the bottom of the page</strong> with useful button for the sharing.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbar1.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /></p>
<p>There are services, like <a href="http://www.wibiya.com">Wibiya</a>, that allow to add a toolbar in a few steps, but why don&#8217;t you create a really custom panel using your CSS and jQuery skills?<br />
In this tutorial we&#8217;ll learn <strong>how to build a nice toolbar for our website using some CSS3 properties and basic jQuery techniques</strong>.</p>
<h2>The Idea Behind</h2>
<p>Our goal is to realize a fixed panel, on the bottom of the page, to improve interaction with our users.<br />
Well, below you can see my idea in &#8220;visible status&#8221; (I&#8217;ve designed it using Photoshop). In this post we&#8217;ll use some basic techniques to realize the panel, after the reading only your fantasy could be a limit to enhance the toolbar for you purposes.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbar2.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /></p>
<p><img src="http://www.pvmgarage.com/contenuti/2009/11/toolbar3.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /></p>
<p>So a panel with social icons and their tooltip bubbles on the left side and a quick menu on the right. Some features we want for our bar:</p>
<ul>
<li>Hide/Show toolbar clicking on specific buttons</li>
<li>Adaptive width during the resizing of the window</li>
<li>Tooltip Bubble when the mouse is moved over an icon</li>
<li>Quick Menu Panel on the right side</li>
<li>Cross Browser Compatibility</li>
</ul>
<h2>Live Demo and Source Files</h2>
<p>To view in action the <a href="http://www.pvmgarage.com/downloads/newsaggregator_toolbar">final result</a> click below on preview button. You can also <a href="http://www.pvmgarage.com/downloads/Toolbar_PVMGARAGE.zip">download the source files</a>.<br />
The toolbar has been thought to be added to the News Aggregator that we built in a previous tutorial, <a href="http://www.pvmgarage.com/en/2009/07/how-to-realize-a-news-aggregator-using-simple-in-an-adaptive-layout/">&#8220;How To Realize A News Aggregator Using Simple Pie In An Adaptive Layout&#8221;</a> (if you want to see only the toolbar in action, please <a href="http://www.pvmgarage.com/downloads/toolbar/">click here</a>).</p>
<p><a href="http://www.pvmgarage.com/downloads/newsaggregator_toolbar"><img src="http://www.pvmgarage.com/contenuti/2009/11/toolbarprev.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /></a></p>
<div style="float: left; width:185px; height: 64px; margin-right: 15px; margin-top:0px;"><a href="http://www.pvmgarage.com/downloads/newsaggregator_toolbar" target="_blank"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/anteprima-but.jpg" alt="Download Source" /></a></div>
<div style="float: left; width:185px; height: 64px;"><a href="http://www.pvmgarage.com/downloads/Toolbar_PVMGARAGE.zip"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/downloadbut.jpg" alt="Download Source" /></a></div>
<div style="width: 100%; clear: both; height: 45px;"></div>
<h2>The Basic Structure</h2>
<p>We&#8217;ll update the HTML code of <em>index.php</em> and the CSS code of <em>style.css</em> of the News Aggregator. </p>
<p>We build a fixed panel (div with id <em>toolbar</em>) with two floating sides where we will add in a second step the list with the icons and their tip bubbles (left), a quick menu and the &#8220;hide button&#8221; (to hide the toolbar ).<br />
We can also expect a &#8220;show button&#8221;, it is useful when the panel is hidden and we want to re-activate it. For this reason we add the <em>div</em> tag with id <em>toolbarbut</em>. </p>
<h3>HTML and CSS code</h3>
<p>Here the html basic structure.</p>
<pre class="brush: html;">
&lt;div id="toolbarbut"&gt;
  &lt;!-- hide button --&gt;
&lt;/div&gt;

&lt;div id="toolbar"&gt; &lt;!-- toolbar container --&gt;

  &lt;div class="leftside"&gt;
    &lt;!-- all icons in floating left side --&gt;
  &lt;/div&gt;

  &lt;div class="rightside"&gt; &lt;!-- all things in floating right side --&gt;
    &lt;!-- hide button --&gt;
    &lt;!-- quick menu list --&gt;
  &lt;/div&gt;

&lt;/div&gt;
</pre>
<p>Update <em>style.css</em> using the following lines of code (take a look at the comments).</p>
<pre class="brush: css;">
div#toolbar, div#toolbarbut {
  position: fixed; /* set fixed position for the bar */
  bottom: 0px;
  right: 0px;
  z-index: 9999; /* keep the bar on top  */
  height: 36px;
  background: url(images/bcktool.png);
  /* CSS3 */
  -moz-border-radius-topleft: 8px;
	-khtml-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topright: 8px;
	-khtml-border-radius-topright: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-box-shadow: 0px 1px 10px #666, inset 1px 1px 0px #a4a4a4; /* inset creates a inner-shadow */
  -khtml-box-shadow: 0px 1px 10px #666;
  -webkit-box-shadow: 0px 1px 10px #666;
  /* CSS3 end */
	border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

div#toolbar {
  width: 85%;
  min-width: 700px; /* to limit the width when there is an excessive window resize */
  margin: 0px auto; /* centered toolbar */
  left: 0px;
}

div#toolbar a:hover {
  border: none; /* fix 'hover' (a:hover {border-bottom: 1px dotted #666;}) border in the News Aggregator */
}

div#toolbarbut { /* div for the 'hide status' */
  width: 60px;
  height: 15px;
  margin-right: 3%;
  display: none;
}

.leftside {
  float: left;
}

.rightside {
  float: right;
}
</pre>
<p>It&#8217;s important to note that we have just added a nice shadow effect and rounded borders <strong>exclusively using CSS code</strong>.</p>
<h3>Show/Hide Buttons</h3>
<p>Now we can add the code for the &#8220;show button&#8221;.</p>
<pre class="brush: html;">
&lt;div id="toolbarbut"&gt; &lt;!-- hide button --&gt;
&lt;span class="showbar"&gt;&lt;a href="#"&gt;show bar&lt;/a&gt;&lt;/span&gt;
&lt;/div&gt;
</pre>
<p>Below the properties for the relative CSS class.</p>
<pre class="brush: css;">
span.showbar a { /* show button */
  padding: 5px;
  font-size: 10px;
  color: #989898;
}
</pre>
<p>We complete the right side later, but now we can add the &#8220;hide button&#8221; within the <em>div</em> with id <em>rightside</em>, as shown.</p>
<pre class="brush: html;">
&lt;div class="rightside"&gt;
  &lt;span class="downarr"&gt; &lt;!-- hide button --&gt;
  &lt;a href="#"&gt;&lt;/a&gt;
  &lt;/span&gt;

  &lt;!-- other stuff in floating right side --&gt;

&lt;/div&gt;
</pre>
<p>Properties for the relative CSS class.</p>
<pre class="brush: css;">
/*-- Right Side --*/

span.downarr { /* hide button */
  float: right;
  border-left: 1px solid #a4a4a4;
}

span.downarr a {
  display: block;
  width: 36px;
  height: 26px;
  padding: 25px 0 0 10px;
  background: url(images/downarrow.png) no-repeat 5px 7px;
}
</pre>
<h3>Show/Hide Effect with jQuery</h3>
<p>First of all we need to <a href="http://jquery.com">download jQuery</a> (copy it in the right folder) and activate it in <em>head</em> tag of <em>index.php</em>.</p>
<pre class="brush: html;">
&lt;head&gt;
&lt;!-- ... --&gt;
&lt;script type="text/javascript" src="js/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
&lt;/head&gt;
</pre>
<p>We want to hide the panel clicking on &#8220;hide button&#8221;, when the toolbar isn&#8217;t visible there should be the &#8220;show button&#8221; that allows us to restore the panel.<br />
We can use the following jQuery solution (add the code after the <em>&lt;body&gt;</em> tag).</p>
<pre class="brush: javascript;">
&lt;script type="text/javascript"&gt;

$(document).ready(function(){

  //hide toolbar and make visible the 'show' button
	$("span.downarr a").click(function() {
    $("#toolbar").slideToggle("fast");
    $("#toolbarbut").fadeIn("slow");
  });

  //show toolbar and hide the 'show' button
  $("span.showbar a").click(function() {
    $("#toolbar").slideToggle("fast");
    $("#toolbarbut").fadeOut();
  });

});

&lt;/script&gt;
</pre>
<p>Now we can hide and show the bar whenever we want.</p>
<h2>Left Side</h2>
<p>In this space we add a list of Social Network Icons (we use <a href="http://tydlinka.deviantart.com/art/Set-of-social-icons-109435724">&#8220;Set of social icons&#8221; by Tydlinka</a>), with a particularity: we want to show tooltip when the mouse is moved over a list element.</p>
<h3>HTML and CSS code for the Left Side</h3>
<p>Update the index with the following XHTML code. We add a general unordered list (with id <em>social</em>) to create the sequence of the icons and a <em>div</em> tag (with class <em>tip</em>) nested within the <em>li</em> tag of the general list to realize the tooltip bubble.</p>
<pre class="brush: html;">
&lt;div class="leftside"&gt; &lt;!-- all things in floating left side --&gt;
  &lt;ul id="social"&gt;
    &lt;li&gt;&lt;a class="rss" href="#"&gt;&lt;/a&gt;&lt;!-- icon --&gt;
      &lt;div id="tiprss" class="tip"&gt;&lt;!-- tooltip --&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;580 Readers&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;&lt;small&gt;[Subscribe]&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="facebook" href="#"&gt;&lt;/a&gt;
      &lt;div id="tipfacebook" class="tip"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Share Page&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;| Profile&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="twitter" href="#"&gt;&lt;/a&gt;
      &lt;div id="tiptwitter" class="tip"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;ReTweet&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;| Profile&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="delicious" href="#"&gt;&lt;/a&gt;
      &lt;div id="tipdelicious" class="tip"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Bookmark&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;| Profile&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="digg" href="#"&gt;&lt;/a&gt;
      &lt;div id="tipdigg" class="tip"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Digg&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;| Profile&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="stumble" href="#"&gt;&lt;/a&gt;
      &lt;div id="tipstumble" class="tip"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Stumble&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;| Profile&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
</pre>
<p>And now the CSS code. We use <em>position: absolute;</em> to set-up a custom position for the tip bubble.</p>
<pre class="brush: css;">
/*-- Left Side --*/

ul#social li {
  display: inline;
}

a.rss {
  display: inline-block;
  width: 104px;
  height: 35px;
  margin-left: 5px;
  background: url(images/rss.png) no-repeat;
}

a.facebook, a.twitter, a.digg, a.delicious, a.stumble {
  display: inline-block;
  width: 40px;
  height: 35px;
  margin-top: 1px;
}

a.rss:hover, a.facebook:hover, a.twitter:hover, a.digg:hover, a.delicious:hover, a.stumble:hover {
  background-position: 1px 1px; /* simple css hover effect */
}

a.facebook {
  background: url(images/facebook.png) no-repeat;
}

a.twitter {
  background: url(images/twitter.png) no-repeat;
}

a.delicious {
  background: url(images/delicious.png) no-repeat;
}

a.digg {
  background: url(images/digg.png) no-repeat;
}

a.stumble {
  background: url(images/stumble.png) no-repeat;
}

.tip {
  position: absolute; /* important */
  top: -75px;
  width: 250px;
  height: 78px;
  background: url(images/tip.png) no-repeat;
  float: left;
  display: none;
}

/* custom distances for the icons */
#tipfacebook {
  left: 75px;
}

#tiptwitter {
  left: 120px;
}

#tipdelicious {
  left: 165px;
}

#tipdigg {
  left: 210px;
}

#tipstumble {
  left: 255px;
}

.tip ul {
  padding: 22px 0 0 25px;
}

.tip ul li {
  display: inline;
  padding-left: 3px;
}

.tip ul li a {
  font-size: 18px;
  color: #989898;
}       

.tip ul li a:hover {
  color: #666;
}

.tip ul li small {
  font-size: 10px;
}
</pre>
<h3>Use jQuery to Set-up the Hover Effect for Tooltip Bubbles</h3>
<p>It&#8217;s time to add a nice effect for our bubbles. As usual, with some lines of code, jQuery allows us to create a nice menu for sharing our pages on the Social Networking and Bookmarking websites.</p>
<pre class="brush: javascript;">
//show tooltip when the mouse is moved over a list element
  $("ul#social li").hover(function() {
		$(this).find("div").fadeIn("fast").show(); //add 'show()'' for IE
    $(this).mouseleave(function () { //hide tooltip when the mouse moves off of the element
        $(this).find("div").hide();
    });
  });
</pre>
<h2>Right Side</h2>
<p>Now near the &#8220;hide button&#8221; we add a useful quick menu. </p>
<h3>HTML and CSS code for the Right Side</h3>
<p>Here the complete code. We use a <em>span</em> for the menu title and a new <em>div</em> (with id <em>quickmenu</em>) for the new panel.</p>
<pre class="brush: html;">
&lt;div class="rightside"&gt; &lt;!-- all things in floating right side --&gt;
  &lt;span class="downarr"&gt; &lt;!-- hide button --&gt;
  &lt;a href="#"&gt;&lt;/a&gt;
  &lt;/span&gt;
  &lt;span class="menu_title"&gt;
    &lt;a class="menutit" href="#"&gt;quick menu&lt;/a&gt; &lt;!-- quick menu title --&gt;
  &lt;/span&gt;
  &lt;div class="quickmenu"&gt;
    &lt;ul&gt; &lt;!-- quick menu list --&gt;
      &lt;li&gt;&lt;a href="#"&gt;Premium Member&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Become Author&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Submit News&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Send Feedback&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Privacy Policy&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
</pre>
<p>And now the style!</p>
<pre class="brush: css;">
/*-- Right Side --*/

span.downarr { /* hide button */
  float: right;
  border-left: 1px solid #a4a4a4;
}

span.downarr a {
  display: block;
  width: 36px;
  height: 26px;
  padding: 25px 0 0 10px;
  background: url(images/downarrow.png) no-repeat 5px 7px;
}

span.menu_title {
  background: #e4e4e4;
  border-left: 1px solid #a4a4a4;
  padding: 10px;
}

span.menu_title a {
  font-size: 16px;
  line-height: 34px;
  color: #9a9a9a;
}

.quickmenu {
  position: absolute; /* important */
  top: -251px;
  right: 46px;
  width: 260px;
  height: 250px;
  background: #e4e4e4;
	border-top: 1px solid #a4a4a4;
  border-left: 1px solid #a4a4a4;
  border-right: 1px solid #a4a4a4;
  /* CSS3 */
  -moz-box-shadow: 2px -3px 5px #c5c5c5, -3px 0px 5px #cdcdcd;
  -khtml-shadow: 2px -3px 5px #c5c5c5, -3px 0px 5px #cdcdcd;
  -webkit-box-shadow: 2px -3px 5px #c5c5c5, -3px 0px 5px #cdcdcd;
  /* CSS3 end */
  display: none; /* important */
}

.quickmenu ul {
  padding-top: 20px;
}

.quickmenu ul li {
  border-bottom: 1px solid #989898;
  padding: 5px 10px;
  margin: 0 15px 0 15px;
}

.quickmenu ul li a {
  font-size: 18px;
  color: #989898;
  display: block;
}

.quickmenu ul li a:hover {
  color: #666;
}
</pre>
<h3>Show/Hide QuickMenu Panel on Click Event</h3>
<p>Below you can see the jQuery code used to make visible or hidden the menu panel clicking on menu title (tag <em>a</em> with class <em>menutit</em>). We also add a little fix to avoid the jump to link anchor (#).  </p>
<pre class="brush: javascript;">
//show quick menu on click
	$("span.menu_title a").click(function() {
		if($(".quickmenu").is(':hidden')){ //if quick menu isn't visible
			$(".quickmenu").fadeIn("fast"); //show menu on click
		}
		else if ($(".quickmenu").is(':visible')) { //if quick menu is visible
      $(".quickmenu").fadeOut("fast"); //hide menu on click
    }
	});

	//hide menu on casual click on the page
	$(document).click(function() {
			$(".quickmenu").fadeOut("fast");
	});
	$('.quickmenu').click(function(event) {
		event.stopPropagation(); //use .stopPropagation() method to avoid the closing of quick menu panel clicking on its elements
	});

	//don't jump to #id link anchor
  $(".facebook, .twitter, .delicious, .digg, .rss, .stumble, .menutit, span.downarr a, span.showbar a").click(function() {
   return false;
	});
</pre>
<p>That&#8217;s all friend! <a href="http://www.pvmgarage.com/downloads/toolbar.txt">Click here to visualize the complete code</a>.</p>
<h2>Conclusions</h2>
<p>I think this kind of solution is useful to enhance interaction with your users, it can simplify the sharing of the contents and it could be really useful to improve your presence on the Social Networking websites. Think also at the possibility of providing quick-links for your readers to increase the page views .</p>
<p>It&#8217;s a good idea to validate the toolbar code and to test the browser compatibility.</p>
<h3>W3C Validation</h3>
<p>Response: &#8220;This document was successfully checked as XHTML 1.0 Strict!&#8221;<br />
<a href="http://validator.w3.org/check?uri=http://www.pvmgarage.com/downloads/toolbar/"><img src="http://www.pvmgarage.com/contenuti/2009/11/toolbar4.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /></a></p>
<h3>Browser Compatibility</h3>
<p>Some screenshots from different browsers (Windows 7 OS).<br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbarprevfirefox.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /><br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbarprevsafari.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /><br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbarprevchrome.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /><br />
<img src="http://www.pvmgarage.com/contenuti/2009/11/toolbarprevie.jpg" alt="Nice And Simple Toolbar For Your Website with CSS3 And jQuery" /> </p>
<p>A little note: the images for this tutorial are in <em>images</em> folder in the archive with the source files, where you can also find a complete layered psd file of the toolbar. <a href="http://www.pvmgarage.com/downloads/Toolbar_PVMGARAGE.zip">Download it</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/12/nice-and-simple-toolbar-for-your-website-with-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>168</slash:comments>
		</item>
		<item>
		<title>Plugins And Tutorials To Enhance The Images Of Your Website With jQuery</title>
		<link>http://www.pvmgarage.com/2009/10/plugins-and-tutorials-to-enhance-the-images-of-your-website-with-jquery/</link>
		<comments>http://www.pvmgarage.com/2009/10/plugins-and-tutorials-to-enhance-the-images-of-your-website-with-jquery/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 11:34:04 +0000</pubDate>
		<dc:creator>Piervincenzo Madeo</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://91.194.90.123/en/?p=1012</guid>
		<description><![CDATA[In modern Web Development the Javascript Frameworks have a great spread for their versatility and for their usability. I daily use jQuery, maybe the most famous framework, to make rich my websites.
In this post I&#8217;ve collected some resources that can be useful to enhance the images in many web projects. A complete list of plugins and tutorials that will be useful to improve the quality of your next works. Enjoy!
Don’t forget, you are free to suggest additional resources in the ...]]></description>
			<content:encoded><![CDATA[<p>In modern Web Development the Javascript Frameworks have a great spread for their versatility and for their usability. I daily use <a href="http://jquery.com/">jQuery</a>, maybe the most famous framework, to make rich my websites.<br />
In this post I&#8217;ve collected some resources that can be useful to enhance the images in many web projects. <strong>A complete list of plugins and tutorials that will be useful to improve the quality of your next works</strong>. Enjoy!</p>
<p>Don’t forget, you are free to suggest additional resources in the comments to this post.</p>
<h2>Plugins and Scripts</h2>
<div class="post_div">
<h3>Supersized – Full Screen Background/Slideshow jQuery Plugin</h3>
<p>So, what exactly does Supersized do? Resizes images to fill browser while maintaining image dimension ratio; cycles Images/backgrounds via slideshow with transitions and preloading; navigation controls allow for pause/play and forward/back<br />
<a href="http://www.buildinternet.com/project/supersized/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg01.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.buildinternet.com/project/supersized/">Direct Link</a></div>
<div class="go-to"><a href="http://www.buildinternet.com/project/supersized/default.php">Live Demo</a></div>
</div>
<div class="post_div">
<h3>ThickBox 3.1</h3>
<p>ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.<br />
<a href="http://jquery.com/demo/thickbox/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg02.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://jquery.com/demo/thickbox/">Direct Link</a></div>
<div class="go-to"><a href="http://jquery.com/demo/thickbox/#examples">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Easy Slider 1.7 &#8211; Numeric Navigation jQuery Slider</h3>
<p>Easy Slider (as I call this plugin) enables images or any content to slide horizontally or vertically on click. It is configurable with css alone. So, basically you link to plugin file, set the content up and style it with css.<br />
<a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg03.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider">Direct Link</a></div>
<div class="go-to"><a href="http://cssglobe.com/lab/easyslider1.7/03.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery Cycle Plugin</h3>
<p>The jQuery Cycle Plugin is a lightweight slideshow plugin. Its implementation is based on the InnerFade Plugin by Torsten Baldes, the Slideshow Plugin by Matt Oakes, and the jqShuffle Plugin by Benjamin Sterling. It supports pause-on-hover, auto-stop, auto-fit, before/after callbacks, click triggers and many transition effects. It also supports, but does not require, the Metadata Plugin and the Easing Plugin.<br />
<a href="http://www.malsup.com/jquery/cycle/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg04.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.malsup.com/jquery/cycle/">Direct Link</a></div>
<div class="go-to"><a href="http://www.malsup.com/jquery/cycle/#demos">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery Corner Demo</h3>
<p>This plugin was originally written by Dave Methvin.<br />
Dave and I collaborated on several improvements and the project is now hosted on github.<br />
<a href="http://www.malsup.com/jquery/corner/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg05.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.malsup.com/jquery/corner/">Direct Link</a></div>
<div class="go-to"><a href="http://www.malsup.com/jquery/corner/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>JQZoom</h3>
<p>JQZoom is a javascript image magnifier built at the top of the popular jQuery javascript framework.jQzoom is a great and a really easy to use script to magnify what you want.<br />
<a href="http://www.mind-projects.it/projects/jqzoom/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg06.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.mind-projects.it/projects/jqzoom/">Direct Link</a></div>
<div class="go-to"><a href="http://www.mind-projects.it/projects/jqzoom/demos.php#demo4">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Galleriffic</h3>
<p>Galleriffic was inspired by Mike Alsup&#8217;s Cycle plugin, but with performance in mind for delivering a high volume of photos. This is my first experiment with jQuery, so I would love feedback on how to improve this plugin. I am not so great at spelling, and it was much later that I realized that the more appropriate spellings would be Gallerific or Gallerrific, but is too late now for a name change, so Galleriffic remains.<br />
<a href="http://www.twospy.com/galleriffic/#1"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg07.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.twospy.com/galleriffic/#1">Direct Link</a></div>
<div class="go-to"><a href="http://www.twospy.com/galleriffic/advanced.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery maxImage Plugin</h3>
<p>This plugin will resize and scale targeted images to their max width according to the image ratio, the browser size and some simple options. Change the size of your browser to see it&#8217;s effect.<br />
<a href="http://www.aaronvanderzwan.com/maximage/bg.php"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg09.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.aaronvanderzwan.com/maximage/bg.php">Direct Link</a></div>
<div class="go-to"><a href="http://www.aaronvanderzwan.com/maximage/bg.php">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Jcrop, the jQuery Image Cropping Plugin</h3>
<p>Jcrop is the quick and easy way to add image cropping functionality to your web application. It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications.<br />
<a href="http://deepliquid.com/content/Jcrop.html"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg10.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://deepliquid.com/content/Jcrop.html">Direct Link</a></div>
<div class="go-to"><a href="http://deepliquid.com/content/Jcrop_Examples.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery Infinite Carousel Plugin 1.2 Released</h3>
<p>An Infinite Carousel Plugin to allow jumping around the sequence of images was the easy part.<br />
<a href="http://www.catchmyfame.com/2009/08/27/jquery-infinite-carousel-plugin-1-2-released/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg11.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.catchmyfame.com/2009/08/27/jquery-infinite-carousel-plugin-1-2-released/">Direct Link</a></div>
<div class="go-to"><a href="http://www.catchmyfame.com/2009/08/27/jquery-infinite-carousel-plugin-1-2-released/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Interface Imagebox</h3>
<p>Interface Imagebox is an interface plugin for jQuery that allows a nice visualization of images and photos.<br />
<a href="http://www.intelliance.fr/jquery/imagebox/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg12.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.intelliance.fr/jquery/imagebox/">Direct Link</a></div>
<div class="go-to"><a href="http://www.intelliance.fr/jquery/imagebox/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery LightBox Plugin</h3>
<p>jQuery lightBox plugin is simple, elegant, unobtrusive, no need extra markup and is used to overlay images on the current page through the power and flexibility of jQuery´s selector.<br />
lightBox is a plugin for jQuery. It was inspired in Lightbox JS by Lokesh Dhakar.<br />
<a href="http://leandrovieira.com/projects/jquery/lightbox/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg13.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://leandrovieira.com/projects/jquery/lightbox/">Direct Link</a></div>
<div class="go-to"><a href="http://leandrovieira.com/projects/jquery/lightbox/#example">Live Demo</a></div>
</div>
<div class="post_div">
<h3>piroBox Version 1.1 for jQuery 1.3.1</h3>
<p>piroBox jQuery plugin is another plugin in LightBox style.<br />
<a href="http://www.pirolab.it/pirobox/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg14.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.pirolab.it/pirobox/">Direct Link</a></div>
<div class="go-to"><a href="http://www.pirolab.it/pirobox/index_b.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Animated JavaScript Slideshow</h3>
<p>This dynamic JavaScript slideshow is feature packed and under 5KB. It is the long awaited update to my previous script here. A few new features include description support, link support, no naming restrictions, portrait image support, graceful degradation and active thumbnail status. This script was built ground-up and will soon be included at scriptiny where all my scripts will be added as they are updated, debugged and incorporated in the new TINY namespace.<br />
<a href="http://www.leigeber.com/2008/12/javascript-slideshow/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg15.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.leigeber.com/2008/12/javascript-slideshow/">Direct Link</a></div>
<div class="go-to"><a href="http://sandbox.leigeber.com/javascript-slideshow/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery.popeye 1.0</h3>
<p>Popeye generates an inline image gallery from an unordered list of images. The gallery features clever inline image enlargement, i.e. the enlarged image stretches out over the site content without adding a visual overlay of the whole site. It stays fixed with one edge to its original coordinates, so that a sense of cohesiveness is created in the user interface and interaction.<br />
<a href="http://herr-schuessler.de/blog/jquery-popeye-1-0-released/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimg16.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://herr-schuessler.de/blog/jquery-popeye-1-0-released/">Direct Link</a></div>
<div class="go-to"><a href="http://dev.herr-schuessler.de/examples/jquery-popeye-1-0/">Live Demo</a></div>
</div>
<h2>jQuery Tutorials</h2>
<div class="post_div">
<h3>Sliding Boxes and Captions with jQuery</h3>
<p>All of these sliding box animations work on the same basic idea. There is a div tag (.boxgrid in my css) that essentially acts as a window where two other items of your choosing &#8220;peek&#8221; through.<br />
From this basic idea we can play around with animations of the sliding element to either show or cover up the viewing area, thus creating the sliding effect.<br />
<a href="http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut01.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://buildinternet.com/live/boxes/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Create a Resizable Image Grid with jQuery</h3>
<p>Image grids that smoothly scale at the simple drag of a slider are no longer confined to desktop apps like iPhoto or Picasa. Thanks to some clever CSS and the jQuery UI, fluid image grids are now surprisingly simple to implement on the web.<br />
<a href="http://webdesignledger.com/tutorials/create-a-resizable-image-grid-with-jquery"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut02.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://webdesignledger.com/tutorials/create-a-resizable-image-grid-with-jquery">Direct Link</a></div>
<div class="go-to"><a href="http://demos.webdesignledger.com/jquery_image_grid/example2.htm">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Animate Curtains Opening with jQuery</h3>
<p>This tutorial would not be anything special without the graphics, so let’s make sure you’ve got those under control. They have included the ones used in demo as part of the attached files, now would be a good time to download them if you intend to use them.</p>
<p>Secondly, in addition to the standard jQuery file, they are also using the easing plugin. They have worked with this plugin in previous tutorials but in this case they will use it to provide a bounce effect when the rope is pulled.<br />
<a href="http://buildinternet.com/2009/07/animate-curtains-opening-with-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut03.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://buildinternet.com/2009/07/animate-curtains-opening-with-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://buildinternet.com/live/curtains/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>BBC Radio 1 Zoom Tabs</h3>
<p>How to achieve the effect on the latest BBC Radio 1 website, where the mouse rolls over the image block, tabs slide up and the image zooms a little to reveal more of the picture.<br />
<a href="http://jqueryfordesigners.com/bbc-radio-1-zoom-tabs/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut04.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://jqueryfordesigners.com/bbc-radio-1-zoom-tabs/">Direct Link</a></div>
<div class="go-to"><a href="http://jqueryfordesigners.com/demo/radio1.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>jQuery virtual tour</h3>
<p>This is an extension to the simple panorama viewer that allows you to play a little bit more with jQuery by adding interactivity to transform some panoramic views into a virtual tour!<br />
<a href="http://www.openstudio.fr/jQuery-virtual-tour.html?lang=en"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut05.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.openstudio.fr/jQuery-virtual-tour.html?lang=en">Direct Link</a></div>
<div class="go-to"><a href="http://openstudio.fr/jquery-virtual-tour/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Creating a polaroid photo viewer with CSS3 and jQuery </h3>
<p>Italy. A beautiful country that my girlfriend and me visited last year during our summer holiday. While we were there, we took a lot of pictures that would look pretty nice on polaroid.</p>
<p>Placing them on simple polaroids on a webpage simply didn&#8217;t do it for me. I wanted to drag them around, rotate them and still have a fun time. That&#8217;s were CSS and jQuery come in play. By combining the CSS3 Box Shadow and Rotate properties, this effect is relatively easy to create. When dragging a polaroid around, you&#8217;ll see the shadow. When it&#8217;s placed down, it&#8217;s rotated to the left or the right (random).<br />
<a href="http://www.marcofolio.net/webdesign/creating_a_polaroid_photo_viewer_with_css3_and_jquery.html"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut06.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.marcofolio.net/webdesign/creating_a_polaroid_photo_viewer_with_css3_and_jquery.html">Direct Link</a></div>
<div class="go-to"><a href="http://demo.marcofolio.net/polaroid_photo_viewer/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Create a unique gallery by using z-index and jQuery</h3>
<p>In this tutorial we will combine the CSS property ‘z-index’ and the power of jQuery to create a unique gallery which have a appearance of a pile of pictures.<br />
<a href="http://thisblog.usejquery.com/2009/03/18/create-a-unique-gallery-by-using-z-index-and-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut07.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://thisblog.usejquery.com/2009/03/18/create-a-unique-gallery-by-using-z-index-and-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://demos.usejquery.com/03_z-index_gallery/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Make Your Header Responses To Mouse Movements with jParallax </h3>
<p>jParallax turns a selected element into a ‘window’, or viewport, and all its children into absolutely positioned layers that can be seen through the viewport. These layers move in response to the mouse, and, depending on their dimensions (and options for layer initialisation), they move by different amounts, in a parallaxy kind of way.<br />
<a href="http://design-notes.info/tutorial/jquery-tutorial/make-your-header-responses-to-mouse-movements-with-jparallax/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut08.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://design-notes.info/tutorial/jquery-tutorial/make-your-header-responses-to-mouse-movements-with-jparallax/">Direct Link</a></div>
<div class="go-to"><a href="http://alexandratong.com/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Creating a &#8220;Filterable&#8221; Portfolio with jQuery</h3>
<p>If you have worked in your field for a while, there is a pretty good chance that you have a rather extensive portfolio. To make it a little easier to navigate, you will probably be tempted to break them into different categories. In this tutorial, I will show you how to make &#8220;filtering by category&#8221; a little more interesting with just a little bit of jQuery.<br />
<a href="http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut10.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://nettuts.s3.amazonaws.com/196_jquery/index.htm">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Slider Gallery</h3>
<p>This &#8220;product slider&#8221; is similar to a straight forward gallery, except that there is a slider to navigate the items, i.e. the bit the user controls to view the items. Simple stuff.<br />
<a href="http://jqueryfordesigners.com/slider-gallery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut11.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://jqueryfordesigners.com/slider-gallery/">Direct Link</a></div>
<div class="go-to"><a href="http://jqueryfordesigners.com/demo/slider-gallery.html">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Horizontal Scrolling Menu made with CSS and jQuery</h3>
<p>There are a lot of cool flash scrolling menus out there, but I decided to make a similarly looking menu with just CSS and jQuery. I couldn’t achieve the same smoothness in animation, but anyway I’m really satisfied with the result. My menu works fine in all major browsers and degrades gracefully when Javascript is turned off.<br />
<a href="http://valums.com/scroll-menu-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut12.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://valums.com/scroll-menu-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://valums.com/wp-content/uploads/2009/02/menu/final.htm">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Create an Image Rotator with Description (CSS/jQuery)</h3>
<p>An image rotator is one great way to display portfolio pieces, eCommerce product images, or even as an image gallery. Although there are many great plugins already, this tutorial will help you understand how the image rotator works and helps you create your own from scratch.<br />
<a href="http://designm.ag/tutorials/image-rotator-css-jquery/"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut13.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://designm.ag/tutorials/image-rotator-css-jquery/">Direct Link</a></div>
<div class="go-to"><a href="http://www.sohtanaka.com/web-design/examples/image-rotator/">Live Demo</a></div>
</div>
<div class="post_div">
<h3>Create a Thumbnail with Fading Caption Using jQuery</h3>
<p>Learn how to create another thumbnail effect with fading and transparent caption using jQuery.<br />
<a href="http://www.queness.com/post/844/create-a-thumbnail-with-fading-caption-using-jquery"><img  src="http://www.pvmgarage.com/contenuti/2009/10/jqueryimgtut14.jpg" alt="jQuery plugins and tutorial for the images" /></a></p>
<div class="go-to"><a href="http://www.queness.com/post/844/create-a-thumbnail-with-fading-caption-using-jquery">Direct Link</a></div>
<div class="go-to"><a href="http://www.queness.com/resources/html/thumbnail/index.html">Live Demo</a></div>
</div>
<h2>Other great Resources on the Web</h2>
<p>The following lists of jQuery plugins will help you to improve the usability of your website.</p>
<h3>14 jQuery Plugins for Working with Images</h3>
<p><a href="http://sixrevisions.com/resources/14-jquery-plugins-for-working-with-images/"><img src="http://www.pvmgarage.com/contenuti/2009/10/sixjquery.jpg" alt="Showcase Of Beautiful Sports Websites" /></a></p>
<h3>15 Amazing jQuery Image Gallery/Slideshow Plugins and Tutorials</h3>
<p><a href="http://speckyboy.com/2009/06/03/15-amazing-jquery-image-galleryslideshow-plugins-and-tutorials/"><img src="http://www.pvmgarage.com/contenuti/2009/10/spejquery.jpg" alt="Showcase Of Beautiful Sports Websites" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/10/plugins-and-tutorials-to-enhance-the-images-of-your-website-with-jquery/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<item>
		<title>How To Realize A News Aggregator Using Simple Pie In An Adaptive Layout</title>
		<link>http://www.pvmgarage.com/2009/07/how-to-realize-a-news-aggregator-using-simple-in-an-adaptive-layout/</link>
		<comments>http://www.pvmgarage.com/2009/07/how-to-realize-a-news-aggregator-using-simple-in-an-adaptive-layout/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 10:20:07 +0000</pubDate>
		<dc:creator>Piervincenzo Madeo</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.pvmgarage.com/en/?p=501</guid>
		<description><![CDATA[This tutorial was checked by Ryan Parman, Simple Pie Team.
The perfect reader seeks for great and unique contents but the research often is difficult.
There are some browser applications that simplify the readers work like the News Aggregators. They daily collect (and categorize) in one-page the most original resources of the web, certainly a useful service for &#8220;news consumer&#8221;.
I find the aggregators quite serviceable (here you can find some samples) because they select only the best posts for each category of ...]]></description>
			<content:encoded><![CDATA[<p><strong>This tutorial was checked by Ryan Parman, Simple Pie Team.</strong></p>
<p>The perfect reader seeks for <strong>great and unique contents</strong> but the research often is difficult.<br />
There are some browser applications that simplify the readers work like the <strong>News Aggregators</strong>. They daily collect (and categorize) in one-page the most original resources of the web, certainly a useful service for &#8220;news consumer&#8221;.</p>
<p>I find the aggregators quite serviceable (<a href="http://www.pvmgarage.com/en/2009/07/3-super-simple-ways-to-increase-your-visitors-and-40-new-places-to-spread-free-your-articles/">here</a> you can find some samples) because they select only the best posts for each category of interest.</p>
<p>In this post I want to explain <strong>how to create a single page news aggregator using an RSS stream</strong> through the php class <a href="http://simplepie.org">Simple Pie</a>.</p>
<h2>Our Goal Is&#8230;</h2>
<p>The main aim is to realize a nice web page where to show the best tech news of the day. We can make it using the RSS stream of significant websites like <a href="http://www.technewsworld.com/">technewsworld.com</a> or <a href="http://www.goodtutorials.com">goodtutorials.com</a> and Social Bookmarking like <a href="http://delicious.com">Delicious</a>.<br />
We&#8217;ll create a simple layout with an adaptive width for the single post container and then we&#8217;ll implement the &#8220;RSS Reader&#8221; for our news. </p>
<h2>Live Demo and Source Files</h2>
<p>To evaluate the final result click below on preview button. You can also download the source files to try on your local server the aggregator.</p>
<p><a href="http://www.pvmgarage.com/downloads/newsaggregator" target="_blank"><img src="http://www.pvmgarage.com/contenuti/2009/07/news_aggregator_preview.jpg" alt="Watercolored Web Portfolio CSS Template" /></a></p>
<div style="float: left; width:185px; height: 64px; margin-right: 15px; margin-top:0px;"><a href="http://www.pvmgarage.com/downloads/newsaggregator" target="_blank"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/anteprima-but.jpg" alt="Download Source" /></a></div>
<div style="float: left; width:185px; height: 64px; margin-top:0px;"><a href="http://www.pvmgarage.com/downloads/NewsAggregator_PVMGARAGE.zip"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/downloadbut.jpg" alt="Download Source" /></a></div>
<div style="width: 100%; clear: both; height: 45px;"></div>
<h2>Sketch and Structure</h2>
<p>Below you can see a simple layout scheme. We want to realize an adaptive layout with side margin of 100 px.</p>
<h3>Step 0 &#8211; Wireframe</h3>
<p>The following image introduce the specific layout features.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/aggregator_01.jpg" alt="News Aggregator" /></p>
<h2>Simple Header For Our Layout</h2>
<p>In previous posts like <a href="http://www.pvmgarage.com/en/2009/07/create-a-nice-web-portfolio-design-with-a-watercolored-background-in-photoshop/">Create a Nice Web Portfolio Design with a Watercolored Background in Photoshop</a> or <a href="http://www.pvmgarage.com/en/2009/07/how-to-create-a-large-header-with-a-simple-western-scene/">How to Create a Large Header with a Simple Western Scene</a> we have learn some web graphic tricks to design a nice web elements.<br />
Now we need a simple header background and a logo.</p>
<h3>Step 1 &#8211; Header Design In Photoshop</h3>
<p>Open a new document (width 1200 px, height 200 px). Draw a rectangle and apply the following style to the layer: <em>Drop Shadow</em> (Multiply, Opacity 20%, Angle 90°, Distance 5px, Size 5px); <em>Gradient Overlay</em> (from #ffffff to #3f4247 with of this color opacity 0%, Linear, General Opacity 10%, Angle 90°); <em>Pattern Overlay</em> (use a <a href="http://www.brusheezy.com/brush/647-Carbon-Fiber">carbon pattern</a> and set a right opacity); <em>Stroke</em> (Size 1px, Opacity 100%, Color #e4e4e4).<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/aggregator_02.jpg" alt="News Aggregator" /></p>
<p>Using <em>Gradient Tool</em> you can also add a soft light.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/aggregator_03.jpg" alt="News Aggregator" /></p>
<p>Add a text using Verdana (color #ffffff) and set the layer style. Apply <em>Drop Shadow</em> (Multiply, Opacity 100%, Distance 1px, Size 5px); <em>Bevel and Emboss</em> (Depth 83%, Size 1px, Soften 0%, Angle 90°/30°), <em>Gradient Overlay</em> (black-white-black with an opacity of 42%).<br />
Add also a slogan text using Verdana with color #8c8a8a as shown.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/aggregator_04.jpg" alt="News Aggregator" /></p>
<h2>From PSD to XHTML/CSS Layout</h2>
<p>Now is time of coding. We want to relize a &#8220;fluid&#8221; layout that is adaptive when the user resize the browser window.</p>
<h3>Step 2 &#8211; Files, Folders and Images</h3>
<p>In your local server (I use <a href="http://www.wampserver.com/en/">WampServer</a>) create a new folder &#8220;newsaggregator&#8221; where to generate &#8220;index.php&#8221;, &#8220;style.css&#8221; and &#8220;images&#8221; folder.<br />
From photoshop document save the following graphics to build the header: a repeatable image for background, the logo (png holding transparency), light for background (png holding transparency). If you have doubts on this step read <a href="http://www.pvmgarage.com/en/2009/05/designschool-coded-free-css-template-with-psd-to-html-tutorial/">DesignSchool Coded, Free CSS Template With PSD to HTML Tutorial</a> or <a href="http://www.pvmgarage.com/en/2009/07/watercolored-portfolio-coded-free-css-template-with-psd-to-html-tutorial/">WaterColored Portfolio Coded, Free CSS Template With PSD to HTML Tutorial</a> to learn more about psd-to-html conversion.  </p>
<p>Below you can see the graphics from psd document we use to complete the layout.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/aggregator_05.jpg" alt="News Aggregator" /></p>
<h3>Step 3 &#8211; Basic Structure and Header</h3>
<p>First of all we prepare correctly the document.</p>
<pre class="brush: html;">
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Tech News | A free Aggregator Template | made in PV.M Garage&lt;/title&gt;
&lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="header"&gt;
&lt;!--here header content--&gt;
&lt;/div&gt;

&lt;div id="down_head"&gt;
&lt;!--here down-header content--&gt;
&lt;/div&gt;

&lt;div id="news_container"&gt;
&lt;!--here single post container--&gt;
&lt;/div&gt;

&lt;div id="footer"&gt;
&lt;!--here footer content--&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Add the header content.</p>
<pre class="brush: html;">
&lt;div id="header"&gt;
  &lt;h1&gt;&lt;a href="#"&gt;TechNews&lt;/a&gt;&lt;/h1&gt;
  &lt;div class="menu"&gt; &lt;!--nav-menu--&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href="#"&gt;about&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;submit feed&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;help us&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;contact&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;span class="adv"&gt;&lt;a href="#"&gt;Advertise here, check our prices!&lt;/a&gt;&lt;/span&gt; &lt;!--adv box without img--&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Now open the &#8220;style.css&#8221; in your text editor and write the css rules.</p>
<pre class="brush: css;">
/*Yahoo! CSS Reset optimized for our purpose*/
body,div,ul,ol,li,h1,h2,h3,p{
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}

h1,h2,h3 {
	font-size:100%;
	font-weight:normal;
}
/*End Yahoo! CSS Reset*/

body {
	margin: 0 150px;
	padding: 0;
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #e6e6e6 url(images/back.jpg) repeat-x top left;
	color: #8c8a8a;
}

a {
  text-decoration: none;
  color: #666;
}

a:hover {
  border-bottom: 1px dotted #666;
  color: #666;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

#header {
  background: url(images/backhead.png) no-repeat center top;
  min-width: 700px; /*use min-width to avoid an incorrect behavior of two div elements when windows is very strait*/
  height: 125px;
}

#header h1 {
  text-indent: -9999px;
  float: left;
}

#header h1 a {
  display: block;
  width: 208px;
  height: 58px;
  margin-top: 32px;
  background: url(images/logo.png) no-repeat left top;
}

#header h1 a:hover{
  border: none;
}

.menu ul li{
  display: inline;
  float: right;
}

.menu ul li a {
  display: inline-block;
  text-align: center;
  color: #cacaca;
  border-right: 1px solid #8c8a8a;
  border-left: 1px solid #8c8a8a;
  border-bottom: 1px solid #8c8a8a;
  margin-left: 15px;
  margin-top: -10px;
  padding-top: 15px;
  width: 100px;
  height: 25px;
  background: url(images/menback.png) left top;
  -moz-border-radius: 10px;
}

.menu ul li a:hover {
  color: #dfdfdf;
  border-right: 1px solid #dfdfdf;
  border-left: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
}

span.adv {
  width: 468px;
  float: right;
  margin-top: 20px;
}

span.adv a {
  background: #dfdfdf;
  border: 2px solid #8c8a8a;
  display: block;
  text-align: center;
  padding: 22px;
  color: #8c8a8a;
  font-weight: bold;
}

span.adv a:hover {
  background: #e6e6e6;
}
</pre>
<h3>Step 4 &#8211; Coding Down Header</h3>
<p>The markup for this section should expect three columns. Later we&#8217;ll write a specific script using jQuery to make adaptive the width of each element.</p>
<pre class="brush: html;">
&lt;div id="down_head" class="clearfix"&gt;&lt;!--add a clearingfix class to solve floating bug--&gt;
&lt;div class="head_info"&gt;
      &lt;h1&gt;Our Goal&lt;/h1&gt;
      &lt;p&gt;Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="head_info border_info"&gt;
      &lt;h1&gt;RSS Feed&lt;/h1&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="head_info"&gt;
      &lt;h1&gt;You are member&lt;/h1&gt;
      &lt;p&gt;Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Below you can see the css rules for this section.</p>
<pre class="brush: css;">
#down_head {
  min-width: 700px;
  clear: both;
  margin: 20px auto;
}

#down_head h1 {
  font-size: 22px;
  font-weight: bold;
  padding: 10px 20px;
}

#down_head p {
  padding: 10px 20px;
}

.border_info {
  border-left: 1px dashed #ccc;
  border-right: 1px dashed #ccc;
}

.head_info {
  overflow: hidden;
  float: left;
  text-align: justify;
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
</pre>
<h3>Step 5 &#8211; Coding Post Container Section</h3>
<p>Now we can code the &#8220;core&#8221; of the structure. </p>
<pre class="brush: html;">
&lt;div id="news_container" class="clearfix"&gt;

&lt;!--here the Simple Pie loop start--&gt;

&lt;div class="post_cont"&gt;
      &lt;div class="content"&gt;
      &lt;h2&gt;30 Luglio | 11:30am&lt;/h2&gt;
      &lt;h2&gt;&lt;img src="&lt;!--favicon url--&gt;" alt="favicon" /&gt;&lt;a href="&lt;!--permalink news--&gt;"&gt;Article Title&lt;/a&gt;&lt;/h2&gt;
      &lt;span class="visit_link"&gt;&lt;a href="&lt;!--permalink news--&gt;"&gt;direct link to article&lt;/a&gt;&lt;/span&gt;
      &lt;/div&gt;
&lt;/div&gt;

&lt;!--end of loop--&gt;

&lt;/div&gt;
</pre>
<p>This is the update for &#8220;style.css&#8221;.</p>
<pre class="brush: css;">
#news_container {
	min-width: 700px;
	border-top: 3px dashed #666;
	border-bottom: 3px dashed #666;
	padding-bottom: 10px;
}

.post_cont {
  width: 250px;
  overflow: hidden;
  float: left;
  margin-top: 10px;
}

.content {
  height: 200px;
  margin: 0 5px;
	padding: 5%;
	background: #fff;
	border: 1px solid #cacaca;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.content h2 {
	margin-bottom: 10px;
}

.content h2 a {
	font-size: 22px;
	font-size: 18px;
	color: #333;
}

.content h2 a:hover {
	color: #333;
	border-bottom: 1px dotted #333;
}

.content img {
  float: left;
	margin: 2px 4px 2px 0;
	width: 16px;
	height: 16px;
}

.content p {
  font-size: 11px;
  color: #666;
}

span.visit_link a {
  margin-top: 10px;
  padding: 10px;
  display: block;
  background: #dfdfdf;
  color: #8c8a8a;
  -moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
}

span.visit_link a:hover {
  background: #e6e6e6;
  border: none;
}
</pre>
<h3>Step 6 &#8211; Coding Footer</h3>
<p>Below the simple footer code.</p>
<pre class="brush: html;">
&lt;div id="footer"&gt;
  &lt;p&gt;&lt;strong&gt;tech News&lt;/strong&gt; is a &lt;a href="#"&gt;PV.M Garage Product&lt;/a&gt;. It's released under Creative Common License also for commercial use.&lt;/p&gt;
&lt;/div&gt;
</pre>
<p>The CSS rules.</p>
<pre class="brush: css;">
#footer {
  width: 700px;
  margin: 15px auto;
}

#footer p {
  text-align: center;
}
</pre>
<h3>Step 7 &#8211; Adding jQuery</h3>
<p>Now we add a simple script to make adaptive the width of the down-head elements and of the post container.<br />
Download the last version of <a href="http://jquery.com/">jQuery</a> and load it in your &#8220;newsaggregator&#8221; folder, then between the tag head insert the following string to activate the framework.</p>
<pre class="brush: html;">
&lt;script type="text/javascript" src="jquery-1.3.2.min.js">&lt;/script&gt;
</pre>
<p>Now after the tag <em>body</em> add the script.</p>
<pre class="brush: html;">
&lt;script type="text/javascript"&gt;

$(document).ready(function(){

	function adPostWidth() {

		var ovWid = $('#header').width(); /*We use the header width that has a min-width of 700px in the style*/
		var postN = Math.floor(ovWid / 250);
		var widFix = Math.floor(ovWid / postN);

		$(".post_cont").css({ 'width' : widFix});

	}

  function WidthHead() {

		var ovWid = $('#header').width();
		var widFixHead = Math.floor(ovWid / 3);

		$(".head_info").css({ 'width' : widFixHead - 2});

	}

	adPostWidth();
  WidthHead();	

	$(window).resize(function () {
		adPostWidth();
    WidthHead();
	}); 

});

&lt;/script&gt;
</pre>
<p>If you want to learn more about this technique read the useful Soh Tanaka tutorial <a href="http://www.sohtanaka.com/web-design/smart-columns-w-css-jquery/">Smart Columns w/ CSS &#038; jQuery</a> whence I learned this trick.</p>
<h2>Add Simple Pie</h2>
<p>We use Simple Pie to load great news on our page. First of all download the php class. I&#8217;ve used the 1.1.3 version, downloadable from <a href="http://simplepie.org/blog/2008/12/20/simplepie-113-is-now-available/">here</a>, because in 1.2 there is bug for <em>set_feed_url</em> when we want to load an array.</p>
<h3>Step 8 &#8211; Activate The RSS Feed Parsing Class</h3>
<p>Copy in your folder the file &#8220;simplepie.inc&#8221; and create a new folder &#8220;cache&#8221; for caching system of Simple Pie.<br />
Now in top of &#8220;index.php&#8221; add the following php code. </p>
<pre class="brush: php;">
&lt;?php
    //get the simplepie library
    require_once('simplepie.inc');
    //grab the feeds
    $feed = new SimplePie();
    //our list of RSS
$feed->set_feed_url(array(
    'http://feeds.digg.com/digg/popular.rss',
    'http://feeds.delicious.com/v2/rss/',
    'http://feeds.feedburner.com/cssglobe/',
    'http://news.google.com/news?ned=us&#038;hl=en&#038;output=rss',
    'http://feeds.dzone.com/dzone/frontpage',
    'http://www.good-tutorials.com/tutorials/photoshop.rss',
    'http://www.graphic-design-links.com/rss',
    'http://feeds2.feedburner.com/BestPhotoshopTutorials',
    'http://www.technewsworld.com/perl/syndication/rssfull.pl'
    ));
    //enable caching
    $feed->enable_cache(true);
    //complete path for caching system
    $feed->set_cache_location('cache');
    //set the amount of seconds you want to cache the feed
    $feed->set_cache_duration(1500);
    //init the process
    $feed->init();
    //let simplepie handle the content type (atom, RSS...)
    $feed->handle_content_type();
?&gt;
</pre>
<h3>Step 9 &#8211; The Loop</h3>
<p>Update the code of post container implementing the Simple Pie Loop. I used this php class in a previous tutorial, so if you want to know more about the use of this library read <a href="http://www.pvmgarage.com/en/2009/07/how-to-realize-a-daily-activities-widget-in-wordpress-sidebar-using-simplepie/">How to Realize a Daily Activities Widget in WordPress Sidebar using SimplePie</a>.</p>
<pre class="brush: php;">
&lt;div id="news_container" class="clearfix"&gt;

&lt;?php foreach ($feed-&gt;get_items(0, 100) as $item): ?&gt;

&lt;div class="post_cont"&gt;
      &lt;div class="content"&gt;
      &lt;h2&gt;&lt;?php echo $item-&gt;get_date('j M Y'); ?&gt; | &lt;?php echo $item-&gt;get_date('g:i a'); ?&gt;&lt;/h2&gt;
      &lt;h2&gt;&lt;img src="&lt;?php $feed = $item-&gt;get_feed(); echo $feed-&gt;get_favicon(); ?&gt;" alt="favicon" /&gt;&lt;a href="&lt;?php echo $item-&gt;get_permalink(); ?&gt;"&gt;&lt;?php echo $item-&gt;get_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
      &lt;span class="visit_link"&gt;&lt;a href="&lt;?php echo $item-&gt;get_permalink(); ?&gt;"&gt;direct link to article&lt;/a&gt;&lt;/span&gt;
      &lt;/div&gt;
&lt;/div&gt;

&lt;?php endforeach; ?&gt;

&lt;/div&gt;
</pre>
<h2>Conclusion</h2>
<p>Well brother. We have our News Aggregator, <a href="http://www.pvmgarage.com/downloads/newsaggregator/">re-check the final result</a> and enjoy it! There are many uses for this kind of web-project so free your imagination&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/07/how-to-realize-a-news-aggregator-using-simple-in-an-adaptive-layout/feed/</wfw:commentRss>
		<slash:comments>325</slash:comments>
		</item>
		<item>
		<title>SportNewsPvm Coded, How To Plan A Web Layout For A WordPress Theme</title>
		<link>http://www.pvmgarage.com/2009/07/sportnewspvm-coded-how-to-plan-a-web-layout-for-a-wordpress-theme/</link>
		<comments>http://www.pvmgarage.com/2009/07/sportnewspvm-coded-how-to-plan-a-web-layout-for-a-wordpress-theme/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 17:13:59 +0000</pubDate>
		<dc:creator>Piervincenzo Madeo</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://www.pvmgarage.com/en/?p=384</guid>
		<description><![CDATA[To create a basic WordPress theme the essential steps, in my personal approach, are four: sketch, PSD template, (X)HTML/CSS layout and, finally, WordPress code.
In this post will learn how to make a web layout (xhtml/css from a psd template) that will become a WP theme (the third step).
If you want to learn the basic techniques to make a PSD template, you can read Create a Nice Web Portfolio Design with a Watercolored Background in Photoshop.
For our purpose we&#8217;ll use SportNewsPvm ...]]></description>
			<content:encoded><![CDATA[<p>To create a basic WordPress theme the essential steps, in my personal approach, are four: sketch, PSD template, (X)HTML/CSS layout and, finally, WordPress code.<br />
<strong>In this post will learn how to make a web layout (xhtml/css from a psd template) that will become a WP theme</strong> (the third step).</p>
<p>If you want to learn the basic techniques to make a PSD template, you can read <a href="http://www.pvmgarage.com/en/2009/06/watercolored-portfolio-coded-free-css-template-with-psd-to-html-tutorial/">Create a Nice Web Portfolio Design with a Watercolored Background in Photoshop</a>.</p>
<p>For our purpose we&#8217;ll use <a href="http://www.pvmgarage.com/en/2009/05/sportnewspvm-free-psd-template-free-for-a-sport-magazine/">SportNewsPvm template</a>, the reasons for this choice are explained below.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/05/sportnewspvm_anteprima.jpg" alt="SportNewsPvm" /></p>
<h2>Why SportNewsPvm template can become a WP theme</h2>
<p>We&#8217;re going to take a look at the relevant elements you need when you develope a template that will be used for a WordPress theme. In this case we have a preset target: <strong>a sport magazine with a weekly updates</strong>. </p>
<p>The SportNewsPvm layout was thought to accomplish this goal. A soft grunge magazine template with a large header and featured news box.<br />
As you can see the structure is really valid for our purpose, in fact the basic elements are: <strong>top-menu, header, featured news box, posts container, sidebar and footer</strong>.<br />
We can also divide the structure in four macro-areas that are <strong>top, left-container, right-container and bottom</strong>. This partition is useful for a visual representation of content layout that help us during all the steps of our work.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_01.jpg" alt="SportNewsPvm" /><br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_02.jpg" alt="SportNewsPvm" /></p>
<p>In this way, with this kind of structure, we are trying to consider all the needful containers for the main components of a WordPress theme. Basically, a WordPress theme is composed by <strong>the header, the post loop, the sidebar and the footer</strong>. Now it&#8217;s clear that our template have all spaces to host them.</p>
<p>Other important elements, in the theme development, are single post page, comments structure, category template, page template and archive. Right now, however, we just want to understand how to prepare the basic (x)html/css layout for the home page and these last elements listed will be considered at a later time.  </p>
<h2>Final Result, Css Template</h2>
<p>Here you can see a preview image and a live demo. You can also download the zip archive with the complete CSS template.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewspvm_anteprima2.jpg" alt="SportNewsPvm CSS Template" /></p>
<div style="float: left; width:185px; height: 64px; margin-right: 15px; margin-top:0px;"><a href="http://www.pvmgarage.com/downloads/sportnews" target="_blank"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/anteprima-but.jpg" alt="Download Source" /></a></div>
<div style="float: left; width:185px; height: 64px; margin-top:0px;"><a href="http://www.pvmgarage.com/downloads/SportNewsPvm_Coded_PVMGARAGE.zip"><img style="border:none; background: transparent; padding:0px;" src="http://www.pvmgarage.com/en/pvmenglishcontent4984/themes/pvmgarage_fresh/images/downloadbut.jpg" alt="Download Source" /></a></div>
<div style="width: 100%; clear: both; height: 45px;"></div>
<h2>Coding SportNewsPvm</h2>
<p>A little summary.<br />
<strong>In top of the structure</strong> we insert the top-menu and the header with the logo.<br />
<strong>The left-container</strong> expects the featured news box and the posts container.<br />
<strong>The right-container</strong> is useful to put in sponsors and other information like blogroll or recent posts list.<br />
<strong>In the bottom</strong> there is a simple footer with credits.</p>
<p>Now is time for the code. This section of the post will show the essential steps to code the psd template using the techniques explained in <a href="http://www.pvmgarage.com/en/2009/06/watercolored-portfolio-coded-free-css-template-with-psd-to-html-tutorial/">WaterColored Portfolio Coded, Free CSS Template With PSD to HTML Tutorial</a> and <a href="http://www.pvmgarage.com/en/2009/05/designschool-coded-free-css-template-with-psd-to-html-tutorial/">DesignSchool Coded, Free CSS Template With PSD to HTML Tutorial</a>.</p>
<p>In the folder &#8220;sportnews&#8221; we put in &#8220;images&#8221; and &#8220;js&#8221; folders and the necessary files: &#8220;index.html&#8221; and &#8220;style.css&#8221;.</p>
<h3>Step 1 &#8211; Main Structure</h3>
<p>For the general background we use a repeatable image.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_03.jpg" alt="SportNewsPvm" /><br />
The markup for the main structure (edit &#8220;index.html&#8221;).</p>
<pre class="brush: html;">
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Sport News Design | A free CSS Template | made in PV.M Garage&lt;/title&gt;
&lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;&lt;!-- stylesheet --&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="top"&gt;&lt;!-- top menu --&gt;
  &lt;div class="top_left"&gt;
    &lt;!-- categories menu --&gt;
  &lt;/div&gt;

  &lt;div class="top_right"&gt;
    &lt;!-- pages menu --&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div id="header"&gt;
&lt;!-- header --&gt;
&lt;/div&gt;

&lt;div id="container"&gt;

  &lt;div id="left_cont"&gt;
    &lt;!-- left container --&gt;
  &lt;/div&gt;

  &lt;div id="sidebar"&gt;
    &lt;!-- right container --&gt;
  &lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;div id="footer"&gt;
&lt;!-- footer container --&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>To initialize Cascading Style Sheet (edit &#8220;style.css&#8221;) we write the following rules.</p>
<pre class="brush: css;">
/*Yahoo! Reset CSS*/
body,div,dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,pre,form,
fieldset,input,textarea,p,
blockquote,th,td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/*End Yahoo! Reset CSS*/

body {
  background: #fff url("images/bck.jpg") repeat-x top;
  font-family: Verdana, Georgia, “Lucida Sans Unicode”, sans-serif;
  font-size: 14px;
  color: #333;
  margin-top: 15px;
}

:focus {
	outline: 0;
}

a {
  text-decoration: none;
  color: #ca5235;
}

a:hover {
  color: #75a7b4;
}

small {
  font-size: 10px;
}

h1 {
  color: #ca5235;
  font-size: 28px;
}

h2 {
  color: #ca5235;
  font-size: 28px;
}
</pre>
<h3>Step 2 &#8211; Top menu and Header</h3>
<p>Now we add all elements of the design for the menu and header. Below there are the background images exported from psd.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_04.jpg" alt="SportNewsPvm" /></p>
<p>The following images are for the logo and the down-header elements.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_05.jpg" alt="SportNewsPvm" /></p>
<p>Note: in the down-header section there are the search form and the button to subscribe RSS feed. Below the (x)html code for header and top-nav bar.</p>
<pre class="brush: html;">
&lt;div id="top"&gt;
  &lt;div class="top_left"&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#"&gt;Football&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Basket&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Volley&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;MotorSports&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Special&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Interview&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;

    &lt;div class="top_right"&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Write for us&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div id="header"&gt;
  &lt;div id="logo"&gt;
    &lt;a href="#"&gt;&lt;/a&gt;
  &lt;/div&gt;

  &lt;div id="search_box"&gt;
      &lt;input name="textfield" type="text" class="search_input" id="textfield" value="Search" /&gt;
  &lt;/div&gt;

  &lt;div id="feed"&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#" class="rss_icon"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#" class="rss_mail"&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>And now, the style.</p>
<pre class="brush: css;">
#top {
  background: url("images/bck_top.png") no-repeat center left;
  height: 53px;
  width: 1030px;
  margin: auto;
}

  .top_left {
    position: relative;
    float: left;
  }

  .top_left ul {
    margin: 23px 0 0 105px;
  }

  .top_left ul li {
    padding:0 5px;
    display: inline;
    font-size: 12px;
  }

  .top_left ul li a {
    color: #706d67;
    font-weight: bold;
    text-transform: uppercase;
  }

  .top_left ul li a:hover {
    color: #ca5235;
    font-weight: bold;
    border-bottom: 1px dotted #ca5235;
  }

  .top_right {
    position: relative;
    float: right;
  }

  .top_right ul {
    margin: 20px 60px 0 0;
  }

  .top_right ul li {
    padding:0 2px;
    display: inline;
    font-size: 10px;
  }

  .top_right ul li a {
    color: #706d67;
  }

  .top_right ul li a:hover {
    color: #ca5235;
    border-bottom: 1px dotted #ca5235;
  }

#header {
  background: url("images/bck_head.png") no-repeat center left;
  height: 244px;
  width: 1030px;
  margin: auto;
}

  #logo {
    background: url("images/logo.png") no-repeat center left;
    margin: 0 0 0 50px;
    padding: 26px;
  }

  #logo a {
    width: 463px;
    height: 167px;
    display: block;
  }

  #search_box {
    position:relative;
    float: left;
    top: -18px;
    margin-left: 40px;
    width: 260px;
    background: url("images/search.png") no-repeat center right;
    margin-right: 10px;
  }

  .search_input {
    border: 1px solid #c8c9d0;
    width: 150px;
    color: #c8c9d0;
    padding: 8px;
  }

  #feed {
    position:relative;
    float: left;
    top: -18px;
    border-left: 2px solid #c8c9d0;
    padding: 0px 5px;
    background: url("images/subscribe.png") no-repeat center right;
    width: 340px;
  }

  #feed ul li {
    display: inline;
    padding: 0 5px;
  }

  .rss_icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url("images/rss.png") no-repeat;
  } 

  .rss_mail {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url("images/rss_mail.png") no-repeat;
  }
</pre>
<h3>Step 3 &#8211; The Main Container</h3>
<p>Below the repeteable image used for the main container of the layout. We use a graphic with a height of 375px to emphasize the grunge effect.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_06.jpg" alt="SportNewsPvm" /></p>
<p>In this step we don&#8217;t forget to use a clearfix technique to give a cross browser float clearing solution. So the html code for the main container is the following.</p>
<pre class="brush: html;">
&lt;div id="container" class="clearfix"&gt;

  &lt;div id="left_cont"&gt;
    &lt;!-- left container --&gt;
  &lt;/div&gt;

  &lt;div id="sidebar"&gt;
    &lt;!-- right container --&gt;
  &lt;/div&gt;

&lt;/div&gt;
</pre>
<pre class="brush: css;">
#container {
  background: url("images/bck_container.png") repeat-y top left;
  width: 1030px;
  margin: auto;
}

  .clearfix:after {
    content: "";
    display: block;
    clear: both;
  }
</pre>
<h3>Step 4 &#8211; Left Container</h3>
<p>In this section there are two important elements: featured news and post container. Below you can see the images for this section.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_07.jpg" alt="SportNewsPvm" /></p>
<p>In the featured news box there are three sliding elements, so we must write a correct (x)html code to prepare document for <strong>UI jQuery Tabs</strong>.<br />
In post container we have title, post-image, the excerpt and the &#8220;meta-info&#8221; boxes. Below you can see the code.</p>
<pre class="brush: html;">
&lt;div id="container" class="clearfix"&gt;

  &lt;div id="left_cont"&gt;
  &lt;div id="featured_title"&gt;&lt;/div&gt;
  &lt;div id="featured" class="clearfix"&gt;

    &lt;ul class="nav"&gt;
      &lt;li&gt;
          &lt;a href="#featured-1"&gt;
          &lt;span class="imag_list"&gt;&lt;img src="images/image1-small.jpg" alt="" /&gt;&lt;/span&gt;
          &lt;span class="meta_info_list"&gt;Category - 07.11&lt;/span&gt;&lt;br /&gt;
          &lt;span class="title_list"&gt;Lorem ipsum dolor sit amet&lt;/span&gt;

          &lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a href="#featured-2"&gt;
          &lt;span class="imag_list"&gt;&lt;img src="images/image2-small.jpg" alt="" /&gt;&lt;/span&gt;
          &lt;span class="meta_info_list"&gt;Category - 04.11&lt;/span&gt;&lt;br /&gt;
          &lt;span class="title_list"&gt;Etiam rhoncus&lt;/span&gt;
          &lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a href="#featured-3"&gt;
          &lt;span class="imag_list"&gt;&lt;img src="images/image3-small.jpg" alt="" /&gt;&lt;/span&gt;
          &lt;span class="meta_info_list"&gt;Categoria - 03.11&lt;/span&gt;&lt;br /&gt;
          &lt;span class="title_list"&gt;Etiam ultricies nisi vel augue&lt;/span&gt;
          &lt;/a&gt;
      &lt;/li&gt;
    &lt;/ul&gt;

    &lt;div id="featured-1" class="featured_content"&gt;
      &lt;a href="#" &gt;&lt;img src="images/image1.jpg" alt="" /&gt;&lt;/a&gt;
			&lt;div class="info" &gt;
				&lt;h2&gt;&lt;a href="#" &gt;Lorem ipsum dolor sit amet&lt;/a&gt;&lt;/h2&gt;
			&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="featured-2" class="featured_content"&gt;
      &lt;a href="#" &gt;&lt;img src="images/image2.jpg" alt="" /&gt;&lt;/a&gt;
			&lt;div class="info" &gt;
				&lt;h2&gt;&lt;a href="#" &gt;Etiam rhoncus&lt;/a&gt;&lt;/h2&gt;
			&lt;/div&gt;
    &lt;/div&gt;

    &lt;div id="featured-3" class="featured_content"&gt;
      &lt;a href="#" &gt;&lt;img src="images/image3.jpg" alt="" /&gt;&lt;/a&gt;
			&lt;div class="info" &gt;
				&lt;h2&gt;&lt;a href="#" &gt;Etiam ultricies nisi vel augue&lt;/a&gt;&lt;/h2&gt;
			&lt;/div&gt;
    &lt;/div&gt;

  &lt;/div&gt;

  &lt;div id="news_title"&gt;&lt;/div&gt;
  &lt;div id="post_container" class="clearfix"&gt;
      &lt;h1&gt;Sed ut perspiciatis unde omnis iste&lt;/h1&gt;
      &lt;div class="post_image"&gt;
        &lt;img src="images/post1.jpg" alt="post1" /&gt;
        &lt;div class="meta_tag_comment"&gt;
        &lt;p&gt;&lt;a href="#"&gt;Commenti (10)&lt;/a&gt;&lt;/p&gt;
        &lt;p&gt;&lt;small&gt;Author: &lt;a href="#"&gt;Leo Miranda&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
        &lt;p&gt;&lt;small&gt;Tags: &lt;a href="#"&gt;football&lt;/a&gt;, &lt;a href="#"&gt;interview&lt;/a&gt;, &lt;a href="#"&gt;serie A&lt;/a&gt;, &lt;a href="#"&gt;serie B&lt;/a&gt;, &lt;a href="#"&gt;liga&lt;/a&gt;, &lt;a href="#"&gt;premier league&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="post_content"&gt;
        &lt;span class="meta_info"&gt;Category - 10.07.09&lt;/span&gt;
        &lt;p&gt;&lt;!--the excerpt--&gt;&lt;/p&gt;
        &lt;span class="more"&gt;&lt;a href="#"&gt;Read More&lt;/a&gt;&lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Here the CSS rules for the &#8220;style.css&#8221; file.</p>
<pre class="brush: css;">
#left_cont {
    float: left;
    width: 650px;
    margin: 10px 10px 10px 21px;
  }

  #featured {
    width: 600px;
    background: url("images/img_feat_bck_big.png") no-repeat center left;
    margin-left: 20px;
    margin-bottom: 30px;
  }

  #featured_title {
    background: url("images/feat_tit.png") no-repeat center left;
    width: 632px;
    height: 27px;
    margin-bottom: 25px;
    margin-top: 5px;
  }

  #news_title {
    background: url("images/news_tit.png") no-repeat center left;
    width: 632px;
    height: 27px;
    margin-bottom: 18px;
  }

  ul.nav {
    float: right;
    left: 360px;
	  width: 225px;
	  padding-top: 3px;
  }

  ul.nav li {
    overflow: hidden;
    padding: 4px 1px;
  }

  ul.nav li a{
	  display: block;
	  height: 60px;
	  color: #333;
  }

  ul.nav li a:hover{
    outline: 1px dotted #ca5235;
  }

  ul.nav li img {
	  float: left;
    margin: 4px;
    padding: 5px;
    width: 75px;
    height: 40px;
  }

  span.imag_list {
  	 float: left;
     background: url("images/img_feat_bck.png") no-repeat center left;
     width: 95px;
     height: 58px;
  }

  span.title_list {
    color: #ca5235;
    font-size: 11px;
    font-weight: bold;
  }

  span.meta_info_list {
    color: #75a7b4;
    font-size: 10px;
    font-weight: bold;
  }

  .featured_content {
	  width: 350px;
    height: 205px;
  }

  .featured_content img {
	  padding: 9px 8px 8px 8px;
  }

  .featured_content .info {
    position: relative;
	  top: -61px;
    left: 5px;
	  height: 50px;
	  width: 340px;
	  margin: 0 3px;
	  background: url("images/transparent-bg.png");
	  overflow: hidden;
  }

  .info h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    padding: 5px;
  }  

  .info h2 a {
    color: #d8d7d7;
  }

  #post_container, #post_container1, #post_container2 {
    margin: 0 23px 30px 23px;
    clear: both;
    min-height: 220px;
    background: url("images/post_sep.png") no-repeat bottom right;
  }

  .post_image {
    float: left;
    margin: 10px 25px 13px 15px;
    width: 201px;
  }

  .post_image img {
    border: 1px solid #75a7b4;
  }

  .meta_tag_comment {
    padding: 3px;
    background: #75a7b4;
  }

  .post_image p {
    font-size: 10px;
    color: #fff;
    padding: 3px;
  }

  .post_image p a {
    color: #fff;
  }

  .post_image p a:hover {
    border-bottom: 1px dotted #fff;
  }

  .post_content {
    margin-top: 15px;
  }

  span.meta_info {
    padding: 5px;
    background: #75a7b4;
    color: #fff;
    font-size: 14px;
  }

  span.meta_info a {
    color: #fff;
  }

  .post_content p {
    margin: 15px 0 10px 0;
    font-size: 12px;
    line-height: 20px;
    padding-left: 241px;
  }

  span.more {
    position: relative;
    right: 293px;
    float: right;
    margin-bottom: 10px;
  }

  span.more a {
    font-size: 12px;
    color: #ca5235;
    font-weight: bold;
  }

  span.more a:hover {
    border-bottom: 1px dotted #ca5235;
  }
</pre>
<h3>Step 5 &#8211; Activate Slider Tabs Effect</h3>
<p>Now we download the minified package of the framework from the <a href="http://docs.jquery.com/Downloading_jQuery">official download page</a> and also the <a href="http://jqueryui.com/download">UI package</a> (select UI Core, Tabs and Effects Core).</p>
<p>We copy the two files (”jquery-1.3.2.min.js” and “jquery-ui-1.7.2.custom.min.js”) in “js” folder. To use the power of jQuery for featured news box we call the library from the “index.html” with the following lines of code between head tags:</p>
<pre class="brush: html;">
&lt;head&gt;
  [...]
    &lt;script type="text/javascript" src="js/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
		&lt;script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"&gt;&lt;/script&gt;
	[...]
&lt;/head&gt;
</pre>
<p>We place this code in &#8220;index.html&#8221; (after <em>&lt;body&gt;</em>) to activate tabs:</p>
<pre class="brush: html;">
	&lt;script type="text/javascript"&gt;
	$(function() {
		$("#featured").tabs({ fx: { width: 'toggle', opacity: 'toggle' } }).tabs("rotate", 6000, true); });
	&lt;/script&gt;
</pre>
<p>and this in css style file:</p>
<pre class="brush: css;">
.ui-tabs-hide { display: none !important; }
</pre>
<h3>Step 6 &#8211; Right Container, the sidebar</h3>
<p>For the sidebar we use only an image for the title background (general back image is in the main container).<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_08.jpg" alt="SportNewsPvm" /></p>
<p>This is the markup.</p>
<pre class="brush: html;">
&lt;div id="sidebar"&gt;
    &lt;div class="side_cont"&gt;
    &lt;h2&gt;Sponsor&lt;/h2&gt;
      &lt;div class="adv"&gt;
	       &lt;a href="#"&gt;&lt;img src="images/pvmban125.jpg" alt="pvm" /&gt;&lt;/a&gt;
	       &lt;a href="#"&gt;&lt;img src="images/ads.gif" alt="Advertisement" /&gt;&lt;/a&gt;
	       &lt;a href="#"&gt;&lt;img src="images/ads.gif" alt="Advertisement" /&gt;&lt;/a&gt;
	       &lt;a href="#"&gt;&lt;img src="images/ads.gif" alt="Advertisement" /&gt;&lt;/a&gt;
	       &lt;a href="#"&gt;&lt;img src="images/pvmban2504.jpg" alt="Advertisement" /&gt;&lt;/a&gt;
	    &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="side_cont adv"&gt;
    &lt;h2&gt;BlogRoll&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#"&gt;Sport Magazine - Resources for Sport Lovers&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Football Mag - We Play Football&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;BuzzerBeater Magazine - Basket Fans&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Premier Paper - Premier League News&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;European Sport - News from Europa&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Focus on Carling&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;NBA News - Do you wanna play?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Road to South Africa 2010&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Volley World League&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;

    &lt;div class="side_cont adv"&gt;
    &lt;h2&gt;Most Read Articles&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="#"&gt;Nisi ut aliquid ex ea commodi consequatur?&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Nam libero tempore, cum soluta nobis&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;At vero eos et accusamus et iusto odio&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Nemo enim ipsam voluptatem quia voluptas&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</pre>
<p>Right now we write the css rules.</p>
<pre class="brush: css;">
#sidebar {
  float: left;
  width: 335px;
}

.side_cont {
  background: url("images/side_tit1.png") no-repeat top right;
  margin-bottom: 25px;
  padding-right: 35px;
  padding-left: 20px;
  width: 280px;
  font-size: 12px;
  line-height: 18px;
}

.side_cont h2 {
  font-size: 20px;
  color: #fff;
  padding-top: 3px;
  margin-bottom: 20px;
}

.adv {
  margin-top: 37px;
}

.adv img {
  margin: 0 10px 10px 0px;
  border: 1px solid #ccc;
}

.side_cont ul {
  margin-bottom: 15px;
}

.side_cont ul li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  display: block;
}

.side_cont ul li a {
  color: #333;
  padding: 10px 0;
}

.side_cont ul li a:hover {
  color: #ca5235;
}

.side_cont ul li:hover {
  background: #e1e1e1;
}
</pre>
<h3>Step 7 &#8211; Footer</h3>
<p>Below the footer background, the markup and the style.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/07/sportnewcoded_09.jpg" alt="SportNewsPvm" /></p>
<pre class="brush: html;">
&lt;div id="footer"&gt;
&lt;p&gt;SPORT NEWS PVM MAGAZINE 2009 - Creative Common License. It's a free template for you!&lt;/p&gt;
&lt;p&gt;It's a PV.M GARAGE PRODUCTION - &lt;a href="http://validator.w3.org/check?uri=referer"&gt;valid (X)HTML&lt;/a&gt; and &lt;a href="http://jigsaw.w3.org/css-validator/check/referer"&gt;valid CSS&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;
</pre>
<pre class="brush: css;">
#footer {
  background: url("images/bck_foot.png") no-repeat top left;
  height: 113px;
  width: 1030px;
  margin: auto;
  padding-top: 48px;
}

#footer p {
  font-size: 12px;
  text-align: center;
  padding: 2px;
  color: #666;
}

#footer p a {
  border-bottom: 1px dotted #666;
  color: #666;
}
</pre>
<h2>Stay tuned, the next step is WordPress Theme</h2>
<p>Yes, the next step for SportNewsPvm is WordPress Code. Soon a new post where we&#8217;ll learn the basic operations to create a WP theme, then <strong>SportNewsPvm WordPress Theme will be released</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/07/sportnewspvm-coded-how-to-plan-a-web-layout-for-a-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>How to Show Recent Posts with NewsTicker Effect in WordPress Sidebar</title>
		<link>http://www.pvmgarage.com/2009/06/how-to-show-recent-posts-with-newsticker-effect-in-wordpress-sidebar/</link>
		<comments>http://www.pvmgarage.com/2009/06/how-to-show-recent-posts-with-newsticker-effect-in-wordpress-sidebar/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 18:24:30 +0000</pubDate>
		<dc:creator>marbio</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.pvmgarage.com/en/?p=100</guid>
		<description><![CDATA[With this little tutorial I want to illustrate the way in order to show recent articles with newsticker effect on the sidebar of your wordpress blog. The term &#8220;newsticker&#8221; refers to a small section of the page in which we can read the last news  (the last ones post in this case) with the typical sliding effect of the on-line magazine.
The execution of this script demands to edit some files of your template, therefore it is better idea a ...]]></description>
			<content:encoded><![CDATA[<p>With this little tutorial I want to illustrate <strong>the way in order to show recent articles with newsticker effect on the sidebar of your wordpress blog</strong>. The term &#8220;newsticker&#8221; refers to a small section of the page in which we can read the last news  (the last ones post in this case) with the typical sliding effect of the on-line magazine.<br />
The execution of this script demands to edit some files of your template, therefore it is better idea a backup copy of the theme folder.</p>
<h2>Recent Posts with NewsTicker Effect</h2>
<h3>Step 1 &#8211; Creation of the module style</h3>
<p>The following portion of code contains the style CSS of the recent-post-newsticker module. We can insert the following code directly in the main style sheet of the template (<em>style.css</em>) or create a new file .css (<em>newsticker.css</em>).</p>
<pre class="brush: css;">
#listticker{/*general settings*/
text-align:left;
height:220px;
width:270px;
overflow:hidden;
padding:6px 6px 6px 6px;
}
#listticker ul{/*list general settings*/
border:0;
margin-bottom:0;
padding:0;
list-style:none;
background:#f4f4f4;
}
#listticker li{/*single list element settings*/
height:40px;
padding:5px;
list-style:none;
margin-top:5px;
border:dashed 1px #dddddd;
background:#ffffff;
}
#listticker a{/*link settings*/
display:block;
color:#857d59;
margin-bottom:0px;
font-weight:bold;
float:left;
font-size:11px;
}
</pre>
<p>This code is customizable to follow the design of your blog. With the example configuration we will obtain the following one rendering.<br />
<img src="http://www.pvmgarage.com/contenuti/2009/06/newsticker.jpg" alt="Articoli recenti con effetto newsticker" /><br />
Now we create a folder <strong>post_newsticker</strong> where insert the eventual style sheet file if it has been chosen this road. Inside the folder <em>post_newsticker</em> we insert also the file <em>jquery.js</em>, it referers to <strong>JQuery</strong> base library, the Javascript framework used to recreate the sliding effect.<br />
Now we are ready to transfer on the server and just inside the directory of template graphical the folder containing post_newsticker files.</p>
<h3>Step 2 &#8211; Modification of the header.php file</h3>
<p>With this modification we recall the files previously loaded. The following portions of code will be inserted inside of the tag <strong>head</strong>. If you choose to use a dedicated css file for the style insert this:</p>
<pre class="brush: html;">
&lt;link rel="stylesheet" href="&lt;?php bloginfo('template_directory'); &gt;/post_newsticker/newsticker.css" type="text/css" /&gt;
</pre>
<p>Now insert the jQuery library reference.</p>
<pre class="brush: html;">
&lt;script src="&lt;?php bloginfo('template_directory'); >/post_newsticker/jquery.js" type="text/javascript"&gt;
&lt;/script&gt;
</pre>
<p>Therefore insert the javascript code in order to realize the sliding effect on the articles list.</p>
<pre class="brush: javascript;">
&lt;script type="text/javascript"&gt;
$(document).ready(function(){

	var first = 0;
	var speed = 500;
	var pause = 3000;

		function removeFirst(){
			first = $('ul#listticker li:first').html();
			$('ul#listticker li:first')
			.animate({opacity: 0}, speed)
			.fadeOut('slow', function() {$(this).remove();});
			addLast(first);
		}

		function addLast(first){
			last = '
	&lt;li style="display:none" mce_style="display:none"&gt;'+first+'&lt;/li&gt;
';
			$('ul#listticker').append(last)
			$('ul#listticker li:last')
			.animate({opacity: 1}, speed)
			.fadeIn('slow')
		}

	interval = setInterval(removeFirst, pause);
});
&lt;/script&gt;
</pre>
<p>With the speed and pause variables we can modify respective element refreshing velocity and the pause between the various refreshments. To this point we must connect the <strong>n last posts</strong> of the blog to the list elements.</p>
<h3>Step 3 &#8211; Modification of the sidebar.php file</h3>
<p>In order to obtain the list of n last posts we can use the native functions in Wordpress that refer to posts management.</p>
<pre class="brush: html;">
&lt;h2&gt; Articoli recenti&lt;/h2&gt;
&lt;ul id="listticker"&gt;
 &lt;?php
 $lastposts = get_posts('numberposts=10');
 foreach($lastposts as $post) :
    setup_postdata($post);
 ?&gt;
 &lt;li&gt;
 &lt;a href="&lt;?php the_permalink(); ?&gt;" id="post-&lt;?php the_ID(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;?php endforeach; ?&gt;
</pre>
<p>The code should follow the style of the page structure. The <em>ul</em> element have <em><strong>id=&#8221;listticker&#8221;</strong></em>.<br />
We define the n number (that the newsticker list contains) of the posts with <em>&#8220;numberpost&#8221;</em> variable.</p>
<h2>End</h2>
<p>To this point the recent-post-newsticker has been correctly installed.</p>
<p>A great part of the material for this module has been recovered on <a href="http://woork.blogspot.com/" target="_blank">Woork</a> (Antonio Lupetti&#8217;s tech blog) in the following article &#8221; <a href="http://woork.blogspot.com/2009/05/how-to-implement-news-ticker-with.html" target="_blank">How to implement a news ticker with jQuery and ten lines of code</a> &#8220;.</p>
<p>If you have any suggestions or ideas to improve the module write a comment to the post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/06/how-to-show-recent-posts-with-newsticker-effect-in-wordpress-sidebar/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>10 Ways to Realize Nice and Practical Menu with JavaScript Frameworks</title>
		<link>http://www.pvmgarage.com/2009/05/10-ways-to-realize-nice-and-practical-menu-with-javascript-frameworks/</link>
		<comments>http://www.pvmgarage.com/2009/05/10-ways-to-realize-nice-and-practical-menu-with-javascript-frameworks/#comments</comments>
		<pubDate>Tue, 26 May 2009 12:36:08 +0000</pubDate>
		<dc:creator>Piervincenzo Madeo</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.pvmgarage.com/en/?p=58</guid>
		<description><![CDATA[Structuring a menu is not always easy and immediate. Some web applications require a level of complex nesting, others are in need of some &#8220;effect&#8221; that makes it easily navigable, then build a good menu can become an hard work.
In this post I present some useful scripts and tutorials that could help those who are looking for effective solutions for the construction of a easily and accessible navigation box.
It must be clear that all scripts submitted are derived by working ...]]></description>
			<content:encoded><![CDATA[<p>Structuring a menu is not always easy and immediate. Some web applications require a level of complex nesting, others are in need of some &#8220;effect&#8221; that makes it <b>easily navigable</b>, then build a good menu can become an hard work.</p>
<p>In this post I present some <b>useful scripts and tutorials</b> that could help those who are looking for effective solutions for the construction of a easily and accessible navigation box.<br />
It must be clear that all scripts submitted are derived by working with the two most popular JavaScript Libraries: <b>jQuery and MooTools</b>. So you must download and activate the framework.</p>
<h2>Activate jQuery e Mootools</h2>
<p>Download Framework, upload on your server and activate in your web-page.</p>
<h3>jQuery Resources</h3>
<ul>
<li><a href="http://jquery.com/" title="The Home Page of the Project">jQuery Home Page</a></li>
<li><a href="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" title="Download Minified and Gzipped jQuery">Minified and Gzipped jQuery</a></li>
<li><a href="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js" title="Download Minified and Gzipped jQuery">Uncompressed Code jQuery</a></li>
<li><a href="http://docs.jquery.com/Main_Page" title="jQuery Documentation">jQuery Documentation</a></li>
</ul>
<p>Below there is the code to insert in your HTML document to activate jQuery.</p>
<pre class="brush: html;">
  &lt;head&gt;
    &lt;script type="text/javascript" src="jquery-1.3.2.min.js "&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        qui inserisci i tuoi script
    &lt;/script&gt;
  &lt;/head&gt;
</pre>
<h3>MooTools Resources</h3>
<ul>
<li><a href="http://mootools.net/" title="The Home Page of the Project">MooTools Home Page</a></li>
<li><a href="http://mootools.net/download/get/mootools-1.2.2-core-jm.js" title="Download Minified and Gzipped jQuery">Minified MooTools</a></li>
<li><a href="http://mootools.net/download/get/mootools-1.2.2-core-nc.js" title="Download Uncompressed MooTools version">Uncompressed Code MooTools</a></li>
<li><a href="http://mootools.net/docs/core" title="MooTools Documentation">jQuery Documentation</a></li>
</ul>
<p>Below there is the code to insert in your HTML document to activate MooTools.</p>
<pre class="brush: html;">
  &lt;head&gt;
    &lt;script type="text/javascript" src="mootools-1.2.2-core-jm.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
      qui puoi inserire tuoi script
    &lt;/script&gt;
  &lt;/head&gt;
</pre>
<h2 style="margin-bottom: 15px; border-bottom: 1px solid #1c1b16;">Plugin, scripts and Tutorial to Realize a Great Menu</h2>
<p>Here we&#8217;ve collected ten useful resources to realize practical and nice menu in your web projects.</p>
<h4 style="margin: 20px 0 10px 0;">BySlideMenu &#8211; Nice and powerful accordion menu</h4>
<p><small><a href="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu#byslidemenu" target="_blank">Demo</a> | <a href="http://www.byscripts.info/mootools/startDownload/byslidemenu/1.1" target="_blank">Download</a> | <a href="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu" target="_blank">Home Page</a></small><br />
<a href="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu" title="BySlideMenu - Nice and powerful accordion menu" target="_blank"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu1.jpg" alt="BySlideMenu - Nice and powerful accordion menu" /></a></p>
<h4 style="margin: 0 0 10px 0;">Sliding Top Menu With jQuery</h4>
<p><small><a href="http://www.webresourcesdepot.com/wp-content/uploads/file/jquery-sliding-menu/" target="_blank">Demo</a> | <a href="http://www.webresourcesdepot.com/wp-content/uploads/file/jquery-sliding-menu.zip" target="_blank">Download</a> | <a href="http://www.webresourcesdepot.com/sliding-top-menu-with-jquery/" target="_blank">Tutorial</a></small><br />
<a href="http://www.webresourcesdepot.com/sliding-top-menu-with-jquery/" title="BSliding Top Menu With jQuery" target="_blank"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu2.jpg" alt="BSliding Top Menu With jQuery" /></a></p>
<h4 style="margin: 0 0 10px 0;">Slide out and drawer effect with accordion plugin</h4>
<p><small><a href="http://jqueryfordesigners.com/demo/plugin-slide-demo.html" target="_blank">Demo</a> | <a href="http://dev.jquery.com/browser/trunk/plugins/accordion/jquery.accordion.zip" target="_blank">Download Accordion Plugin</a> | <a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/" target="_blank">Tutorial</a></small><br />
<a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/" title="Slide out and drawer effect with accordion plugin" target="_blank"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu3.jpg" alt="Slide out and drawer effect" /></a></p>
<h4 style="margin: 0 0 10px 0;">Sliding Jquery Menu</h4>
<p><small><a href="http://www.hv-designs.co.uk/tutorials/sliding_menu/sliding_menu.html" target="_blank">Demo</a> | <a href="http://www.hv-designs.co.uk/tutorials/sliding_menu/sample.zip" target="_blank">Download</a> | <a href="http://hv-designs.co.uk/2009/02/17/sliding-jquery-menu/" target="_blank">Tutorial</a></small><br />
<a href="http://hv-designs.co.uk/2009/02/17/sliding-jquery-menu/" title="Sliding Jquery Menu"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu4.jpg" alt="Sliding Jquery Menu" /></a></p>
<h4 style="margin: 0 0 10px 0;">Cut &#038; Paste Animated Outline Menu</h4>
<p><small><a href="http://www.javascriptkit.com/script/script2/outlinemenu.shtml#designanchor" target="_blank">Demo</a> | <a href="http://www.javascriptkit.com/script/script2/jkoutlinemenu.js" target="_blank">Download Script <i>.js</i></a> | <a href="http://www.javascriptkit.com/script/script2/outlinemenu.shtml" target="_blank">Tutorial</a></small><br />
<a href="http://www.javascriptkit.com/script/script2/outlinemenu.shtml" title="Cut &#038; Paste Animated Outline Menu"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu5.jpg" alt="Cut &#038; Paste Animated Outline Menu" /></a></p>
<h4 style="margin: 0 0 10px 0;">Kwicks for jQuery</h4>
<p><small><a href="http://www.jeremymartin.name/examples/kwicks.php?example=1" target="_blank">Demo</a> | <a href="http://kwicks.googlecode.com/svn/branches/v1.5.1/Kwicks/Kwicks-1.5.1.zip" target="_blank">Download</a> | <a href="http://www.jeremymartin.name/projects.php?project=kwicks" target="_blank">Home Page</a></small><br />
<a href="http://www.jeremymartin.name/projects.php?project=kwicks" title="Kwicks for jQuery"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu6.jpg" alt="Kwicks for jQuery" /></a></p>
<h4 style="margin: 0 0 10px 0;">jQuery Menu: Dropdown, iPod Drilldown, and Flyout styles with ARIA Support and ThemeRoller Ready</h4>
<p><small><a href="http://www.filamentgroup.com/examples/menus/ipod.php" target="_blank">Demo1</a> | <a href="http://www.filamentgroup.com/examples/menus/flyout.php" target="_blank">Demo2</a> | <a href="http://www.filamentgroup.com/examples/menus/fg-menu.zip" target="_blank">Download Plugin</a> | <a href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/" target="_blank">Home Page</a></small><br />
<a href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/" title="jQuery iPod-style Drilldown Menu"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu7.jpg" alt="jQuery iPod-style Drilldown Menu" /></a></p>
<h4 style="margin: 0 0 10px 0;">How To Create A ‘Mootools Homepage’ Inspired Navigation Effect Using jQuery</h4>
<p><small><a href="http://nettuts.s3.amazonaws.com/004_Moo/tutorial/demo/demo.html" target="_blank">Demo</a> | <a href="http://nettuts.s3.amazonaws.com/004_Moo/tutorial/demo/Download.zip" target="_blank">Download</a> | <a href="http://nettuts.com/html-css-techniques/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/" target="_blank">Tutorial</a></small><br />
<a href="http://nettuts.com/html-css-techniques/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/" title="How To Create A ‘Mootools Homepage’ Inspired Navigation Effect Using jQuery"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu8.jpg" alt="How To Create A ‘Mootools Homepage’ Inspired Navigation Effect Using jQuery" /></a></p>
<h4 style="margin: 0 0 10px 0;">Side Navigation Tooltip / Popup Bubble</h4>
<p><small><a href="http://www.sohtanaka.com/web-design/examples/side-nav-popup/" target="_blank">Demo</a> | <a href="http://www.sohtanaka.com/web-design/side-navigation-tooltip-popup-bubble/" target="_blank">Tutorial</a></small><br />
<a href="http://www.sohtanaka.com/web-design/side-navigation-tooltip-popup-bubble/" title="Side Navigation Tooltip / Popup Bubble"><img src="http://www.pvmgarage.com/contenuti/2009/05/jsmenu10.jpg" alt="Side Navigation Tooltip / Popup Bubble" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pvmgarage.com/2009/05/10-ways-to-realize-nice-and-practical-menu-with-javascript-frameworks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

