<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Simple Banner Rotator With PHP, jQuery &amp; MySQL</title>
	<atom:link href="http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/</link>
	<description>Web Development Tutorials &#38; Resources</description>
	<lastBuildDate>Wed, 16 May 2012 02:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gofree</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-21003</link>
		<dc:creator>gofree</dc:creator>
		<pubDate>Fri, 16 Dec 2011 09:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-21003</guid>
		<description>I am using blogger, I and I hooked to this beautiful effect and functions.
But could you please, make it simpler to implement in blogger blogspot for some basic people like me?

Thanks a lot though I can&#039;t understand most parts, but I can tell you the result is by far the best!</description>
		<content:encoded><![CDATA[<p>I am using blogger, I and I hooked to this beautiful effect and functions.<br />
But could you please, make it simpler to implement in blogger blogspot for some basic people like me?</p>
<p>Thanks a lot though I can't understand most parts, but I can tell you the result is by far the best!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Widmann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-16998</link>
		<dc:creator>Brett Widmann</dc:creator>
		<pubDate>Fri, 22 Apr 2011 01:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-16998</guid>
		<description>I really like this banner! Thanks for the code snippets. It looks great!</description>
		<content:encoded><![CDATA[<p>I really like this banner! Thanks for the code snippets. It looks great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-11942</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Wed, 13 Oct 2010 14:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-11942</guid>
		<description>found the solution myself I think:
in the file: banner.class.php on line 21 there you can change the path</description>
		<content:encoded><![CDATA[<p>found the solution myself I think:<br />
in the file: banner.class.php on line 21 there you can change the path</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-11905</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Tue, 12 Oct 2010 14:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-11905</guid>
		<description>I would like this banner rotator on a webpage.
 But leave the files that come along with this script in a seperate folder.
So I include the part starting with:  ul class bannerholder
 and makes changes to require &quot;folder/connect.php&quot;
require &quot;folder/banner.class.php&quot;
Where do I have to make changes more? because I seem to have lost the connection with the database. I think I have to change the paths but on which files exactly?</description>
		<content:encoded><![CDATA[<p>I would like this banner rotator on a webpage.<br />
 But leave the files that come along with this script in a seperate folder.<br />
So I include the part starting with:  ul class bannerholder<br />
 and makes changes to require "folder/connect.php"<br />
require "folder/banner.class.php"<br />
Where do I have to make changes more? because I seem to have lost the connection with the database. I think I have to change the paths but on which files exactly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Ortiz</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-7687</link>
		<dc:creator>Rafael Ortiz</dc:creator>
		<pubDate>Fri, 16 Jul 2010 04:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-7687</guid>
		<description>Ok this is solved for me i used an iframe tag to embed this in my CMS. 
thanks!</description>
		<content:encoded><![CDATA[<p>Ok this is solved for me i used an iframe tag to embed this in my CMS.<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-5917</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Sun, 30 May 2010 06:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-5917</guid>
		<description>@Martin, Thank you so much, this is absolutely beautiful!</description>
		<content:encoded><![CDATA[<p>@Martin, Thank you so much, this is absolutely beautiful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Angelov</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-5899</link>
		<dc:creator>Martin Angelov</dc:creator>
		<pubDate>Sat, 29 May 2010 11:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-5899</guid>
		<description>@ Ann, yes, just lower the width of &lt;b&gt;.bannerHolder&lt;/b&gt; UL in the CSS. The banners should then show only one per row.</description>
		<content:encoded><![CDATA[<p>@ Ann, yes, just lower the width of <b>.bannerHolder</b> UL in the CSS. The banners should then show only one per row.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-5897</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Sat, 29 May 2010 09:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-5897</guid>
		<description>@Martin, I tried it and works great, but.......
 there are still 2 banners at 1 row. I really would like just 1 banner at each row is that also possible?</description>
		<content:encoded><![CDATA[<p>@Martin, I tried it and works great, but.......<br />
 there are still 2 banners at 1 row. I really would like just 1 banner at each row is that also possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-5879</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Fri, 28 May 2010 17:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-5879</guid>
		<description>@ Martin 
Thanks for replying, I hope I can get it working.
WIl give it a try</description>
		<content:encoded><![CDATA[<p>@ Martin<br />
Thanks for replying, I hope I can get it working.<br />
WIl give it a try</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Angelov</title>
		<link>http://tutorialzine.com/2010/04/simple-banner-rotator-with-php-jquery-mysql/#comment-5843</link>
		<dc:creator>Martin Angelov</dc:creator>
		<pubDate>Thu, 27 May 2010 16:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialzine.com/?p=867#comment-5843</guid>
		<description>@ Lyall Salkinder, thank you for the awesome MooTools implementation. I am sure that many people will find it useful.

@ Ann, yes it would be fairly easy to show all the banners in a single column. Just remove this line from demo.php:
&lt;pre&gt;
$bannerGroups = array_chunk($banners,4);
&lt;/pre&gt;

And the second foreach block in the same file:
&lt;pre&gt;
&lt;?php

	foreach($bannerGroups[1] as $ban)
	{
		echo &#039;&lt;li&gt;&#039;.$ban-&gt;html().&#039;&lt;/li&gt;&#039;;
	}

?&gt;
&lt;/pre&gt;

The only thing left for you to do is to modify a bit the first foreach block to loop through the $banners array, and not the $bannerGroups[0] array like this:

&lt;pre&gt;
foreach($banners as $ban)
{
	echo &#039;&lt;li&gt;&#039;.$ban-&gt;html().&#039;&lt;/li&gt;&#039;;
}
&lt;/pre&gt;

This will show them in a single column.</description>
		<content:encoded><![CDATA[<p>@ Lyall Salkinder, thank you for the awesome MooTools implementation. I am sure that many people will find it useful.</p>
<p>@ Ann, yes it would be fairly easy to show all the banners in a single column. Just remove this line from demo.php:</p>
<pre>
$bannerGroups = array_chunk($banners,4);
</pre>
<p>And the second foreach block in the same file:</p>
<pre>
< ?php

	foreach($bannerGroups[1] as $ban)
	{
		echo '&lt;li&gt;'.$ban-&gt;html().'&lt;/li&gt;';
	}

?>
</pre>
<p>The only thing left for you to do is to modify a bit the first foreach block to loop through the $banners array, and not the $bannerGroups[0] array like this:</p>
<pre>
foreach($banners as $ban)
{
	echo '&lt;li&gt;'.$ban-&gt;html().'&lt;/li&gt;';
}
</pre>
<p>This will show them in a single column.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 356/356 objects using apc
Content Delivery Network via cdn.tutorialzine.com

Served from: tutorialzine.com @ 2012-05-16 18:09:05 -->
