<?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>Hiranthi&#039;s weblog &#187; html</title> <atom:link href="http://hiranthi.nl/tag/html/feed/" rel="self" type="application/rss+xml" /><link>http://hiranthi.nl</link> <description>Weblog van een ondernemende vrouw</description> <lastBuildDate>Fri, 20 Jan 2012 13:00:40 +0000</lastBuildDate> <language>nl</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Dropdown navigatie 2.0</title><link>http://hiranthi.nl/tutorials/dropdown-navigatie-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dropdown-navigatie-2</link> <comments>http://hiranthi.nl/tutorials/dropdown-navigatie-2/#comments</comments> <pubDate>Tue, 12 Oct 2010 14:00:48 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[css]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[dropdown]]></category> <category><![CDATA[html]]></category> <category><![CDATA[menu]]></category> <category><![CDATA[navigatie]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1522</guid> <description><![CDATA[Een tijd geleden heb ik een tutorial geschreven over het maken van een CSS dropdown navigatie. In deze tutorial behandel ik hetzelfde principe, alleen anders uitgewerkt: Dropdown 2.0 Wat ik met Dropdown 2.0 bedoel? Je kent vast die mooie dropdown navigaties wel (zoals op bijvoorbeeld de website van SalesWorks), dat soort dropdowns bedoel ik dus [...]]]></description> <content:encoded><![CDATA[<p>Een tijd geleden heb ik een tutorial geschreven over het maken van een CSS dropdown navigatie. In deze tutorial behandel ik hetzelfde principe, alleen anders uitgewerkt: Dropdown 2.0<br
/> Wat ik met Dropdown 2.0 bedoel? Je kent vast die mooie dropdown navigaties wel (zoals op bijvoorbeeld de website van <a
rel="nofollow" target="_blank" href="http://www.sales-works.nl">SalesWorks</a>), dat soort dropdowns bedoel ik dus <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span
id="more-1522"></span></p><h2>HTML voor de navigatie</h2><p>De HTML voor de navigatie bestaat uit <code>ul&#039;s</code>. Ik laat drie verschillende mogelijkheden zien, dus in de hoofd <code>ul</code> heb ik drie <code>li&#039;s</code>:</p><pre><pre lang="html">
  &lt;ul id=&quot;mainnav&quot;&gt;
      &lt;li class=&quot;side&quot;&gt;&lt;a href=&quot;#&quot;&gt;Drie sub-blokken naast elkaar&lt;/a&gt;&lt;ul&gt;
          &lt;li&gt;&lt;h2&gt;Lorem ipsum&lt;/h2&gt;&lt;ul&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Lorem ipsum&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Lorem ipsum&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Lorem ipsum&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
          &lt;li&gt;&lt;h2&gt;Dolor sit amet&lt;/h2&gt;&lt;ul&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
          &lt;li&gt;&lt;h2&gt;Dolor sit amet&lt;/h2&gt;&lt;ul&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Gewone dropdown&lt;/a&gt;&lt;ul&gt;
            &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        
      &lt;li class=&quot;img&quot;&gt;&lt;a href=&quot;#&quot;&gt;Afbeelding naast item&lt;/a&gt;&lt;ul&gt;
            &lt;li class=&quot;afb1&quot;&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet &lt;span class=&quot;description&quot;&gt;consectetur adipiscing elit&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li class=&quot;afb2&quot;&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet &lt;span class=&quot;description&quot;&gt;consectetur adipiscing elit&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li class=&quot;afb3&quot;&gt;&lt;a href=&quot;#&quot;&gt;Dolor sit amet &lt;span class=&quot;description&quot;&gt;consectetur adipiscing elit&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
    &lt;/ul&gt;
</pre></pre><h2>Stijling</h2><p>Ik heb de stijling simpel gehouden. De hoofd-navigatie heeft een lichtgrijze achtergrond en de letters zijn midden-grijs. De stijling van de sub-items kun je uiteraard ook naar hartelust veranderen.</p><pre><pre lang="css">
/* dropdown 2.0 */
ul#mainnav { width:100%; float:left; background-color:#eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; }
ul#mainnav li { display:block; float:left; position:relative; height:40px; padding:0 10px; line-height:40px; }
ul#mainnav li:hover { background:url(&#039;arrow-top.png&#039;) 10px 30px no-repeat; }
ul#mainnav li a { color:#bbb; font-weight:bold; }
/* subitems - default */
ul#mainnav li ul { display:none; position:absolute; top:35px; left:0; width:175px; background-color:#fff; border:1px solid #bbb; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; padding:5px; -moz-box-shadow: 0 0 .5em #bbb; -webkit-box-shadow: 0 0 .5em #bbb; box-shadow: 0 0 .5em #bbb; /* &gt;= IE8 */ }
ul#mainnav li:hover ul { display:block; }
ul#mainnav li ul li { width:100%; padding:5px; line-height:normal; height:auto; }
ul#mainnav li ul li a { display:block; }
ul#mainnav li ul li a:hover { text-decoration:underline; }
ul#mainnav li ul li ul { border:0; position:inherit; top:0; box-shadow:0 0 0; -moz-box-shadow:0 0 0; -webkit-box-shadow:0 0 0; border-radius:0; -moz-border-radius:0; -webkit-border-radius:0; }

/* subitems - side */
ul#mainnav li.side ul { width:450px; float:left; }
ul#mainnav li.side ul li { width:130px; padding:10px; }
ul#mainnav li.side ul li h2 { border:1px solid #09f; background-color: #9cf; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; padding:5px; color:#fff }
ul#mainnav li.side ul li ul { border:0; width:auto; padding:5px 0 0; }
ul#mainnav li.side ul li ul li { padding:5px; list-style:disc; list-style-type:disc; list-style-position:inside; width:100%; background:none; }
ul#mainnav li.side ul li ul li a { color:#bbb; }
ul#mainnav li.side ul li ul li a:hover { color:#09f }

/* subitems - img */
ul#mainnav li.img {}
ul#mainnav li.img ul { width:200px; }
ul#mainnav li.img ul li { background:url(&#039;arrows_white-border.png&#039;) no-repeat; height:40px; width:149px; padding:7px 5px 3px 50px; }
ul#mainnav li.img ul li.afb1 { background-position:0 0; }
ul#mainnav li.img ul li.afb2 { background-position:0 -92px; }
ul#mainnav li.img ul li.afb3 { background-position:0 -184px; }
ul#mainnav li.img ul li a {  }
ul#mainnav li.img ul li a:hover { color:#999; text-decoration:none; }
ul#mainnav li.img ul li span.description { width:100%; display:block; font-weight:normal; font-size:90%; }
</pre></pre><h2>Online demo</h2><p>De online demo van deze tutorial <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/dropdown2.0/">vind je hier</a>.</p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fdropdown-navigatie-2%2F&amp;t=Dropdown+navigatie+2.0" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Dropdown+navigatie+2.0%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1522%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fdropdown-navigatie-2%2F&amp;title=Dropdown+navigatie+2.0&amp;notes=Een+tijd+geleden+heb+ik+een+tutorial+geschreven+over+het+maken+van+een+CSS+dropdown+navigatie.+In+deze+tutorial+behandel+ik+hetzelfde+principe%2C+alleen+anders+uitgewerkt%3A+Dropdown+2.0%0A+Wat+ik+met+Dropdown+2.0+bedoel%3F+Je+kent+vast+die+mooie+dropdown+na" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fdropdown-navigatie-2%2F&amp;title=Dropdown+navigatie+2.0&amp;bodytext=Een+tijd+geleden+heb+ik+een+tutorial+geschreven+over+het+maken+van+een+CSS+dropdown+navigatie.+In+deze+tutorial+behandel+ik+hetzelfde+principe%2C+alleen+anders+uitgewerkt%3A+Dropdown+2.0%0A+Wat+ik+met+Dropdown+2.0+bedoel%3F+Je+kent+vast+die+mooie+dropdown+na" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fdropdown-navigatie-2%2F&amp;title=Dropdown+navigatie+2.0" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/dropdown-navigatie-2/" onclick="addBookmark(event);" title="Dropdown navigatie 2.0" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Dropdown navigatie 2.0&amp;body=Een tijd geleden heb ik een tutorial geschreven over het maken van een CSS dropdown navigatie. In deze tutorial behandel ik hetzelfde principe, alleen anders uitgewerkt: Dropdown 2.0
Wat ik met Dropdown 2.0 bedoel? Je kent vast die mooie dropdown na - http://hiranthi.nl/tutorials/dropdown-navigatie-2/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/dropdown-navigatie-2/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Quick preview van je producten</title><link>http://hiranthi.nl/tutorials/quick-preview-producten/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quick-preview-producten</link> <comments>http://hiranthi.nl/tutorials/quick-preview-producten/#comments</comments> <pubDate>Tue, 05 Oct 2010 12:00:37 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[css]]></category> <category><![CDATA[E-commerce]]></category> <category><![CDATA[html]]></category> <category><![CDATA[webshop]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1861</guid> <description><![CDATA[Je wil je bezoekers zo min mogelijk laten wachten op je website, voor webshops geldt dit uiteraard ook. Om je bezoekers de mogelijkheid te geven om snel informatie over een product te bekijken zonder naar een nieuwe pagina te moeten gaan kun je gebruik maken van zogeheten Quick Previews. In mijn tutorial over de maak [...]]]></description> <content:encoded><![CDATA[<p>Je wil je bezoekers zo min mogelijk laten wachten op je website, voor webshops geldt dit uiteraard ook. Om je bezoekers de mogelijkheid te geven om snel informatie over een product te bekijken zonder naar een nieuwe pagina te moeten gaan kun je gebruik maken van zogeheten Quick Previews. In mijn tutorial over de <a
href="http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/">IKEA producten weergave</a> maak je al gebruik van een gedeeltelijke quick preview, in deze tutorial laat ik je zien hoe je meer informatie kunt laten zien in een Lightbox-variant.<span
id="more-1861"></span></p><p>Als eerste moet je bedenken hoe je de bezoeker wilt laten zien dat ze een Quick Preview van het product kunnen openen. Ik gebruik er een afbeelding voor met de tekst &#8216;QUICKVIEW &gt;&#8217;.</p><p><a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/2010/10/quickview.gif" class="lightbox" ><img
class="aligncenter size-large wp-image-1885" src="/files/2010/10/quickview-618x200.gif" alt="" width="618" height="200" /></a></p><h2>HTML</h2><p>Zoals je kunt zien in bovenstaande afbeelding gebruik ik de <a
href="http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/">IKEA producten weergave</a> weer, hier zal ik niet weer alle HTML voor laten zien.</p><pre><pre lang="html">
    &lt;li class=&quot;product&quot;&gt;
          &lt;div id=&quot;quickviewID1&quot; class=&quot;qv&quot;&gt;&lt;div class=&quot;quickview&quot;&gt;
              &lt;div class=&quot;alignleft&quot;&gt;
                  &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                  &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                    &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;/div&gt;
                &lt;div class=&quot;alignright&quot;&gt;
                  &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                    &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                    &lt;p class=&quot;prod-desc&quot;&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rhoncus arcu eget velit varius vitae luctus felis consectetur. Nullam at sapien id felis bibendum consectetur. Donec sodales nibh dui. Maecenas pharetra varius mi, at porttitor nunc mattis ac. Donec sagittis adipiscing dolor vel vestibulum. Nam facilisis, tellus vitae cursus porta, elit lectus congue turpis, vel rutrum sem mauris sit amet orci. Fusce varius dictum fringilla. Sed et quam tellus. Aliquam erat volutpat. Nulla ac interdum lectus. Cras eu nisl ut augue laoreet posuere. Pellentesque mi ante, elementum quis ultrices nec, vestibulum nec magna. Nullam est metus, semper ac elementum quis, imperdiet ac tellus. Duis tincidunt mollis pulvinar. Donec felis risus, lacinia lobortis elementum vel, commodo ac lectus.&lt;/p&gt;
                    &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
                    &lt;hr /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;&lt;/div&gt;
            
            &lt;div class=&quot;info&quot;&gt;
                &lt;div class=&quot;prod-info&quot;&gt;
                    &lt;a href=&quot;#quickviewID1&quot; title=&quot;Stoel&quot; rel=&quot;shadowbox;height=400;width=600&quot; class=&quot;quickview&quot;&gt;&lt;img src=&quot;quickview.png&quot; class=&quot;quickview&quot; width=&quot;100&quot; height=&quot;40&quot; alt=&quot;Quickview&quot; /&gt;&lt;/a&gt;
                    &lt;img src=&quot;stoel.jpg&quot; class=&quot;prod&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                    &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                    &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                    &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
                    
                    &lt;div class=&quot;prod-more-info&quot;&gt;
                        &lt;hr /&gt;
                        &lt;h3&gt;Extra informatie&lt;/h3&gt;
                        &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                        &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
      &lt;/div&gt;
        &lt;/li&gt;
</pre></pre><p>De HTML hierboven is voor 1 product, de weergave in het overzicht <em>en</em> wat er in de Quick Preview weergegeven moet worden.</p><p>De HTML voor de Quick Preview geïsoleerd:</p><pre><pre lang="html">
            &lt;div id=&quot;quickviewID1&quot; class=&quot;qv&quot;&gt;&lt;div class=&quot;quickview&quot;&gt;
              &lt;div class=&quot;alignleft&quot;&gt;
                  &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                  &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                    &lt;img src=&quot;stoel.jpg&quot; width=&quot;200&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;/div&gt;
                &lt;div class=&quot;alignright&quot;&gt;
                  &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                    &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                    &lt;p class=&quot;prod-desc&quot;&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rhoncus arcu eget velit varius vitae luctus felis consectetur. Nullam at sapien id felis bibendum consectetur. Donec sodales nibh dui. Maecenas pharetra varius mi, at porttitor nunc mattis ac. Donec sagittis adipiscing dolor vel vestibulum. Nam facilisis, tellus vitae cursus porta, elit lectus congue turpis, vel rutrum sem mauris sit amet orci. Fusce varius dictum fringilla. Sed et quam tellus. Aliquam erat volutpat. Nulla ac interdum lectus. Cras eu nisl ut augue laoreet posuere. Pellentesque mi ante, elementum quis ultrices nec, vestibulum nec magna. Nullam est metus, semper ac elementum quis, imperdiet ac tellus. Duis tincidunt mollis pulvinar. Donec felis risus, lacinia lobortis elementum vel, commodo ac lectus.&lt;/p&gt;
                    &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
                    &lt;hr /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;&lt;/div&gt;
</pre></pre><p>De <code>#quickviewID1</code> (id) moet voor elk product anders zijn, omdat je anders continue dezelfde Quick Preview opent (nou is dat in mijn voorbeeld niet zo erg, omdat hetzelfde product herhaald wordt, maar in een live website is dit niet wenselijk). Vergeet dus niet de ID van de <code>div</code> te veranderen, maar ook niet in de <code>href</code> van de link voor de Lightbox variant:</p><pre lang="html">&lt;a href=&quot;#quickviewID1&quot; title=&quot;Stoel&quot; rel=&quot;shadowbox;height=400;width=600&quot; class=&quot;quickview&quot;&gt;&lt;img src=&quot;quickview.png&quot; class=&quot;quickview&quot; width=&quot;100&quot; height=&quot;40&quot; alt=&quot;Quickview&quot; /&gt;&lt;/a&gt;</pre><h2>CSS</h2><p>Om de inhoud in Shadowbox te laten zien zoals je wil moet je CSS gebruiken, in mijn voorbeeld is dat de volgende CSS:</p><pre><pre lang="CSS">
/* quick view */
div.qv, div.quickview { display:none; }
#sb-body div.quickview { padding:20px; width:540px; display:block; }

#sb-body, #sb-loading { background-color:#fff; }
#sb-body .alignleft { width:200px; display:block; float:left; }
#sb-body .alignright { width:260px; display:block; float:right; }

#sb-body h2 { text-transform: uppercase; margin: 0 0 .5em; padding: .5em 0; font-size: 1.4em; }
#sb-body h3 { font-size: 1.2em; margin: 0 0 .5em; padding: .5em 0 0; }
#sb-body p { font-size:1.2em; line-height:1.5em; margin:0 0 1em; }
#sb-body p.prod-price { font-weight: bold; font-size: 1.6em; line-height: 1.8em; }
#sb-body a { text-decoration: none; color: darkturquoise; }
</pre></pre><h2>Online demo</h2><p>Ook van deze tutorial is weer een <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/quickview/">online demo</a> te bekijken <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fquick-preview-producten%2F&amp;t=Quick+preview+van+je+producten" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Quick+preview+van+je+producten%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1861%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fquick-preview-producten%2F&amp;title=Quick+preview+van+je+producten&amp;notes=Je+wil+je+bezoekers+zo+min+mogelijk+laten+wachten+op+je+website%2C+voor+webshops+geldt+dit+uiteraard+ook.+Om+je+bezoekers+de+mogelijkheid+te+geven+om+snel+informatie+over+een+product+te+bekijken+zonder+naar+een+nieuwe+pagina+te+moeten+gaan+kun+je+gebru" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fquick-preview-producten%2F&amp;title=Quick+preview+van+je+producten&amp;bodytext=Je+wil+je+bezoekers+zo+min+mogelijk+laten+wachten+op+je+website%2C+voor+webshops+geldt+dit+uiteraard+ook.+Om+je+bezoekers+de+mogelijkheid+te+geven+om+snel+informatie+over+een+product+te+bekijken+zonder+naar+een+nieuwe+pagina+te+moeten+gaan+kun+je+gebru" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fquick-preview-producten%2F&amp;title=Quick+preview+van+je+producten" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/quick-preview-producten/" onclick="addBookmark(event);" title="Quick preview van je producten" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Quick preview van je producten&amp;body=Je wil je bezoekers zo min mogelijk laten wachten op je website, voor webshops geldt dit uiteraard ook. Om je bezoekers de mogelijkheid te geven om snel informatie over een product te bekijken zonder naar een nieuwe pagina te moeten gaan kun je gebru - http://hiranthi.nl/tutorials/quick-preview-producten/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/quick-preview-producten/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IKEA grid-view in Shopp</title><link>http://hiranthi.nl/tutorials/ikea-grid-view-shopp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ikea-grid-view-shopp</link> <comments>http://hiranthi.nl/tutorials/ikea-grid-view-shopp/#comments</comments> <pubDate>Fri, 24 Sep 2010 12:00:14 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[css]]></category> <category><![CDATA[E-commerce]]></category> <category><![CDATA[html]]></category> <category><![CDATA[Shopp]]></category> <category><![CDATA[webshop]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1873</guid> <description><![CDATA[In heb ik je laten zien hoe je de IKEA grid-view kunt nabootsen. In deze post laat ik zien hoe je die code voor je Shopp webshop kunt gebruiken. Basis HTML &#60;ul id=&#34;products&#34;&#62; &#60;li class=&#34;product&#34;&#62;&#60;div class=&#34;info&#34;&#62; &#60;div class=&#34;prod-info&#34;&#62; &#60;img src=&#34;stoel.jpg&#34; width=&#34;100&#34; alt=&#34;Stoel&#34; /&#62; &#60;h2 class=&#34;prod-title&#34;&#62;Stoel&#60;/h2&#62; &#60;p class=&#34;prod-desc&#34;&#62;Een bruin leren stoel&#60;/p&#62; &#60;p class=&#34;prod-price&#34;&#62;&#38;euro; 250,-&#60;/p&#62; &#60;div class=&#34;prod-more-info&#34;&#62; [...]]]></description> <content:encoded><![CDATA[<p>In <a
href="http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/">mijn vorige post</a> heb ik je laten zien hoe je de IKEA grid-view kunt nabootsen. In deze post laat ik zien hoe je die code voor je Shopp webshop kunt gebruiken.<span
id="more-1873"></span></p><h2>Basis HTML</h2><pre><pre lang="html">
  &lt;ul id=&quot;products&quot;&gt;
  
    &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
      &lt;div class=&quot;prod-info&quot;&gt;
        &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
        &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
        &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
        &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
        
        &lt;div class=&quot;prod-more-info&quot;&gt;
          &lt;hr noshade=&quot;noshade&quot; /&gt;
          &lt;h3&gt;Extra informatie&lt;/h3&gt;
          &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
          &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;/li&gt;
    
  &lt;/ul&gt;
</pre></pre><p>In mijn vorige post hierover gebruikte ik hetzelfde product 5 keer, omdat we nu een dynamisch aantal producten hebben &#8211; en het willen integreren in Shopp &#8211; hebben we de HTML voor een product maar 1 keer nodig.</p><h2>Shopp integratie</h2><p><em>Deze tutorial is voor Shopp 1.1!</em></p><p>Als eerste is het belangrijk dat je Custom Templates hebt geactiveerd in je Shopp installatie (Shopp -&gt; Settings -&gt; Presentation). Pak daarna de category.php (in de shopp-map in de map van je theme).</p><h3>De code</h3><pre><pre lang="php">
&lt;?php if(shopp(&#039;category&#039;,&#039;hasproducts&#039;,&#039;load=prices,images&#039;)): ?&gt;
  &lt;h1&gt;&lt;?php shopp(&#039;category&#039;,&#039;name&#039;); ?&gt;&lt;/h1&gt;
  
  &lt;ul class=&quot;products&quot;&gt;
    &lt;li class=&quot;row&quot;&gt;&lt;ul&gt;
    &lt;?php while(shopp(&#039;category&#039;,&#039;products&#039;)): ?&gt;
    &lt;?php if(shopp(&#039;category&#039;,&#039;row&#039;)): ?&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;row&quot;&gt;&lt;ul&gt;&lt;?php endif; ?&gt;
    
      &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
        &lt;div class=&quot;prod-info&quot;&gt;
          &lt;?php shopp(&#039;product&#039;,&#039;coverimage&#039;,&#039;height=75&amp;fit=height&#039;); ?&gt;
          &lt;h2 class=&quot;prod-title&quot;&gt;&lt;?php shopp(&#039;product&#039;,&#039;name&#039;); ?&gt;&lt;/h2&gt;
          &lt;p class=&quot;prod-desc&quot;&gt;&lt;?php shopp(&#039;product&#039;,&#039;summary&#039;); ?&gt;&lt;/p&gt;
          &lt;p class=&quot;prod-price&quot;&gt;&lt;?php shopp(&#039;product&#039;,&#039;saleprice&#039;,&#039;starting=Vanaf&#039;); ?&gt;&lt;/p&gt;
          
          &lt;div class=&quot;prod-more-info&quot;&gt;
            &lt;hr noshade=&quot;noshade&quot; /&gt;
            &lt;?php if (shopp(&#039;product&#039;,&#039;has-savings&#039;)): ?&gt;
              &lt;p class=&quot;savings&quot;&gt;&lt;?php _e(&#039;Bespaar&#039;,&#039;Shopp&#039;); ?&gt; &lt;?php shopp(&#039;product&#039;,&#039;savings&#039;,&#039;show=percent&#039;); ?&gt;&lt;/p&gt;
            &lt;?php endif; ?&gt;
            
            &lt;?php if(shopp(&#039;product&#039;,&#039;has-specs&#039;)): ?&gt;
            &lt;h3&gt;Specificaties&lt;/h3&gt;
            &lt;dl class=&quot;details&quot;&gt;
              &lt;?php while(shopp(&#039;product&#039;,&#039;specs&#039;)): ?&gt;
              &lt;dt&gt;&lt;?php shopp(&#039;product&#039;,&#039;spec&#039;,&#039;name&#039;); ?&gt;:&lt;/dt&gt;&lt;dd&gt;&lt;?php shopp(&#039;product&#039;,&#039;spec&#039;,&#039;content&#039;); ?&gt;&lt;/dd&gt;
              &lt;?php endwhile; ?&gt;
            &lt;/dl&gt;
            &lt;?php endif; ?&gt;
            
            &lt;p&gt;&lt;a href=&quot;&lt;?php shopp(&#039;product&#039;,&#039;url&#039;); ?&gt;&quot; class=&quot;prod-link&quot; title=&quot;&lt;?php shopp(&#039;product&#039;,&#039;name&#039;); ?&gt; bekijken&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;&lt;/li&gt;
      
    &lt;?php endwhile; ?&gt;
    &lt;/ul&gt;&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;div class=&quot;alignright&quot;&gt;&lt;?php shopp(&#039;category&#039;,&#039;pagination&#039;); ?&gt;&lt;/div&gt;
  
&lt;?php else: ?&gt;
  &lt;?php if (!shopp(&#039;catalog&#039;,&#039;is-landing&#039;)): ?&gt;
    &lt;h1&gt;&lt;?php shopp(&#039;category&#039;,&#039;name&#039;); ?&gt;&lt;/h1&gt;
    &lt;p&gt;&lt;?php _e(&#039;Er zijn geen producten gevonden.&#039;,&#039;Shopp&#039;); ?&gt;&lt;/p&gt;
  &lt;?php endif; ?&gt;
&lt;?php endif; ?&gt;
</pre></pre><p>Eigenlijk alle code is hetzelfde als in vorige versies, maar een klein stukje niet: <code>coverimage</code>. Dit is de nieuwe code voor de thumbnail van het product en die heeft ook nieuwe mogelijkheden.</p><pre><pre lang="php">
&lt;?php shopp(&#039;product&#039;,&#039;coverimage&#039;,&#039;height=75&amp;fit=height&#039;); ?&gt;
</pre></pre><p>De opties die ik heb opgegeven in deze tag betekenen dat de afbeelding 75pixels hoog wordt en dat de hoogte moet passen (breedte is dus variabel).</p><h2>Stijling</h2><p>Voor de stijling kun je gebruik maken van de CSS die ik heb opgegeven in de <a
href="http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/">originele tutorial</a>. Daarnaast kun je gebruik maken van de stijling van Shopp (in shopp.css, ook in de shopp-map van je theme).</p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fikea-grid-view-shopp%2F&amp;t=IKEA+grid-view+in+Shopp" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=IKEA+grid-view+in+Shopp%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1873%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fikea-grid-view-shopp%2F&amp;title=IKEA+grid-view+in+Shopp&amp;notes=In++heb+ik+je+laten+zien+hoe+je+de+IKEA+grid-view+kunt+nabootsen.+In+deze+post+laat+ik+zien+hoe+je+die+code+voor+je+Shopp+webshop+kunt+gebruiken.%0ABasis+HTML%0A%0A%09%0A%09%0A%09%09%0A%09%09%09%0A%09%09%09%09%0A%09%09%09%09Stoel%0A%09%09%09%09Een+bruin+leren+stoel%0A%09%09%09%09%26euro%3B+250%2C-%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%09%0A%09%09%09%09%09Ex" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fikea-grid-view-shopp%2F&amp;title=IKEA+grid-view+in+Shopp&amp;bodytext=In++heb+ik+je+laten+zien+hoe+je+de+IKEA+grid-view+kunt+nabootsen.+In+deze+post+laat+ik+zien+hoe+je+die+code+voor+je+Shopp+webshop+kunt+gebruiken.%0ABasis+HTML%0A%0A%09%0A%09%0A%09%09%0A%09%09%09%0A%09%09%09%09%0A%09%09%09%09Stoel%0A%09%09%09%09Een+bruin+leren+stoel%0A%09%09%09%09%26euro%3B+250%2C-%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%09%0A%09%09%09%09%09Ex" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fikea-grid-view-shopp%2F&amp;title=IKEA+grid-view+in+Shopp" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/ikea-grid-view-shopp/" onclick="addBookmark(event);" title="IKEA grid-view in Shopp" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=IKEA grid-view in Shopp&amp;body=In  heb ik je laten zien hoe je de IKEA grid-view kunt nabootsen. In deze post laat ik zien hoe je die code voor je Shopp webshop kunt gebruiken.
Basis HTML
Stoel
Een bruin leren stoel
&euro; 250,-
Ex - http://hiranthi.nl/tutorials/ikea-grid-view-shopp/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/ikea-grid-view-shopp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Productoverzicht weergave als IKEA</title><link>http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=productoverzicht-weergave-ikea</link> <comments>http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/#comments</comments> <pubDate>Tue, 21 Sep 2010 12:00:13 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[css]]></category> <category><![CDATA[E-commerce]]></category> <category><![CDATA[html]]></category> <category><![CDATA[pop-out]]></category> <category><![CDATA[webshop]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1514</guid> <description><![CDATA[De IKEA website heeft een vernieuwde weergave van de productoverzicht pagina&#8217;s. Op het eerste gezicht lijkt er niks verandert, maar als je met je muis over een product gaat krijg je meer informatie over dat product te zien. In deze tutorial ga ik je laten zien hoe jij dat effect kunt nabootsen. Grid view Als [...]]]></description> <content:encoded><![CDATA[<p>De IKEA website heeft een vernieuwde weergave van de productoverzicht pagina&#8217;s. Op het eerste gezicht lijkt er niks verandert, maar als je met je muis over een product gaat krijg je meer informatie over dat product te zien. In deze tutorial ga ik je laten zien hoe jij dat effect kunt nabootsen.<span
id="more-1514"></span></p><h2>Grid view</h2><p>Als eerste hebben we een standaard grid view, gevuld met producten, nodig voor de product-overzicht pagina.</p><pre><pre lang="html">
&lt;ul id=&quot;products&quot;&gt;
        &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
            &lt;div class=&quot;prod-info&quot;&gt;
                &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
 
                &lt;div class=&quot;prod-more-info&quot;&gt;
                    &lt;hr noshade=&quot;noshade&quot; /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;/li&gt;
 
        &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
            &lt;div class=&quot;prod-info&quot;&gt;
                &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
 
                &lt;div class=&quot;prod-more-info&quot;&gt;
                    &lt;hr noshade=&quot;noshade&quot; /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;/li&gt;
 
        &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
            &lt;div class=&quot;prod-info&quot;&gt;
                &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
 
                &lt;div class=&quot;prod-more-info&quot;&gt;
                    &lt;hr noshade=&quot;noshade&quot; /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;/li&gt;
 
        &lt;li class=&quot;product&quot;&gt;&lt;div class=&quot;info&quot;&gt;
            &lt;div class=&quot;prod-info&quot;&gt;
                &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
 
                &lt;div class=&quot;prod-more-info&quot;&gt;
                    &lt;hr noshade=&quot;noshade&quot; /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;/li&gt;
 
        &lt;li class=&quot;product last&quot;&gt;&lt;div class=&quot;info&quot;&gt;
            &lt;div class=&quot;prod-info&quot;&gt;
                &lt;img src=&quot;stoel.jpg&quot; width=&quot;100&quot; alt=&quot;Stoel&quot; /&gt;
                &lt;h2 class=&quot;prod-title&quot;&gt;Stoel&lt;/h2&gt;
                &lt;p class=&quot;prod-desc&quot;&gt;Een bruin leren stoel&lt;/p&gt;
                &lt;p class=&quot;prod-price&quot;&gt;&amp;euro; 250,-&lt;/p&gt;
 
                &lt;div class=&quot;prod-more-info&quot;&gt;
                    &lt;hr noshade=&quot;noshade&quot; /&gt;
                    &lt;h3&gt;Extra informatie&lt;/h3&gt;
                    &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
                    &lt;p&gt;&lt;a href=&quot;#product&quot; class=&quot;prod-link&quot;&gt;Product bekijken &amp;raquo;&lt;/a&gt;&lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;&lt;/li&gt;
 
    &lt;/ul&gt;
</pre></pre><p>Voor het gemak heb ik vijf keer hetzelfde product gebruikt (het wordt dus een grid-view met 5 producten op een rij).<br
/> Het laatste product heeft niet alleen de class <code>product</code> (de <code>li</code>), maar ook de class <code>last</code>.</p><h3>Opmaak</h3><p>Om het geheel te laten werken hebben we ook stijling nodig. Er komt dus geheel geen JavaScript aan te pas! <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><pre><pre lang="css">
ul#products
{
  margin:0 0 2em;
}

ul#products li.product
{
  width:19.8%;
  height:200px;
  display:inline;
  float:left;
  border-right:1px solid #eee;
  position:relative;
  background:#fff;
  margin:0 0 2em;
}

ul#products li.product:hover
{
  border-right-color:#fff;
  z-index:9;
}

ul#products li.product .info
{
  display:block;
  background:#fff;
}

ul#products li.product .prod-info
{
  padding:1.1em;
}

ul#products li.product .info:hover .prod-info
{
  -moz-box-shadow:0 0 .5em #888;
  -webkit-box-shadow:0 0 .5em #888;
  box-shadow:0 0 .5em #888;
  filter:progid:DXImageTransform.Microsoft.dropShadow(color=#969696, offx=1, offy=1, positive=true)
    progid:DXImageTransform.Microsoft.dropShadow(color=#C2C2C2, offx=1, offy=1, positive=true)
    progid:DXImageTransform.Microsoft.dropShadow(color=#EFEFEF, offx=1, offy=1, positive=true);/* &lt;= IE7 */
  -ms-filter:&quot;progid:DXImageTransform.Microsoft.dropShadow(color=#969696, offx=1, offy=1, positive=true)
    progid:DXImageTransform.Microsoft.dropShadow(color=#C2C2C2, offx=1, offy=1, positive=true)
    progid:DXImageTransform.Microsoft.dropShadow(color=#EFEFEF, offx=1, offy=1, positive=true)&quot;; /* &gt;= IE8 */
  padding:1em;
  border:1px solid #eee;
}

ul#products li.product img
{
  margin:0 auto 5px;
  display:block;
}

ul#products li.product h2
{
  text-transform:uppercase;
  margin:0 0 .5em;
  padding:.5em 0;
  font-size:1.4em;
}

ul#products li.product p
{
  font-size:1.2em;
  margin:0 0 .5em;
  line-height:1.4em;
}

ul#products li.product p.prod-price
{
  font-weight:bold;
  font-size:1.6em;
  line-height:1.8em;
}

ul#products li.last
{
  border:none;
}

ul#products li.product a.prod-link
{
  text-decoration:none;
  color:darkturquoise;
}

ul#products li.product .prod-more-info
{
  display:none;
}

ul#products li.product .info:hover .prod-more-info
{
  display:block;
  width:100%;
}
</pre></pre><p>De <code>z-index:9;</code> op <code>ul#products li.product:hover</code> zorgt ervoor dat de <code>li</code> boven andere elementen gezet wordt. Werkt deze niet bij jou? Dan kan het zijn dat het element (waar deze overheen moet gaan) een hogere <code>z-index</code> heeft. Je kunt de <code>z-index</code> zo hoog maken als je zelf wil (hou wel rekening met evt. Lightbox varianten, zij gebruiken ook een <code>z-index</code> om boven alle elementen te komen).</p><h4>CSS3</h4><p>Voor de schaduw maak ik gebruik van CSS3 in plaats van afbeeldingen:</p><pre><pre lang="css">
-moz-box-shadow:0 0 .5em #888;
-webkit-box-shadow:0 0 .5em #888;
box-shadow:0 0 .5em #888;</pre></pre><p>In Internet Explorer wordt CSS3 (nog) niet ondersteund. IE heeft wel filters die eenzelfde resultaat geven (maar deze komen niet door de W3C validatie heen):</p><pre><pre lang="css">
filter:progid:DXImageTransform.Microsoft.dropShadow(color=#969696, offx=1, offy=1, positive=true)
  progid:DXImageTransform.Microsoft.dropShadow(color=#C2C2C2, offx=1, offy=1, positive=true)
  progid:DXImageTransform.Microsoft.dropShadow(color=#EFEFEF, offx=1, offy=1, positive=true);/* &lt;= IE7 */
-ms-filter:&quot;progid:DXImageTransform.Microsoft.dropShadow(color=#969696, offx=1, offy=1, positive=true)
  progid:DXImageTransform.Microsoft.dropShadow(color=#C2C2C2, offx=1, offy=1, positive=true)
  progid:DXImageTransform.Microsoft.dropShadow(color=#EFEFEF, offx=1, offy=1, positive=true)&quot;; /* &gt;= IE8 */
</pre></pre><h2>Online demo</h2><p>Natuurlijk heb ik ook een demo online gezet: <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/ikea-product-grid/">IKEA product (grid view) nabootsing</a>.</p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fproductoverzicht-weergave-ikea%2F&amp;t=Productoverzicht+weergave+als+IKEA" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Productoverzicht+weergave+als+IKEA%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1514%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fproductoverzicht-weergave-ikea%2F&amp;title=Productoverzicht+weergave+als+IKEA&amp;notes=De+IKEA+website+heeft+een+vernieuwde+weergave+van+de+productoverzicht+pagina%27s.+Op+het+eerste+gezicht+lijkt+er+niks+verandert%2C+maar+als+je+met+je+muis+over+een+product+gaat+krijg+je+meer+informatie+over+dat+product+te+zien.+In+deze+tutorial+ga+ik+je+" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fproductoverzicht-weergave-ikea%2F&amp;title=Productoverzicht+weergave+als+IKEA&amp;bodytext=De+IKEA+website+heeft+een+vernieuwde+weergave+van+de+productoverzicht+pagina%27s.+Op+het+eerste+gezicht+lijkt+er+niks+verandert%2C+maar+als+je+met+je+muis+over+een+product+gaat+krijg+je+meer+informatie+over+dat+product+te+zien.+In+deze+tutorial+ga+ik+je+" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fproductoverzicht-weergave-ikea%2F&amp;title=Productoverzicht+weergave+als+IKEA" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/" onclick="addBookmark(event);" title="Productoverzicht weergave als IKEA" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Productoverzicht weergave als IKEA&amp;body=De IKEA website heeft een vernieuwde weergave van de productoverzicht pagina's. Op het eerste gezicht lijkt er niks verandert, maar als je met je muis over een product gaat krijg je meer informatie over dat product te zien. In deze tutorial ga ik je  - http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/productoverzicht-weergave-ikea/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Header van hiranthi.nl</title><link>http://hiranthi.nl/tutorials/header-van-hiranthi-nl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=header-van-hiranthi-nl</link> <comments>http://hiranthi.nl/tutorials/header-van-hiranthi-nl/#comments</comments> <pubDate>Thu, 19 Aug 2010 12:00:20 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[css]]></category> <category><![CDATA[header]]></category> <category><![CDATA[html]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1845</guid> <description><![CDATA[Dinsdag vroeg @sanderdebruin_ of de header van mijn blog eigen code of een plugin is. Om voor jou die vraag ook even te beantwoorden: het is eigen code en in deze post lees je hoe jij het ook kan maken HTML &#38; PHP &#60;div id=&#34;image&#34;&#62; &#60;script type=&#34;text/javascript&#34;&#62; jQuery(function() { jQuery(&#34;#image .rposts&#34;).jCarouselLite({ btnNext: &#34;#buttons .alignright&#34;, btnPrev: [...]]]></description> <content:encoded><![CDATA[<p>Dinsdag vroeg @sanderdebruin_ of de header van mijn blog eigen code of een plugin is. Om voor jou die vraag ook even te beantwoorden: het is eigen code en in deze post lees je hoe jij het ook kan maken <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span
id="more-1845"></span></p><h2>HTML &amp; PHP</h2><pre><pre lang="php">
&lt;div id=&quot;image&quot;&gt;

            &lt;script type=&quot;text/javascript&quot;&gt;
      jQuery(function() {
        jQuery(&quot;#image .rposts&quot;).jCarouselLite({
          btnNext: &quot;#buttons .alignright&quot;,
          btnPrev: &quot;#buttons .alignleft&quot;,
          speed: 800,
          visible: 5
        });
      });
      &lt;/script&gt;
&lt;div id=&quot;buttons&quot;&gt;
&lt;div class=&quot;alignleft&quot;&gt;&lt;a href=&quot;#vorige&quot; onclick=&quot;return false;&quot;&gt;&lt;em&gt;&amp;laquo; vorige&lt;/em&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;alignright&quot;&gt;&lt;a href=&quot;#volgende&quot; onclick=&quot;return false;&quot;&gt;&lt;em&gt;volgende &amp;raquo;&lt;/em&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;rposts&quot;&gt;
&lt;ul class=&quot;recentposts&quot;&gt;&lt;?php
        $curpage = $post;
              $recentposts = get_posts(&#039;numberposts=10&amp;orderby=date&amp;order=DESC&#039;);
        foreach ($recentposts as $post): setup_postdata($post);

              if(function_exists(&#039;wct_display_thumb&#039;))
        {
          if(wct_display_thumb() != &#039;&#039;)
          {
            ?&gt;
&lt;li &lt;?php echo ( $curpage-&gt;ID == get_the_ID() &amp;&amp; !is_home() ) ? &#039; class=&quot;current&quot;&#039; : &#039;&#039;; ?&gt;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_title(&#039;&#039;); ?&gt;&quot;&gt;
              &lt;?php echo wct_display_thumb(); ?&gt;
&lt;div class=&quot;item&quot;&gt;
                              &lt;span class=&quot;title&quot;&gt;&lt;strong&gt;&lt;?php the_title(&#039;&#039;); ?&gt;&lt;/strong&gt;&lt;/span&gt;
                                &lt;span&gt;&lt;strong&gt;Gepost op:&lt;/strong&gt; &lt;?php the_time(&#039;j M.&#039;);?&gt;&lt;/span&gt;
                                &lt;span class=&quot;comments&quot;&gt;&lt;?php $comments = get_comments(&#039;post_id=&#039;.get_the_ID()); $comments = count($comments); echo ( $comments == 1 ) ? $comments.&#039; reactie&#039; : $comments.&#039; reacties&#039;; ?&gt;&lt;/span&gt;
                            &lt;/div&gt;

                        &lt;/a&gt;&lt;/li&gt;

&lt;?php
          } // endif
        } // endif
      ?&gt;

            &lt;?php endforeach; rewind_posts(); $post = $curpage; ?&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre></pre><p>De code die je hierboven ziet is gekopieerd uit mijn theme en dus precies wat ik ook gebruik.</p><p>Voor de carousel gebruik ik <a
rel="nofollow" target="_blank" href="http://www.gmarwaha.com/jquery/jcarousellite/">jCarouselLite</a>, als je het carousel effect ook wilt gebruiken (en de jQuery niet aan wilt passen) zul je deze dus ook moeten downloaden.</p><h2>Uitleg code</h2><p>Zoals je ziet gebruik ik de <a
rel="nofollow" target="_blank" href="http://daveligthart.com/">WP-Choose-Thumb</a> plugin voor de post-thumbnails. De plugin pas ik elke update aan zodat de afbeelding niet meteen ge-echo&#8217;d wordt, dit om te kunnen checken of de post een thumbnail heeft of niet:</p><pre lang="php">&lt;?php if(wct_display_thumb() != &#039;&#039;) ?&gt;</pre><p>Deze code zorgt ervoor dat als de functie <code>wct_display_thumb</code> geen waarde heeft, de post ook niet wordt weergegeven. Maar, nogmaals, hiervoor heb ik de WP-Choose-Thumb plugin dus voor aangepast, standaard geeft de <code>wct_display_thumb</code> meteen de afbeelding terug.</p><pre><pre lang="php">
&lt;li &lt;?php echo ( $curpage-&gt;ID == get_the_ID() &amp;&amp; !is_home() ) ? &#039; class=&quot;current&quot;&#039; : &#039;&#039;; ?&gt;</pre></pre><p>Bovenstaande code zorgt ervoor dat de li (waar de image en info v/d post in staat) de class <code>current</code> krijgt als je die post op dat moment aan het bekijken bent.</p><pre lang="php">&lt;span class=&quot;comments&quot;&gt;&lt;?php $comments = get_comments(&#039;post_id=&#039;.get_the_ID()); $comments = count($comments); echo ( $comments == 1 ) ? $comments.&#039; reactie&#039; : $comments.&#039; reacties&#039;; ?&gt;</pre><p>Dit stukje code zorgt ervoor dat het juiste woord bij het aantal reacties wordt weergegeven (dat er dus niet iets als &#8217;1 reacties&#8217; of &#8217;10 reactie&#8217; komt te staan).</p><h2>CSS</h2><p>Met alleen bovenstaande code ben je er natuurlijk nog niet, de weergave van de header lijkt namelijk totaal nog niet op dat wat ik op mijn blog heb.</p><pre><pre lang="css">
#header #image ul,
#header #image ul li { width:960px; height:200px; display:block; float:left; }
#header #image ul li { overflow:hidden; text-align:center; }
#header #image #buttons { z-index:9; }
#header #image #buttons .alignleft,
#header #image #buttons .alignright { position:absolute; top:85px; z-index:8!important; }
#header #image #buttons .alignleft { left:-23px; }
#header #image #buttons .alignright { right:-27px; }
#header #image #buttons .alignleft a,
#header #image #buttons .alignright a { width:46px; height:46px; display:block; float:left; }
#header #image #buttons .alignleft a { background:url(&#039;../img/arrows_white-border.png&#039;) 0 -46px no-repeat; }
#header #image #buttons .alignleft a:hover { background-position:0 -138px; }
#header #image #buttons .alignleft a:active { background-position:0 -230px; }
#header #image #buttons .alignright a { background:url(&#039;../img/arrows_white-border.png&#039;) 0 0 no-repeat; }
#header #image #buttons .alignright a:hover { background-position:0 -92px; }
#header #image #buttons .alignright a:active { background-position:0 -184px; }
#header #image #buttons a:hover { text-decoration:none; }
#header #image #buttons .alignleft a em,
#header #image #buttons .alignright a em { display:block; font-size:0; color:#fff; }

#header #image ul.recentposts { width:960px; height:200px; overflow:hidden; display:block; float:left; padding:20px 0 0!important; background:transparent; border:0; position:absolute; top:0; left:0; z-index:2!important; }
#header #image ul.recentposts li { width:192px; display:inline; display:block; float:left; text-align:center; font-size:.8em; }
#header #image ul.recentposts li a { position:relative; width:156px; height:156px; display:block; margin:0 18px; background-color:#fff; text-decoration:none; }
#header #image ul.recentposts li a img { border:4px solid #ddd; padding:1px; }
#header #image ul.recentposts li.current a img,
#header #image ul.recentposts li a:hover img { border-color:#f06; }
#header #image ul.recentposts li a .item { position:absolute; display:none; top:5px; left:5px; z-index:2; width:150px; height:150px; background-color:#333; color:#fff; opacity:.85; -moz-opacity:.85; filter:alpha(85); }
#header #image ul.recentposts li a .item span { padding:0 10px; margin:0 0 10px; font-size:.8em; display:block; width:130px; clear:both; }
#header #image ul.recentposts li a .item span.title { font-size:.9em; padding:10px; }
#header #image ul.recentposts li a .item span.comments { position:absolute; left:0; bottom:0; margin:0; width:130px; padding:5px 10px; display:block; background-color:#f06; color:#fff; font-size:.9em; font-weight:bold; border-top:1px solid #fff; }
#header #image ul.recentposts li a:hover .item { display:block; }
</pre></pre><p>Ik heb mijn <code>div id=image</code> in een <code>div id=header</code> staan. Je bent natuurlijk vrij om dit anders te doen, vergeet dan niet de CSS ook aan te passen.</p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fheader-van-hiranthi-nl%2F&amp;t=Header+van+hiranthi.nl" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Header+van+hiranthi.nl%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1845%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fheader-van-hiranthi-nl%2F&amp;title=Header+van+hiranthi.nl&amp;notes=Dinsdag+vroeg+%40sanderdebruin_+of+de+header+van+mijn+blog+eigen+code+of+een+plugin+is.+Om+voor+jou+die+vraag+ook+even+te+beantwoorden%3A+het+is+eigen+code+en+in+deze+post+lees+je+hoe+jij+het+ook+kan+maken+%3A%29%0AHTML+%26amp%3B+PHP%0A%0A%0A%0A++++++++++++%0A%09%09%09jQuery%28func" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fheader-van-hiranthi-nl%2F&amp;title=Header+van+hiranthi.nl&amp;bodytext=Dinsdag+vroeg+%40sanderdebruin_+of+de+header+van+mijn+blog+eigen+code+of+een+plugin+is.+Om+voor+jou+die+vraag+ook+even+te+beantwoorden%3A+het+is+eigen+code+en+in+deze+post+lees+je+hoe+jij+het+ook+kan+maken+%3A%29%0AHTML+%26amp%3B+PHP%0A%0A%0A%0A++++++++++++%0A%09%09%09jQuery%28func" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fheader-van-hiranthi-nl%2F&amp;title=Header+van+hiranthi.nl" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/header-van-hiranthi-nl/" onclick="addBookmark(event);" title="Header van hiranthi.nl" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Header van hiranthi.nl&amp;body=Dinsdag vroeg @sanderdebruin_ of de header van mijn blog eigen code of een plugin is. Om voor jou die vraag ook even te beantwoorden: het is eigen code en in deze post lees je hoe jij het ook kan maken :)
HTML &amp; PHP
jQuery(func - http://hiranthi.nl/tutorials/header-van-hiranthi-nl/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/header-van-hiranthi-nl/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Meerdere achtergronden</title><link>http://hiranthi.nl/tutorials/meerdere-achtergronden/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=meerdere-achtergronden</link> <comments>http://hiranthi.nl/tutorials/meerdere-achtergronden/#comments</comments> <pubDate>Tue, 17 Aug 2010 12:00:18 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[achtergrond]]></category> <category><![CDATA[achtergrondafbeelding]]></category> <category><![CDATA[background]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/?p=1825</guid> <description><![CDATA[Het is mogelijk om je website meerdere achtergronden te geven voor een leuk effect. Wat ik in deze post laat zien is behoorlijk makkelijk, maar complexere combinaties zijn zeker mogelijk! In de afbeelding hierboven lijkt het misschien 1 achtergrond, maar het zijn er echt twee. Dat kun je in het online voorbeeld zien, als je [...]]]></description> <content:encoded><![CDATA[<p>Het is mogelijk om je website meerdere achtergronden te geven voor een leuk effect. Wat ik in deze post laat zien is behoorlijk makkelijk, maar complexere combinaties zijn zeker mogelijk!<span
id="more-1825"></span></p><p><a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/2010/08/multiple-bgs.jpg" class="lightbox" ><img
class="aligncenter size-large wp-image-1839" src="/files/2010/08/multiple-bgs-618x200.jpg" alt="" width="618" height="200" /></a></p><p>In de afbeelding hierboven lijkt het misschien 1 achtergrond, maar het zijn er echt twee. Dat kun je in het <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/multiple-bgs/">online voorbeeld</a> zien, als je de pagina scrollt zul je namelijk zien dat de afbeelding in de rondjes verandert.</p><h2>De CSS</h2><pre><pre lang="css">
html, body { margin:0; padding:0; height:auto; min-height:100%; _height:100%; color:#fff; font-family:Verdana, Arial, Helvetica, sans-serif; }
html { background: url(&#039;pattern.gif&#039;) 0 0; }
body { background: url(&#039;body-bg.png&#039;) 0 0 fixed; font-size:.8em; clear:both; }
</pre></pre><p>Zoals je in de CSS kunt zien geef je de <code>html</code> &amp; <code>body</code> een hoogte van 100%. Dit is belangrijk voor als de content niet genoeg is om het scherm te vullen. Anders krijg je onderin een stuk &#8216;leeg&#8217;.</p><p>Dan zie je hoe een achtergrond aan de <code>html</code> &amp; <code>body</code> wordt toegevoegd. Zorg er wel voor dat de achtergrond voor de <code>body</code> groot genoeg is voor grote beeldschermen (bij dit voorbeeld zul je de rondjes aan de rechterkant nog eens zien op een 24&#8243; beeldscherm bijvoorbeeld).<br
/> De <code>body</code> heeft een <code>bgproperty fixed</code>, hierdoor blijft de grijze achtergrond op z&#8217;n plaats en zie je de <code>html</code> achtergrond er doorheen bewegen.</p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fmeerdere-achtergronden%2F&amp;t=Meerdere+achtergronden" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Meerdere+achtergronden%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1825%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fmeerdere-achtergronden%2F&amp;title=Meerdere+achtergronden&amp;notes=Het+is+mogelijk+om+je+website+meerdere+achtergronden+te+geven+voor+een+leuk+effect.+Wat+ik+in+deze+post+laat+zien+is+behoorlijk+makkelijk%2C+maar+complexere+combinaties+zijn+zeker+mogelijk%21%0A%0AIn+de+afbeelding+hierboven+lijkt+het+misschien+1+achtergrond%2C" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fmeerdere-achtergronden%2F&amp;title=Meerdere+achtergronden&amp;bodytext=Het+is+mogelijk+om+je+website+meerdere+achtergronden+te+geven+voor+een+leuk+effect.+Wat+ik+in+deze+post+laat+zien+is+behoorlijk+makkelijk%2C+maar+complexere+combinaties+zijn+zeker+mogelijk%21%0A%0AIn+de+afbeelding+hierboven+lijkt+het+misschien+1+achtergrond%2C" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fmeerdere-achtergronden%2F&amp;title=Meerdere+achtergronden" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/meerdere-achtergronden/" onclick="addBookmark(event);" title="Meerdere achtergronden" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Meerdere achtergronden&amp;body=Het is mogelijk om je website meerdere achtergronden te geven voor een leuk effect. Wat ik in deze post laat zien is behoorlijk makkelijk, maar complexere combinaties zijn zeker mogelijk!In de afbeelding hierboven lijkt het misschien 1 achtergrond, - http://hiranthi.nl/tutorials/meerdere-achtergronden/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/meerdere-achtergronden/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS dropdown navigatie</title><link>http://hiranthi.nl/tutorials/css-dropdown-navigatie/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-dropdown-navigatie</link> <comments>http://hiranthi.nl/tutorials/css-dropdown-navigatie/#comments</comments> <pubDate>Tue, 02 Feb 2010 13:00:35 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[navigatie]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/cms/?p=1211</guid> <description><![CDATA[Dropdown navigatie is heel erg hip en niet te vergeten: heel erg handig. Je hoeft niet alle pagina&#8217;s in beeld te hebben, maar wel alle pagina&#8217;s zijn beschikbaar via het menu. In deze tutorial laat ik zien hoe je gemakkelijk een CSS dropdown menu kan maken die meerdere niveau&#8217;s diep is (vier, inclusief de hoofdlaag, [...]]]></description> <content:encoded><![CDATA[<p>Dropdown navigatie is heel erg hip en niet te vergeten: heel erg handig. Je hoeft niet alle pagina&#8217;s in beeld te hebben, maar wel alle pagina&#8217;s zijn beschikbaar via het menu.<span
id="more-1211"></span> In deze tutorial laat ik zien hoe je gemakkelijk een CSS dropdown menu kan maken die meerdere niveau&#8217;s diep is (vier, inclusief de hoofdlaag, om precies te zijn).</p><h2>HTML voor de navigatie</h2><pre><pre lang="html">  &lt;ul id=&quot;navigatie&quot;&gt;
      &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Geen subpagina&#039;s&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Twee niveau&#039;s&lt;/a&gt;&lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Drie niveau&#039;s&lt;/a&gt;&lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Heeft submenu&lt;/a&gt;&lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Vier niveau&#039;s&lt;/a&gt;&lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Heeft submenu&lt;/a&gt;&lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Heeft submenu&lt;/a&gt;&lt;ul&gt;
            &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#pagina&quot;&gt;Pagina&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/li&gt;
  &lt;/ul&gt;
</pre></pre><p>Het resultaat dat je hebt met bovenstaande HTML is het volgende:</p><p
style="text-align: center"><a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/2010/02/css-dropdown-alleenhtml.gif" class="lightbox" ><img
class="aligncenter size-large wp-image-1214" src="/files/2010/02/css-dropdown-alleenhtml-285x200.gif" alt="CSS dropdown navigatie tutorial" width="285" height="200" /></a></p><h2>CSS</h2><p>Met alleen de HTML ziet de navigatie er nog ongelooflijk kaal uit natuurlijk. De CSS voor alle vier de niveau&#8217;s:</p><pre><pre lang="css">/* navigatie - niveau 1 */
ul#navigatie { width:740px; height:40px; display:block; float:left; background:#bbb url(&#039;bg.gif&#039;) 0 0 repeat-x; }
ul#navigatie li { position:relative; height:40px; display:block; float:left; }
ul#navigatie li a { font-weight:bold; color:#fff; padding:12px 10px; display:block; }
ul#navigatie li:hover a,
ul#navigatie li a:hover { background:#bbb url(&#039;bg.gif&#039;) 0 -40px repeat-x; }
/* navigatie - niveau 2 */
ul#navigatie li ul { position:absolute; top:40px; display:none; width:175px; z-index:2; }
ul#navigatie li:hover ul { display:block; }
ul#navigatie li ul li { clear:both; height:auto; width:100%; }
ul#navigatie li:hover ul li a,
ul#navigatie li ul li a { background:#efefef none; padding:10px; width:155px; display:block; color:#bbb; font-weight:normal; }
ul#navigatie li ul li:hover a,
ul#navigatie li ul li a:hover { background:#bbb none; color:#fff; font-style:italic; }
/* navigatie - niveau 3 */
ul#navigatie li:hover ul li ul,
ul#navigatie li ul li ul { position:absolute; top:0; left:175px; display:none; background:#090 none; z-index:3; }
ul#navigatie li ul li:hover ul { display:block; }
ul#navigatie li ul li ul li { }
ul#navigatie li ul li:hover ul li a,
ul#navigatie li ul li ul li a { font-style:normal; }
ul#navigatie li ul li ul li:hover a,
ul#navigatie li ul li ul li a:hover { background:#efefef none; color:#bbb; font-style:italic; }
/* navigatie - niveau 4 */
ul#navigatie li:hover ul li ul li ul,
ul#navigatie li ul li ul li ul { position:absolute; top:0; left:175px; display:none; background:#090 none; z-index:3; }
ul#navigatie li ul li ul li:hover ul { display:block; }
ul#navigatie li ul li ul li ul li { }
ul#navigatie li ul li ul li:hover ul li a,
ul#navigatie li ul li ul li ul li a { font-style:normal; }
ul#navigatie li ul li ul li ul li:hover a,
ul#navigatie li ul li ul li ul li a:hover { background:#bbb none; color:#fff; }
</pre></pre><p>Inclusief de CSS ziet het menu er zo uit: <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/css-dropdown/index.html">demo CSS dropdown navigatie</a> (opent in dit venster).</p><h2>IE6 ondersteuning</h2><p><em>IE6 ondersteund geen <code>:hover</code> op andere elementen dan <code>a</code>, het dropdown menu zal in IE6 dus niet werken.</em></p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fcss-dropdown-navigatie%2F&amp;t=CSS+dropdown+navigatie" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=CSS+dropdown+navigatie%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D1211%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fcss-dropdown-navigatie%2F&amp;title=CSS+dropdown+navigatie&amp;notes=Dropdown+navigatie+is+heel+erg+hip+en+niet+te+vergeten%3A+heel+erg+handig.+Je+hoeft+niet+alle+pagina%27s+in+beeld+te+hebben%2C+maar+wel+alle+pagina%27s+zijn+beschikbaar+via+het+menu.+In+deze+tutorial+laat+ik+zien+hoe+je+gemakkelijk+een+CSS+dropdown+menu+kan+" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fcss-dropdown-navigatie%2F&amp;title=CSS+dropdown+navigatie&amp;bodytext=Dropdown+navigatie+is+heel+erg+hip+en+niet+te+vergeten%3A+heel+erg+handig.+Je+hoeft+niet+alle+pagina%27s+in+beeld+te+hebben%2C+maar+wel+alle+pagina%27s+zijn+beschikbaar+via+het+menu.+In+deze+tutorial+laat+ik+zien+hoe+je+gemakkelijk+een+CSS+dropdown+menu+kan+" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fcss-dropdown-navigatie%2F&amp;title=CSS+dropdown+navigatie" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/css-dropdown-navigatie/" onclick="addBookmark(event);" title="CSS dropdown navigatie" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=CSS dropdown navigatie&amp;body=Dropdown navigatie is heel erg hip en niet te vergeten: heel erg handig. Je hoeft niet alle pagina's in beeld te hebben, maar wel alle pagina's zijn beschikbaar via het menu. In deze tutorial laat ik zien hoe je gemakkelijk een CSS dropdown menu kan  - http://hiranthi.nl/tutorials/css-dropdown-navigatie/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/css-dropdown-navigatie/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Achtergrondafbeelding 100% groot</title><link>http://hiranthi.nl/tutorials/achtergrondafbeelding-100-groot/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=achtergrondafbeelding-100-groot</link> <comments>http://hiranthi.nl/tutorials/achtergrondafbeelding-100-groot/#comments</comments> <pubDate>Sun, 08 Nov 2009 14:00:12 +0000</pubDate> <dc:creator>hiranthi</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[100%]]></category> <category><![CDATA[achtergrondafbeelding]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category><guid
isPermaLink="false">http://www.hiranthi.nl/cms/?p=672</guid> <description><![CDATA[Het kan zijn dat je een keer een website moet maken waarvan jij, of je opdrachtgever, de achtergrond graag 100% breed en 100% hoog wil hebben. Ofwel: even groot als het scherm waarmee de bezoeker kijkt. Hoewel de code er misschien wel op lijkt, met background:#fff url(&#039;http://url.nl/naar/afbeelding.jpg&#039;) 100% 100% helpt je hier niet mee. Dit [...]]]></description> <content:encoded><![CDATA[<p>Het kan zijn dat je een keer een website moet maken waarvan jij, of je opdrachtgever, de achtergrond graag 100% breed en 100% hoog wil hebben. Ofwel: even groot als het scherm waarmee de bezoeker kijkt.<span
id="more-672"></span></p><p>Hoewel de code er misschien wel op lijkt, met <code>background:#fff url(&#039;http://url.nl/naar/afbeelding.jpg&#039;) 100% 100%</code> helpt je hier niet mee. Dit is namelijk precies hetzelfde als <code>background:#fff url(&#039;http://url.nl/naar/afbeelding.jpg&#039;) rechts onder</code> en geeft dus niet de grootte van de afbeelding weer.</p><p><a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/2009/11/152865_3868.jpg" class="lightbox" ><img
class="alignleft size-thumbnail wp-image-677" src="/files/2009/11/152865_3868-100x100-custom.jpg" alt="Woud" width="100" height="100" /></a>Als voorbeeld ga ik deze afbeelding gebruiken (zie links). Als je op de afbeelding klikt zul je zien dat &#8216;ie niet mega-groot is (800&#215;600 pixels om precies te zijn).<br
/> Ja, de afbeelding wordt dan wel behoorlijk uitgerekt op grotere beeldschermen, maar het geeft dan wel goed weer wat er nu precies gebeurd <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Als eerste maken we de HTML aan, zet het volgende tussen de body-tags van je HTML bestand:</p><pre><pre lang="html">
&lt;div id=&quot;scroller&quot;&gt;
    &lt;!-- Hier komt de inhoud van je pagina --&gt;
&lt;/div&gt;

&lt;img id=&quot;background&quot; src=&quot;URL/NAAR/JE/AFBEELDING.jpg&quot; alt=&quot;&quot; /&gt;
</pre></pre><p>De afbeelding die we gebruiken voor de achtergrond wordt, zoals je kan zien, niet toegevoegd als achtergrondafbeelding in de CSS, maar als gewone afbeelding in de HTML. Vergeet deze ook zeker niet de <code>id=&quot;background&quot;</code> mee te geven.<br
/>In een aantal voorbeelden hiervan op het internet wordt er om de afbeelding een lege div gezet, dit is niet nodig. Het levert je alleen maar extra code op en heeft totaal geen toegevoegde waarde.</p><p>De <code>div</code> met <code>id=&quot;scroller&quot;</code> is om ervoor te zorgen dat je, als de pagina inhoud langer wordt, wel een scrollbalk te zien krijgt en de afbeelding ook echt 100% * 100% blijft.</p><h3>De stijling</h3><p>Na de HTML maken we nu de stijling aan (in het voorbeeldbestand heb ik het in hetzelfde bestand staan, maar dit hoort &#8211; uiteraard &#8211; in een externe stylesheet thuis):</p><pre><pre lang="css">
body, html {
  padding:0;
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
#background, #scroller { position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; }
#scroller { z-index:2; overflow:auto; }
</pre></pre><p>We geven de <code>body</code> <strong>en</strong> <code>html</code> dezelfde stijling. Bij beide wordt de <code>padding</code>/<code>margin</code> op 0 gezet, om er zeker van te zijn dat we geen vreemde randen om de pagina heen krijgen. Beide worden ook een breedte/hoogte van 100% gegeven. De <code>overflow</code> staat voor de scrollbars, deze zetten we op hidden. Als we dat namelijk niet doen krijg je wel een scrollbar, maar klopt de hoogte van de afbeelding niet met de grootte van het daadwerkelijke document (je bent uiteraard vrij om dat te testen <img
src='http://hiranthi.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p><p>De <code>#background</code>/<code>#scroller</code> krijgen ook nagenoeg dezelfde stijling en daarom schrijf ik de stijling niet helemaal uit voor beide, maar maak de &#8216;gezamelijke&#8217; stijling op en zet daaronder voor <code>#scroller</code> apart neer wat er anders/bij moet. De <code>z-index</code> staat overigens voor de volgorde (in lagen) waarin iets weergegeven wordt. Eerst krijgen <code>#background</code> en <code>#scroller</code> allebei een <code>z-index</code> van 1. Daarna krijgt <code>#scroller</code> een <code>z-index</code> van 2, waardoor deze boven <code>#background</code> weergegeven wordt.</p><p>Bij <code>#scroller</code> zetten we de <code>overflow</code> op <code>auto</code> om ervoor te zorgen dat de scrollbar automatisch weergegeven wordt als de pagina-inhoud daar om vraagt.</p><h3>Resultaat</h3><p>Het resultaat kun je op <a
rel="nofollow" target="_blank" href="http://hiranthi.nl/files/tuts/backgr-img-100perc/index.html" title="Nieuw venster: resultaat achtergrondafbeelding 100%" class="broken_link">deze pagina</a> bekijken. Ik heb er wel iets extra&#8217;s in gezet (een <code>#content</code> om weer te geven wat er gebeurd als je naar een pagina met inhoud kijkt).</p><p><strong><em>Belangrijk: hou er wel rekening mee dat de afbeelding meerekt met het venster. De proporties worden dus niet behouden en een afbeelding kan er vreemd uitgaan zien omdat &#8216;ie in de breedte te ver is uitgerekt.</em></strong></p><div
class="wp-socializer 16px"><ul
class="wp-socializer-jump columns-no"><li><a
href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fachtergrondafbeelding-100-groot%2F&amp;t=Achtergrondafbeelding+100%25+groot" title="Share this on Facebook" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Facebook" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -391px; border:0;"/></a></li><li><a
href="http://twitter.com/home?status=Achtergrondafbeelding+100%25+groot%20-%20http%3A%2F%2Fhiranthi.nl%3Fp%3D672%20" title="Tweet this !" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Twitter" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1581px; border:0;"/></a></li><li><a
href="http://delicious.com/post?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fachtergrondafbeelding-100-groot%2F&amp;title=Achtergrondafbeelding+100%25+groot&amp;notes=Het+kan+zijn+dat+je+een+keer+een+website+moet+maken+waarvan+jij%2C+of+je+opdrachtgever%2C+de+achtergrond+graag+100%25+breed+en+100%25+hoog+wil+hebben.+Ofwel%3A+even+groot+als+het+scherm+waarmee+de+bezoeker+kijkt.%0AHoewel+de+code+er+misschien+wel+op+lijkt%2C+met+b" title="Post this on Delicious" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Delicious" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -221px; border:0;"/></a></li><li><a
href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fachtergrondafbeelding-100-groot%2F&amp;title=Achtergrondafbeelding+100%25+groot&amp;bodytext=Het+kan+zijn+dat+je+een+keer+een+website+moet+maken+waarvan+jij%2C+of+je+opdrachtgever%2C+de+achtergrond+graag+100%25+breed+en+100%25+hoog+wil+hebben.+Ofwel%3A+even+groot+als+het+scherm+waarmee+de+bezoeker+kijkt.%0AHoewel+de+code+er+misschien+wel+op+lijkt%2C+met+b" title="Submit this to Digg" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Digg" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -272px; border:0;"/></a></li><li><a
href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fhiranthi.nl%2Ftutorials%2Fachtergrondafbeelding-100-groot%2F&amp;title=Achtergrondafbeelding+100%25+groot" title="Submit this to StumbleUpon" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="StumbleUpon" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1496px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/tutorials/achtergrondafbeelding-100-groot/" onclick="addBookmark(event);" title="Achtergrondafbeelding 100% groot" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Add to favorites" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -0px; border:0;"/></a></li><li><a
href="mailto:info@illutic.nl?subject=Achtergrondafbeelding 100% groot&amp;body=Het kan zijn dat je een keer een website moet maken waarvan jij, of je opdrachtgever, de achtergrond graag 100% breed en 100% hoog wil hebben. Ofwel: even groot als het scherm waarmee de bezoeker kijkt.
Hoewel de code er misschien wel op lijkt, met b - http://hiranthi.nl/tutorials/achtergrondafbeelding-100-groot/" title="Email this" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="Email" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -374px; border:0;"/></a></li><li><a
href="http://hiranthi.nl/feed/rss/" title="Subscribe to RSS" target="_blank" rel="nofollow"><img
src="http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="RSS" style="width:16px; height:16px; background: transparent url(http://hiranthi.famire.nl/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -1343px; border:0;"/></a></li></ul><div
class="wp-socializer-clearer"></div></div>]]></content:encoded> <wfw:commentRss>http://hiranthi.nl/tutorials/achtergrondafbeelding-100-groot/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Content Delivery Network via Amazon Web Services: S3: cdn.hiranthi.nl.s3.amazonaws.com (user agent is rejected)

Served from: hiranthi.nl @ 2012-02-05 21:57:39 -->
