<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Erik van de Ven Webdesign &amp; Development</title>
	
	<link>http://erikvandeven.com</link>
	<description>This website is dedicated to webdesign and webprogramming. It's full of tutorials, tips and stories about the web.</description>
	<lastBuildDate>Fri, 09 Dec 2011 14:44:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/erikvdven" /><feedburner:info uri="erikvdven" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>SEO Linkbuilding</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/hBB-xcMYTdc/</link>
		<comments>http://erikvandeven.com/seo/seo-linkbuilding/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 20:21:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[linkbuilding]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=843</guid>
		<description><![CDATA[Ok, let&#8217;s focus some more on SEO (Search Engine Optimization). The last weeks I try to focus more on online... <a href="http://erikvandeven.com/seo/seo-linkbuilding/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Ok, let&#8217;s focus some more on SEO (Search Engine Optimization). The last weeks I try to focus more on online marketing, just because it&#8217;s a lot of fun! Let&#8217;s be honest, what looks better then a graph with increasing traffic? Ok, maybe your girlfriend (or boyfriend, for the girls), but that&#8217;s it! And having traffic is an important thing if you want to make money with your blog or website. But I&#8217;m not gonna talk about the basics of SEO, because there already are millions of articles on the internet about the basics. So we skip that. What I&#8217;m gonna talk about in this article, is linkbuilding! Maybe the most effective way to get high rankings in search engines like google.</strong></p>
<p>I guess you already know what <strong>linkbuilding</strong> is, don&#8217;t you? If you don&#8217;t: linkbuilding is a way to spread links to your website all over the internet. Normally, if you post very usefull or amusing content, the people who read your blog will spread the links for you. They&#8217;ll write articles about your website or spread links to your blog over social media and stuff. But it&#8217;s always good to use linkbuilding to rank on keywords, where you not score so well. So for example: You have a website about cars and you write articles about BMW, Mercedes, Opel, Mitsubishi and Chrysler. When you search in google on &#8220;info BMW&#8221;, your website will be the second hit. But when you search in google on &#8220;info Mercedes&#8221;, your website will not be the first hit or the second&#8230; but it shows up on the third page! Then it&#8217;s good to build links for &#8220;info Mercedes&#8221;. This is just an example, but it&#8217;s good to know how you can use linkbuilding to increase the ranking of your website.</p>
<p>Linkbuilding is also good to get traffic. Let&#8217;s say if you write articles on guest blogs, and you will post a link to your own website, people who found your article interesting might visit your own website by clicking on that link. So linkbuilding is good to get traffic and to get high rankings. But in this articles I&#8217;m gonna talk about some nice techniques which you can use for linkbuilding.</p>
<h2>Post comments on weblogs</h2>
<p>A way to get &#8220;<strong><a title="What is linkjuice" href="http://thekeywordacademy.com/link-juice-explained" target="_blank">linkjuice</a></strong>&#8220;. Post comments on other weblogs, which are relevant for your website. The weblogs are relevant when they contain articles about the same subject(s) as your own website or weblog. Links from relevant webpages are more valuable than other links. Why? Because Google wants to show the most natural results, which means Google wants to show only websites which users found most useful. But be sure the links in the comments link don&#8217;t get a rel=&#8221;nofollow&#8221;, you can check this by using the firebug add-on in Firefox. With this add-on you can check the a tags in the comment links or they contain a rel=&#8221;nofollow&#8221;. If it contains a nofollow you will not get any linkjuice from that page, only some traffic if people click on your link. So it&#8217;s not the best way to get linkjuice, but only to get some traffic.</p>
<h2>Post your link on link directories.</h2>
<p>You can post your link on link directories, that are websites which only contains links to other websites. It&#8217;s a good way to get linkjuice. But if they ask to place a link back, it&#8217;s not a quite good idea to post your link on that directory. Simple because link exchange is much less valuable than one-way links. That&#8217;s logical off course, because Google wants to be natural. And if you exchange links with other websites, that&#8217;s not quite natural.</p>
<h2>Write articles on guest blogs.</h2>
<p>This really is a good way to get a lot of linkjuice! Those links don&#8217;t contain a nofollow and you are not required to place a link to those blogs on your own website. Be sure you write an article for a blog with a high pagerank and a lot of traffic. And be sure you do your best for the article! The better the article, the more traffic you will receive. And links which are not easy to get are the most valuable, keep that in your mind!</p>
<p>Ofcourse there are a lot more techniques to get backlinks, but maybe you know also some nice techniques? And you want to share those techniques with us? Then please leave a comment below <img src='http://erikvandeven.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/seo/seo-linkbuilding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/seo/seo-linkbuilding/</feedburner:origLink></item>
		<item>
		<title>Under construction page designs</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/fJaRTq6BsPI/</link>
		<comments>http://erikvandeven.com/general/under-construction-page-designs/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 20:26:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=822</guid>
		<description><![CDATA[You might have a website or weblog that&#8217;s sometimes offline for maintenance or just under construction. Did you ever thought... <a href="http://erikvandeven.com/general/under-construction-page-designs/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>You might have a website or weblog that&#8217;s sometimes offline for maintenance or just under construction. Did you ever thought it would be a nice idea to tell your visitors how long it takes until you&#8217;re online again? Or just tell your unique visitors on which social media they can follow you to stay up-to-date? It might be very helpfull.</strong></p>
<p>People who visit your website for the first time and get an empty webpage might never come back. It is always good to tell your visitors how long it takes until the website gets online again. So I found a nice few under construction or maintenance web templates, which only costs a few dollars!</p>
<p><a title="Xylon under construction page" href="http://themeforest.net/item/xylon-underconstruction-page/372229?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=udfrance&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-833" title="Xylon under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/Xylon2.png" alt="Xylon under construction page design" width="590" height="285" /></a></p>
<p><a title="Adele under construction page" href="http://themeforest.net/item/adele-countdown-3-in-1-under-construction-theme/165650?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=indiapart&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-829" title="Adele under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/Adele.png" alt="Adele under construction page design" width="590" height="285" /></a></p>
<p><a title="Landerous under construction page" href="http://themeforest.net/item/landerous-under-construction-page/592962?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=DryThemes&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-831" title="Landerous under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/Landerous.png" alt="Landerous under construction page design" width="590" height="285" /></a></p>
<p><a title="Speedo under construction page" href="http://themeforest.net/item/speedo-under-construction/237352?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=WOOWwebID&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-832" title="Speedo under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/Speedo.png" alt="Speedo under construction page design" width="590" height="285" /></a></p>
<p><a title="Itsasquare under construction page" href="http://themeforest.net/item/clean-modern-under-construction-coming-soon/241419?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=itsasquare&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-830" title="Clean-modern under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/Clean-modern.png" alt="Clean-modern under construction page design" width="590" height="285" /></a></p>
<p><a title="Envato under construction page" href="themeforest.net/item/construction-site-with-control-panel/409971?WT.ac=category_thumb&amp;WT.seg_1=category_thumb&amp;WT.z_author=FusionMedia&amp;ref=ErikvdVen" target="_blank"><img class="alignnone size-full wp-image-834" title="Under construction page design" src="http://erikvandeven.com/wp-content/uploads/2011/10/4099711.png" alt="Under construction page design" width="590" height="285" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/under-construction-page-designs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/general/under-construction-page-designs/</feedburner:origLink></item>
		<item>
		<title>Show Flickr photos in Awkward Showcase slideshow</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/EHTiOIEPf8M/</link>
		<comments>http://erikvandeven.com/jquery/flickr-photos-in-awkward-showcase-slideshow/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 13:09:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=684</guid>
		<description><![CDATA[Always wanted to show your Flickr photos in a slideshow? Without requesting a Flickr API code?  In this tutorial I... <a href="http://erikvandeven.com/jquery/flickr-photos-in-awkward-showcase-slideshow/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Always wanted to show your Flickr photos in a slideshow? Without requesting a Flickr API code?  In this tutorial I will show you how to do that, by making use of the Awkward Showcase jQuery slideshow plugin and some jQuery code. Click on the demo button to watch the demo. If you don&#8217;t want to create your own slideshow by following this tutorial, you can also download the source files by clicking on the download button.</strong></p>
<div class="tut-buttons"><a class="demo" target="_blank" href="http://demo.erikvandeven.com/flickr-photos-in-awkward-showcase-slideshow/">Demo</a><a class="download" target="_blank" href="http://demo.erikvandeven.com/flickr-photos-in-awkward-showcase-slideshow/download.zip">Download</a><div class="clear"></div></div>
<p>The first thing you have to do is downloading the jQuery library an dthe Awkward Showcase plugin. If you&#8217;re using WordPress, there&#8217;s a big chance you don&#8217;t have to include jQuery. You can just try it without including the jQuery library. If the slideshow isn&#8217;t working, you can always include the jQuery library anyway.</p>
<p>Include the jQuery library, the Awkward plugin and the slideshow css between the &lt;head&gt; tags:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;slideshow.css&quot;/&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot;/&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.aw-showcase.js&quot;&gt;&lt;/script&gt;
</pre>
<p>After you have included the files which are necessary for the operation of the slideshow, you can include the code below, which creates the slideshow and loads the <strong>Flickr </strong>photos into the <strong>Awkward Showcase slideshow</strong>.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
 $(document).ready(function(){
     function callback() {
         $(&quot;#showcase&quot;).awShowcase({
             width:                 500,
             height:                312,
             auto:                  true,
             interval:              5000,
             continuous:            true,
             loading:               true,
             tooltip_width:         200,
             tooltip_icon_width:    32,
             tooltip_icon_height:   32,
             tooltip_offsetx:       18,
             tooltip_offsety:       0,
             arrows:                true,
             buttons:               false,
             btn_numbers:           false,
             keybord_keys:          false,
             mousetrace:            false,
             pauseonover:           false,
             transition:            'hslide', /* vslide/hslide/fade */
             transition_speed:      500,
             show_caption:          'onload', /* onload/onhover/show */
             thumbnails:            true,
             thumbnails_position:   'outside-first', /* outside-last/outside-first/inside-last/inside-first */
             thumbnails_direction:  'vertical', /* vertical/horizontal */
             thumbnails_slidex:     0 /* 0 = auto / 1 = slide one thumbnail / 2 = slide two thumbnails / etc. */
         });
     }
     // Our very special jQuery JSON fucntion call to Flickr, gets details
     // of the most recent images
     $.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?id=66790267@N03&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, displayImages);

     function displayImages(data){

         // Start putting together the HTML string
         var htmlString = &quot;&quot;;

         // Now start cycling through our array of Flickr photo details
         $.each(data.items, function(i,item){

             // I only want the ickle square thumbnails
             var sourceSquare = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_s.jpg&quot;);
             var bigImage = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_b.jpg&quot;);

             // Here's where we piece together the HTML
             htmlString += '&lt;div&gt;&lt;div&gt;' + item.title + '&lt;/div&gt;';
             htmlString += '&lt;a target=&quot;_blank&quot; href=&quot;' + item.link + '&quot;&gt;&lt;img width=&quot;500px&quot; src=&quot;' + bigImage + '&quot; alt=&quot;' + item.title + '&quot; /&gt;&lt;/a&gt;';
             htmlString += '&lt;div&gt;';
             htmlString += '&lt;img width=&quot;80px&quot; src=&quot;' + sourceSquare + '&quot; alt=&quot;' + item.title + '&quot; /&gt;';
             htmlString += '&lt;div&gt;&lt;/div&gt;';
             htmlString += '&lt;/div&gt;&lt;/div&gt;';

         });

         // Pop our HTML in the #images DIV
         $('#showcase').html(htmlString);
         // Close down the JSON function call
         // now we are calling our own callback function
         if(typeof(callback)==='function'){
             callback.call(this);
         }

     }
 });
&lt;/script&gt;
</pre>
<p>And last but not least, you have to decide where you want to place the slideshow. On that page you should place the code as shown below.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;media&quot;&gt;
    &lt;div id=&quot;showcase&quot;&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<h2>Let&#8217;s rip the code into pieces</h2>
<p>I&#8217;ll start explaining the code by ripping it into pieces. Let&#8217;s start with the JavaScript code between the head tags. The code below creates the<strong> Awkward Showcase slideshow</strong>. We put these code in a callback function, because it should not be executed before the Flickr photos are loaded. Else you may get trouble with loading the slideshow.</p>
<pre class="brush: jscript; title: ; notranslate">
     function callback() {
         $(&quot;#showcase&quot;).awShowcase({
             width:                 500,
             height:                312,
             auto:                  true,
             interval:              5000,
             continuous:            true,
             loading:               true,
             tooltip_width:         200,
             tooltip_icon_width:    32,
             tooltip_icon_height:   32,
             tooltip_offsetx:       18,
             tooltip_offsety:       0,
             arrows:                true,
             buttons:               false,
             btn_numbers:           false,
             keybord_keys:          false,
             mousetrace:            false,
             pauseonover:           false,
             transition:            'hslide', /* vslide/hslide/fade */
             transition_speed:      500,
             show_caption:          'onload', /* onload/onhover/show */
             thumbnails:            true,
             thumbnails_position:   'outside-first', /* outside-last/outside-first/inside-last/inside-first */
             thumbnails_direction:  'vertical', /* vertical/horizontal */
             thumbnails_slidex:     0 /* 0 = auto / 1 = slide one thumbnail / 2 = slide two thumbnails / etc. */
         });
     }</pre>
<p>As you can see in the code below, we have to replace the <em>66790267@N03 </em>ID with your own ID. If you do that, the slideshow will show the flickr photos from your own Flickr account.</p>
<pre class="brush: jscript; title: ; notranslate">
$.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?id=66790267@N03&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, displayImages);
</pre>
<p>The code below places the photos from the getJSON data into the showcase div. First it puts the small and big images from the JSON data into variables and then into the htmlString variable. Once all Flickr data is in the htmlString variable, the contents of the variable will be putted into the <strong>Awkward Showcase</strong> div.</p>
<pre class="brush: jscript; title: ; notranslate">
     function displayImages(data){

         // Start putting together the HTML string
         var htmlString = &quot;&quot;;

         // Now start cycling through our array of Flickr photo details
         $.each(data.items, function(i,item){

             // Puts the thumbnail and big image into variables
             var sourceSquare = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_s.jpg&quot;);
             var bigImage = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_b.jpg&quot;);

             // Here's where we piece together the HTML
             htmlString += '&lt;div&gt;&lt;div&gt;' + item.title + '&lt;/div&gt;';
             htmlString += '&lt;a target=&quot;_blank&quot; href=&quot;' + item.link + '&quot;&gt;&lt;img width=&quot;500px&quot; src=&quot;' + bigImage + '&quot; alt=&quot;' + item.title + '&quot; /&gt;&lt;/a&gt;';
             htmlString += '&lt;div&gt;';
             htmlString += '&lt;img width=&quot;80px&quot; src=&quot;' + sourceSquare + '&quot; alt=&quot;' + item.title + '&quot; /&gt;';
             htmlString += '&lt;div&gt;&lt;/div&gt;';
             htmlString += '&lt;/div&gt;&lt;/div&gt;';

         });
</pre>
<p>And finally the code below runs the callback function, after the Flickr photos are loaded.</p>
<pre class="brush: jscript; title: ; notranslate">
// Pop our HTML in the #images DIV
$('#showcase').html(htmlString);
// Close down the JSON function call
// now we are calling our own callback function
if(typeof(callback)==='function'){
    callback.call(this);
}
</pre>
<p>So now we’re finally done. If this post didn’t help you out or you still have problems with the <strong>Awkward Slideshow</strong> plugin, don’t hesitate to put your question in a comment below, then I’ll try to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/flickr-photos-in-awkward-showcase-slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/jquery/flickr-photos-in-awkward-showcase-slideshow/</feedburner:origLink></item>
		<item>
		<title>Bottom page jQuery slide box</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/nQhBhDGIZ0o/</link>
		<comments>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:12:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=701</guid>
		<description><![CDATA[Curious how to create such awesome slide box as on mashable.com? In this tutorial I will explain to you how... <a href="http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Curious how to create such awesome slide box as on mashable.com? In this tutorial I will explain to you how to create such awesome slide-box, to improve the page views on your website. The slide box will trigger people to read another article, recommended by you! Read the article below to create the slide box by yourself. Or watch how it works, by pushing the demo button in the sidebar on the right side of this website. You can also download the source, by pushing the download button on the right side.</strong></p>
<div class="tut-buttons"><a class="demo" target="_blank" href="http://demo.erikvandeven.com/bottom-page-jquery-slide-box/">Demo</a><a class="download" target="_blank" href="http://demo.erikvandeven.com/bottom-page-jquery-slide-box/download.zip">Download</a><div class="clear"></div></div>
<p>So earlier this week I was searching for a solution to get such a lovely <strong>slide box </strong>as <a title="Mashable" href="http://mashable.com" target="_blank">mashable.com</a> shows on their website, on every article page. It slides in from the right when you read the last part of the article. You can see the slide box if you open an article page on mashable.com and scroll to the comment part of the page. Then the slide box will slide-in at the bottom right position of the page.</p>
<p>After a lot of searching and &#8220;googling&#8221; I came on <a title="Tutorial slidebox" href="http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/" target="_blank">this</a> website, where <a title="Writer tutorial" href="http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/#author-info" target="_blank">Mary Lou</a> shows how it&#8217;s possible to make such awesome <strong>slide box</strong>. So, thanks Mary Lou!</p>
<p>First we need to decide from which part of the page we want the slide box to slide-in. At the end of the article? At the end of the comment-list? If you want to show the box when the visitor is at the end of the article, you can give the last paragraph (&lt;p&gt;) an id like &#8220;last&#8221;. See the code below:</p>
<p>Page where you want to show the slidebox (I use single.php in WordPress)</p>
<pre class="brush: xml; title: ; notranslate">
&lt;p id=&quot;last&quot;&gt;
    Some paragraph text
&lt;/p&gt;
</pre>
<p>But when you use WordPress it&#8217;s kind annoying to give every last paragraph an id. And you need the id, to tell jQuery after which paragraph the slide box has to show up. So what I did, was identifying the last paragraph by putting p:last-child in the jQuery code. And that works fine with the latest browsers, which is most important, don&#8217;t you think? If you don&#8217;t know what I mean, just read further. It will be obvious after I showed the jQuery code.</p>
<p>The next thing we have to do is creating the html code of the slide box. So how the slide box has to look like and which information it has to contain. See the code below for an example.</p>
<p>Page where you want to show the slidebox (I use single.php in WordPress)</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;slidebox&quot;&gt;
    &lt;span&gt;Read next&lt;/span&gt;
    &lt;a href=&quot;#&quot; class=&quot;close&quot;&gt;close&lt;/a&gt;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>So, now we&#8217;ve created the html for the slide box and we &#8220;marked&#8221; a point from which height the slide box has to appear (from the p with id &#8220;last&#8221;). The next thing we have to do is announcing the JavaScript files. For the slide box we&#8217;re using jQuery of course, so we have to include the <a title="download jQuery" href="http://jquery.com/" target="_blank">jQuery</a> library. Also we include the effects.js, which we gonna create later. You can place the code below between the head tags in your index file. Or if you are using WordPress, you can place the code in the header.php file. If you are using WordPress, there&#8217;s a great chance you don&#8217;t have to include the jQuery library, because it&#8217;s already included. So first try without the library and if it doesn&#8217;t work, then you can include the jQuery library.</p>
<p>index.php (or header.php in WordPress)</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/jquery-1.6.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;effects.js&quot;&gt;&lt;/script&gt;
</pre>
<p>The last thing you have to do, to get the slide box working, is creating the jQuery code.  As you can see in the code below, the code just checks or you already are at the paragraph with id &#8220;last&#8221;. If so, it slides in the slide box. You can copy and paste the code below in the effects.js file.</p>
<p>effects.js</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function () {
    $(function() {
        $(window).scroll(function(){
            var distanceTop = $('p#last').offset().top - $(window).height();

            if  ($(window).scrollTop() &gt; distanceTop)
                $('#slidebox').animate({'right':'0px'},300);
            else
                $('#slidebox').stop(true).animate({'right':'-430px'},100);
        });
        $('#slidebox .close').bind('click',function(){
            $('#slidebox').stop(true).animate({'right':'-430px'},100, function(){
                $('#slidebox').remove();
            });
            return false;
        });
    });
});
</pre>
<p>And last but not least, you can add some styles to the slidebox. See the stylesheet below.</p>
<p>stylesheet (style.css in WordPress)</p>
<pre class="brush: css; title: ; notranslate">
#slidebox{
    width:350px;
    height:125px;
    padding:10px;
    background-color:#ffffff;
    position:fixed;
    bottom:0px;
    right:-380px;
    -moz-box-shadow:-2px 0px 5px #aaa;
    -webkit-box-shadow:-2px 0px 5px #aaa;
    box-shadow: 0 4px 10px #555555;
}
#slidebox span{
    font-size: 0.9em;
    padding-bottom: 5px;
    text-transform: uppercase;
}
#slidebox h2{
    font-size: 1.0em;
}
#slidebox .next-article{
    margin-top: 5px;
}
#slidebox .next-article a{
    display: inline-block;
}
#slidebox .close{
    background: url(close-card.png) no-repeat;
    display: block;
    height: 15px;
    margin: 3px;
    float: right;
    width: 16px;
    text-indent: -99999px;
}
#slidebox .close:hover{
    background:transparent url(close-card.png) -16px 0px no-repeat;
}
#slidebox strong{
    display: inline-block;
    color: #000000;
    font-family:&quot;Verdana&quot;;
    font-size:1.2em;
    margin-left: 10px;
    vertical-align: top;
    max-width: 240px;
}
</pre>
<p>So, now everything should be working fine. I hope everything is clear now and it helps you to create a nice slide box. I’m sorry for my bad English but I try the best I can to share my jQuery experience with you all.</p>
<p>If you have any questions, just post a comment below and I’ll try to respond as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/</feedburner:origLink></item>
		<item>
		<title>Get HTML5 working in Internet Explorer</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/-GJW4LuY1v4/</link>
		<comments>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 03 May 2011 14:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=648</guid>
		<description><![CDATA[Are you using HTML5 already? And it does not work in Internet Explorer 7 and 8? That&#8217;s because Internet Explorer... <a href="http://erikvandeven.com/html/get-html5-working-in-internet-explorer/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Are you using HTML5 already? And it does not work in Internet Explorer 7 and 8? That&#8217;s because Internet Explorer 7 and 8 don&#8217;t support HTMl5. But there&#8217;s a workaround with Javascript, I will explain that to you.</strong></p>
<p>There&#8217;s a workaround to get HTML5 working in Internet Explorer 7 and 8. <a title="Communitymx HTML5 in IE7 and 8" href="http://www.communitymx.com/content/article.cfm?cid=8C170" rel="nofollow" target="_blank">Communitymx</a> has posted a solution online</p>
<p>Paste the following code between the head tags</p>
<pre class="brush: plain; title: ; notranslate">
&lt;!--[if IE]&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
 (function(){
 var html5elements = &quot;address|article|aside|audio|canvas|command|datalist|details|dialog|figure|
figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|progress|ruby|
section|time|video&quot;.split('|');

 for(var i = 0; i &lt; html5elements.length; i++){
 document.createElement(html5elements[i]);
 }
 }
 )();
 &lt;/script&gt;
 &lt;![endif]--&gt;
</pre>
<p>The code creates an element of every <strong>html5</strong> tag (which is indicated at the &#8220;html5elements&#8221; variable). From now on you can style those tags also with CSS, <strong>IE7</strong> and <strong>IE8</strong> will recognize those.</p>
<p>IMPORTANT: Because IE7 and IE8 don&#8217;t recognize those HTML5 tags officially, they do not know or a tag is a block or inline-element. So you have to give them those styles with CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/</feedburner:origLink></item>
		<item>
		<title>Floating social media buttons</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/fNnr5nq5wI4/</link>
		<comments>http://erikvandeven.com/jquery/floating-social-media-buttons/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 08:25:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[floating]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=250</guid>
		<description><![CDATA[Lots of people ask how to get a floating menu of social media buttons like on mashable.com (or as you... <a href="http://erikvandeven.com/jquery/floating-social-media-buttons/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Lots of people ask how to get a floating menu of social media buttons like on <a href="http://mashable.com" target="_blank">mashable.com</a> (or as you can see on the left side of this page), I will explain that to you in this tutorial.</p>
<p>The first thing you need to do is including the jQuery library on your WordPress website. If you have installed WP-Cycle or Lightbox (or another plugin that contains jQuery) you already have jQuery included on your WordPress website. If you do not have any plugin that contains the jQuery library and you don&#8217;t know how to include the jQuery library on your webpage, then go to <a href="http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/" target="_blank">this</a> page.</p>
<p>The next thing you have to do is implementing the menu, you want to get floating on your web page (in our case those are the widget buttons). See the code below for an example.<span id="more-250"></span></p>
<pre class="brush: php; title: ; notranslate">
&lt;div id=&quot;content&quot;&gt;
    &lt;div id=&quot;share_buttons_wrapper&quot;&gt;
        &lt;div id=&quot;share_buttons_single_page&quot;&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('add_wp_google_buzz')) echo add_wp_google_buzz(); ?&gt;
            &lt;/div&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('tweetmeme')) echo tweetmeme(); ?&gt;
            &lt;/div&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('fbshare_manual')) echo fbshare_manual(); ?&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The wrapper in the code above is necessary! This prevents the menu from going to the absolute left of the web page (when it gets the class <strong>fixed</strong>). The content div is where I put my text (like this tutorial) in. The position relative of the content div is very important, this prevents the buttons from moving. This means that the buttons just stay where the are, no matter what resolution you have. The next thing you have to do is putting the following css code in your stylesheet:</p>
<pre class="brush: css; title: ; notranslate">
/* Important! Give the content div a position relative */
#content{
 position: relative;
}
#share_buttons_single_page img{
 background: none;
 border: none;
 padding: 0;
 margin: 0;
}
#share_buttons_wrapper {
 left:-120px;
 position: absolute;
 margin-left: 35px;
 width: 280px;
}
#share_buttons_single_page{
 position:absolute;
 text-align: left;
 margin: 0 0 10px 15px;
}
#share_buttons_single_page.fixed {
 position: fixed;
 top:20px;
}
#share_buttons_single_page .wdt_button{
 float:left;
 clear:left;
 margin-bottom: 10px;
}
</pre>
<p>On my website the css style above works fine, but in your case it could be you have to change some values like <strong>left </strong>and such. The last thing you have to do is putting the code below between the <strong>head </strong>tags in <strong>header.php </strong>(this is the header.php file in your theme folder). But watch out! You have to put it AFTER the wp_head which includes the other head elements of WordPress. Don&#8217;t you know what I mean? I mean AFTER the code as you can see below:</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php wp_head(); ?&gt;
</pre>
<p>If you put the following code (see the code below) below the wp_head (as you can see above) than everything will be working fine. So the last thing you have to do is adding the following code:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(function () {
    var msie6 = jQuery.browser == 'msie' &amp;&amp; jQuery.browser.version &lt; 7;
    if (!msie6 &amp;&amp; jQuery('.share_buttons_single_page').length != 0) {
        var top = jQuery('#share_buttons_single_page').offset().top - parseFloat(jQuery('#share_buttons_single_page').css('margin-top').replace(/auto/, 0));

        jQuery(window).scroll(function (event) {

            // what the y position of the scroll is

            var y = jQuery(this).scrollTop();
// whether that's below the form
            if (y &gt;= top-20) {
                // if so, ad the fixed class
                jQuery('#share_buttons_single_page').addClass('fixed');
            } else {
                // otherwise remove it
                jQuery('#share_buttons_single_page').removeClass('fixed');
            }
        });
    }
});
&lt;/script&gt;
</pre>
<p>So, now everything should be working fine. As you can see in the code above, I used msie6 to check or the browser which the visitor is using, is not Internet Explorer 6. I did this because Internet Explorer 6 does not support <strong>position:fixed</strong>.</p>
<p>I hope everything is clear now and it helps you to create a floating menu like on this web page. I&#8217;m sorry for my bad English but I try the best I can to share my jQuery experience with you all. I could explain everything in Dutch, but I guess the most of you will not understand anything of that.</p>
<p>If you have any questions, just post a comment below and I’ll try to respond as soon as possible.<!--:--><!--:nl--></p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/floating-social-media-buttons/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/jquery/floating-social-media-buttons/</feedburner:origLink></item>
		<item>
		<title>Bigger avatar picture in your Comment list</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/AI3t5s0Hq2Q/</link>
		<comments>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:58:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Avatar]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=321</guid>
		<description><![CDATA[Dear visitors, In this short tutorial I explain to you how to make your avatar pictures (in you comment lists),... <a href="http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Dear visitors,<br />
In this short tutorial I explain to you how to make your avatar pictures (in you comment lists), bigger without getting blurry. Sometimes you change the size of the images, by using CSS. That will do the job, if you don&#8217;t want to use avatar pictures, larger then 32&#215;32 pixels. If you do want to use larger pictures then 32&#215;32 pixels and you will resize them using css to, let&#8217;s say to 50&#215;50 pixels, you will get a blurry effect<span id="more-321"></span> (see the below image).</p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/06/Untitled-2.png"><img class="alignnone size-full wp-image-570" title="Untitled-2" src="http://erikvandeven.com/wp-content/uploads/2010/06/Untitled-2.png" alt="" width="596" height="266" /></a></p>
<p>Ok, the only thing you have to do is opening comment-template.php (which you can find in the folder <strong>wp-includes</strong>), and change row 1422. On this row you will find the folliwing code:</p>
<pre class="brush: php; title: ; notranslate">

$defaults = array('walker' =&gt; null, 'max_depth' =&gt; '', 'style' =&gt; 'ul', 'callback' =&gt; null, 'end-callback' =&gt; null, 'type' =&gt; 'all',
 'page' =&gt; '', 'per_page' =&gt; '', 'avatar_size' =&gt; 60, 'reverse_top_level' =&gt; null, 'reverse_children' =&gt; '');
</pre>
<p>The only thing you have to do is changing the <strong>avatar_size</strong>, to a size which you want to use for your avatars. So if you want to use an avatar of 60&#215;60 pixels, just change 32 to 60. It&#8217;s not possible to use pictures like 32&#215;60 pixels. Well, that is possible, but only if you use also CSS, but that will not give a very nice effect.</p>
<p>If you do want to use css to change some values or something of the avatar image, you have to use the following class:</p>
<pre class="brush: css; title: ; notranslate">
.commentlist li img.avatar{
border: 3px solid #FFFFFF;
position:relative;
left:-45px;
top: 40px;
}
</pre>
<div>As you can see in the code above, I gave my avatars a nice white border and a relative position. I thought the white border would be nice. Anyway, good luck with this tutorial. If you have any questions, just post a comment below and I’ll try to respond as soon as possible.</div>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/</feedburner:origLink></item>
		<item>
		<title>Create an Archive Page in WordPress</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/FnOR7i-zpQI/</link>
		<comments>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:02:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=224</guid>
		<description><![CDATA[In this tutorial I explain to you how to make an archive page for your wordpress blog. An archive page... <a href="http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I explain to you how to make an archive page for your wordpress blog. An archive page allows readers to quickly browse your blog and find what they&#8217;re looking for. There are many plug-ins which allows you to create an archive page for your wordpress blog, very easily. A disadvantage of this solution is that you could have problems with the version of wordpress you have and such. So why should we use a plug-in to create an archive page for us, when it&#8217;s so easy to create an archive page by our selfs? In this tutorial I explain to you how to create an archive page by yourself. <span id="more-224"></span></p>
<h3>Templates</h3>
<p>WordPress allows you to create a template page, so it&#8217;s possible to create a PHP or HTML page by yourself and show it on one of your wordpress pages, so this is what we&#8217;re going to do. If you want to create a template, the only thing you have to do, is putting the following code in the top of your PHP document:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/**
* Template Name: Archive page
*/
?&gt;
</pre>
<h3>Let&#8217;s get started</h3>
<p>Ok, the first thing we&#8217;re going to do is creating a new .php page in your theme folder (<strong>wp-content/themes/your-theme</strong>). The next thing you have to do is putting the following code in the top of that document:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/**
* Template Name: Archive page
*/
?&gt;
</pre>
<p>So now we&#8217;ve created a template, the next thing we are going to do is putting the rest of the code in that document.<br />
Copy the code as shown below and paste it in your new document.</p>
<pre class="brush: php; title: ; notranslate">
&lt;php
/**
* Template Name: Archive page
*/

get_header(); ?&gt;
&lt;div id=&quot;content&quot;&gt;
    &lt;?php
    query_posts('category_name=news');
    if (have_posts()) : ?&gt;
    &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
    &lt;h3&gt;News&lt;/h3&gt;
    &lt;ul&gt;
        &lt;?php while(have_posts()) : the_post(); ?&gt;
            &lt;li&gt;
                &lt;?php the_time('d.m.y') ?&gt; | &lt;a href=&quot;&lt;?php the_permalink();?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;?php endwhile; ?&gt;
        &lt;/ul&gt;
    &lt;?php endif;
    query_posts('category_name=projects');
    if (have_posts()) : ?&gt;
        &lt;h3&gt;Projects&lt;/h3&gt;
        &lt;ul&gt;
        &lt;?php while(have_posts()) : the_post(); ?&gt;
            &lt;li&gt;
                &lt;?php the_time('d.m.y') ?&gt; | &lt;a href=&quot;&lt;?php the_permalink();?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
            &lt;/li&gt;
        &lt;?php endwhile; ?&gt;
        &lt;/ul&gt;
    &lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;
</pre>
<p>As you see I made two paragraphs, one with <strong>News </strong>and one with <strong>Projects</strong>, this is because I needed an archive page with only the news and project articles, apart. So if you want, you can skip one of those.</p>
<p>The last thing you have to do, is log in the admin panel of you wordpress website. Then you create a new page and you choose for a template, as you see there&#8217;s a new template in that list, called <strong>Archive page</strong>, select that template and save the page. Now you&#8217;re done. If you don&#8217;t know how to choose a template in a new page, then look at the image below:</p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/04/wordpress-page-template.png"><img class="alignnone size-medium wp-image-576" title="wordpress-page-template" src="http://erikvandeven.com/wp-content/uploads/2010/04/wordpress-page-template-300x179.png" alt="" width="300" height="179" /></a></p>
<p>If you did it right, you will get a archive page something like <a title="Zoowie Archive" href="http://zoowie.nl/archief/" target="_blank">this</a><br />
if you have any questions, just post a comment below and I&#8217;ll try to respond as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/</feedburner:origLink></item>
		<item>
		<title>Using the More Tag on WordPress Pages</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/tSardqPfJFE/</link>
		<comments>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 09:03:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[more]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=140</guid>
		<description><![CDATA[If you try to use the &#8220;more&#8221; tag on any page other than your blog&#8217;s homepage, you&#8217;ve probably noticed that... <a href="http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>If you try to use the &#8220;more&#8221; tag on any page other than your blog&#8217;s homepage, you&#8217;ve probably noticed that it doesn&#8217;t work. In this tutorial, I show you a really simple way to enable the use of the &#8220;more&#8221; tag on other pages in your WordPress blog.</p>
<p>You may have noticed that if you have more than one page on your blog that shows posts, the <strong>more </strong>tag only works on one of those pages. Well I&#8217;ve got the solution, if you are interested then you can go to <a title="Meetingpoint Geldrop-Mierlo" href="http://meetingpoint.erikvandeven.com" target="_blank">meetingpoint.erikvandeven.com</a> for a small demonstration. If you look at the <strong>Nieuws </strong>page of that website and the <strong>Projecten </strong>page, then you&#8217;ll see that both pages have the <strong>Read more </strong>link.</p>
<p>It appears that WordPress uses a variable called $more that says or you are already using the <strong>more </strong>tag on a webpage. The solution to this problem is incredibly simple<span id="more-140"></span>, just add the written below code on the page where you want to use the <strong>more </strong>tag again.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php global $more; $more = FALSE; ?&gt;</pre>
<p>To use the <strong>more </strong>tag correctly in the content you place on a page, you have to it above <strong>the_content</strong>, and then you will get this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php global $more; $more = FALSE; ?&gt;
&lt;?php the_content('Read more &amp;rarr;'); ?&gt;</pre>
<p>If this post was helpfull to you,or if you still have problems with the more tag, please let me know by posting a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/</feedburner:origLink></item>
		<item>
		<title>How to use WP-Cycle</title>
		<link>http://feedproxy.google.com/~r/erikvdven/~3/1Fg6LmlvFoY/</link>
		<comments>http://erikvandeven.com/jquery/how-to-use-wp-cycle/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:44:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=97</guid>
		<description><![CDATA[The WP-Cycle plugin allows you to upload images from your computer, which will then be used to generate a jQuery... <a href="http://erikvandeven.com/jquery/how-to-use-wp-cycle/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>The WP-Cycle plugin allows you to upload images from your computer, which will then be used to generate a jQuery Cycle Plugin slideshow of the images.</p>
<p>Each image can also be given a URL which, when the image is active in the slideshow, will be used as an anchor wrapper around the image, turning the image into a link to the URL you specified.</p>
<p>In this tutorial I&#8217;m going to explain you how to use the WP-Cycle plugin in WordPress.</p>
<p>The first thing you have to do is download and installing the WP-Cycle Plugin, from <a title="WP-Cycle plugin" href="http://wordpress.org/extend/plugins/wp-cycle/" target="_blank">this </a>page. Now be sure you&#8217;re logged in the wordpress admin panel of your website and go to Plugins, and open the settings page of the WP-Cycle plugin (as shown below).<span id="more-97"></span></p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/04/screenshot_wp-cycle1.png"><img class="alignnone size-medium wp-image-574" title="screenshot_wp-cycle1" src="http://erikvandeven.com/wp-content/uploads/2010/04/screenshot_wp-cycle1-300x137.png" alt="" width="300" height="137" /></a></p>
<p>Now just upload 2 images like I did in the image above and don&#8217;t forget to fill in the <strong>Rotator DIV ID </strong>setting, just enter a name like <strong>slideshow</strong>. Now click on Save Settings and close the window.</p>
<p>The next thing you have to do is opening a PHP file where you want to put your slideshow, let&#8217;s say in the header. So open the header.php in your content folder (/wp-content/themes/YOUR-THEME/header.php) and put this code on a place where you want to put your slideshow:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php wp_cycle(); ?&gt;</pre>
<p>NOW REMEMBER!! If you want to put a div around the wp-cycle, do not use a div with the same ID as you filled in the settings of the WP-Cycle Plugin (in our case that&#8217;s slideshow). Because the plugin puts a div with that name around the slideshow by itself. So if you want to put another div around it, give it an id like header or something.</p>
<p>So, we&#8217;re almost done&#8230; But if you look good, the slideshow doesn&#8217;t look that good in Internet Explorer if you use a background image like me (see my header on this page), to fix that you have to do the following, open up your httpdocs folder, surf to this path:<strong> /wp-content/plugins/wp-cycle/</strong> and open <strong>wp-cycle.php</strong>.</p>
<p>In <strong>wp-cycle.php</strong>, change these lines (row <strong>438 </strong>till <strong>446 </strong>in wp-cycle.php):</p>
<pre class="brush: php; title: ; notranslate">jQuery(document).ready(function($) {
$(&quot;#&lt;?php echo $wp_cycle_settings['div']; ?&gt;&quot;).cycle({
fx: '&lt;?php echo $wp_cycle_settings['effect']; ?&gt;',
timeout: &lt;?php echo ($wp_cycle_settings['delay'] * 1000); ?&gt;,
speed: &lt;?php echo ($wp_cycle_settings['duration'] * 1000); ?&gt;,
pause: 1,
fit: 1
});
});</pre>
<p>To this:</p>
<pre class="brush: php; title: ; notranslate">

jQuery(document).ready(function($) {
$(&quot;#&lt;?php echo $wp_cycle_settings['div']; ?&gt;&quot;).cycle({
fx: '&lt;?php echo $wp_cycle_settings['effect']; ?&gt;',
timeout: &lt;?php echo ($wp_cycle_settings['delay'] * 1000); ?&gt;,
speed: &lt;?php echo ($wp_cycle_settings['duration'] * 1000); ?&gt;,
cleartypeNoBg: true
});
});</pre>
<p>As you see we added <strong>cleartypeNoBg: true</strong>, this is for Internet Explorer, if you don&#8217;t add this line you&#8217;ll see an ugly background in your slideshow (it&#8217;s a bug from Internet Explorer).<br />
Also we deleted the <strong>pause: 1 </strong>and <strong>fit: 1</strong>, because in my opinion they don&#8217;t do anything good to the slideshow, my slideshow stuttered but deleting those lines it fixed the problem.</p>
<p>So, now we&#8217;re done and everything is working fine&#8230; But if you still have some problems with styling your slideshow like I did, then you have to read further because I&#8217;ve got the solution. The wp-cycle plugin adds styles in the index.php, as you all know the styles in the index.php overrides the stylesheet styles. So what you have to do: Go to the wp-cycle folder in the plugins folder of your wordpress blog and open <strong>wp-cycle.php.</strong> Now scroll to the bottom of that file and delete the following code</p>
<pre class="brush: css; title: ; notranslate">margin: 0; padding: 0;
overflow: hidden;</pre>
<p>So now we&#8217;re finally done. If this post didn&#8217;t help you out or you still have problems with the WP-Cycle plugin, don&#8217;t hesitate to put your question in a comment below, then I&#8217;ll try to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/how-to-use-wp-cycle/feed/</wfw:commentRss>
		<slash:comments>98</slash:comments>
		<feedburner:origLink>http://erikvandeven.com/jquery/how-to-use-wp-cycle/</feedburner:origLink></item>
	</channel>
</rss>

