<?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>Loads Contents &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/loads-contents/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Fri, 17 Jul 2015 12:50:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Loads Contents &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Loading Div Content One by One Using Pure jQuery</title>
		<link>https://www.sibeeshpassion.com/loading-div-content-one-by-one-using-pure-jquery/</link>
					<comments>https://www.sibeeshpassion.com/loading-div-content-one-by-one-using-pure-jquery/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 29 Dec 2014 19:21:27 +0000</pubDate>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Contents one by one using Jquery]]></category>
		<category><![CDATA[Load Div Content]]></category>
		<category><![CDATA[Loading Div Content]]></category>
		<category><![CDATA[Loads Contents]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=621</guid>

					<description><![CDATA[Introduction This article explains how to load div content one by one. You can do this by adding some plug-ins, but it is always better to avoid the unwanted plug-ins. So I have found how to do it and thought to share it with you all. Background I have been working with my website (www.sibeeshpassion.com) for the past few days and I have the need to show only one item (quote) of many (quotes) at a time in a div. Please provide your valuable suggestions for improvement. Using the Code First of all we need the contents. So you can [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>This article explains how to load div content one by one. You can do this by adding some plug-ins, but it is always better to avoid the unwanted plug-ins. So I have found how to do it and thought to share it with you all.</p>
<p><strong>Background</strong></p>
<p>I have been working with my website (<a href="http://sibeeshpassion.com/index.html">www.sibeeshpassion.com</a>) for the past few days and I have the need to show only one item (quote) of many (quotes) at a time in a div.</p>
<p>Please provide your valuable suggestions for improvement.</p>
<p><strong>Using the Code</strong></p>
<p>First of all we need the contents. So you can get the contents as follows.<br />
[html]<br />
&lt;div id=“fades”&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Welcome to &lt;b&gt;Sibeesh|Passion&lt;/b&gt;. Thanks a lot for visiting. Come again!!!”<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Sibeesh Venu<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “If debugging is the process of removing software bugs, then programming must be<br />
            the process of putting them in. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Edsger Dijkstra<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Walking on water and developing software from a specification are easy if both<br />
            are frozen. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Edward V Berard<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “It’s not at all important to get it right the first time. It’s vitally important<br />
            to get it right the last time.”<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Andrew Hunt and David Thomas<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “First, solve the problem. Then, write the code. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – John Johnson<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Should array indices start at 0 or 1? My compromise of 0.5 was rejected without,<br />
            I thought, proper consideration. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Stan Kelly-Bootle<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Always code as if the guy who ends up maintaining your code will be a violent psychopath<br />
            who knows where you live. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Rick Osborne<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Any fool can write code that a computer can understand. Good programmers write<br />
            code that humans can understand. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Martin Fowler<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Software sucks because users demand it to. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Nathan Myhrvold<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            “Beware of bugs in the above code; I have only proved it correct, not tried it.<br />
            “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Donald Knuth<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
    &lt;div&gt;<br />
        &lt;h3&gt;<br />
            ” There is not now, nor has there ever been, nor will there ever be, any programming<br />
            language in which it is the least bit difficult to write bad code. “<br />
        &lt;/h3&gt;<br />
        &lt;p style=“text-align: right;”&gt;<br />
            – Flon’s Law<br />
        &lt;/p&gt;<br />
    &lt;/div&gt;<br />
&lt;/div&gt;<br />
[/html]</p>
<p>Now it is time for the action, our jQuery function.<br />
[js]<br />
&lt;script type=“text/javascript”&gt;<br />
    $(document).ready(function () {<br />
        $(“body”).floatingShare();<br />
        // First hide them all<br />
        $(“#fades div”).hide();<br />
        function fades($div, cb) {<br />
            $div.fadeIn(10000, function () {<br />
                $div.fadeOut(10000, function () {<br />
                    var $next = $div.next();<br />
                    if ($next.length &gt; 0) {<br />
                        fades($next, cb);<br />
                    }<br />
                    else {<br />
                        // The last element has faded away, call the callback<br />
                        cb();<br />
                    }<br />
                });<br />
            });<br />
        }<br />
        function startFading($firstDiv) {<br />
            fades($firstDiv, function () {<br />
                startFading($firstDiv);<br />
            });<br />
        }<br />
        startFading($(“#fades div:first-child”));<br />
    });<br />
&lt;/script&gt;<br />
[/js]</p>
<p>Please note that you need to load the jQuery first. You can get it from the CDN or from your server.</p>
<p>[js]<br />
&lt;script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js”&gt;&lt;/script&gt;<br />
[/js]</p>
<p><strong>Points of Interest</strong></p>
<p>jQuery, CSS, HTML</p>
<p><strong>History</strong></p>
<p>First version: 01-Dec-2014</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/loading-div-content-one-by-one-using-pure-jquery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
