<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: Avia Slider Next/Prev buttons</title>
		<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons</link>
		<description>Support Forum - Topic: Avia Slider Next/Prev buttons</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 16:09:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/avia-slider-nextprev-buttons" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-16092</link>
			<pubDate>Fri, 01 Apr 2011 05:23:33 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">16092@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks theb3s7 for providing the code :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>theb3s7 on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-16010</link>
			<pubDate>Wed, 30 Mar 2011 22:07:06 +0000</pubDate>
			<dc:creator>theb3s7</dc:creator>
			<guid isPermaLink="false">16010@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;If you're using the default controls I have a solution for you:&#60;/p&#62;
&#60;p&#62;add these methods into slideWrapper.methods object:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;prevSlide: function()
                {
                    if (skipSwitch)
                        return false;

                    var x = currentSlideNumber - 1;
                    if(x == -1)
                        x = slideCount-1;
                    controlls.find(&#38;#39;a:eq(&#38;#39;+ x +&#38;#39;)&#38;#39;).click();
                    return false;
                },
	nextSlide: function()
                {
                    if (skipSwitch)
                        return false;

                    var x = currentSlideNumber + 1;
                    if(x == slideCount)
                        x = 0;
                    controlls.find(&#38;#39;a:eq(&#38;#39;+ (x) +&#38;#39;)&#38;#39;).click();
                    return false;
                },&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and also replace the appendControls function with this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (options.slideControlls == &#38;#39;items&#38;#39;)
					{
						var elementToAppend = options.appendControlls &#124;&#124; slideWrapper[0];
						controlls = $(&#38;#39;&#38;lt;div&#38;gt;&#38;lt;/div&#38;gt;&#38;#39;).addClass(&#38;#39;slidecontrolls&#38;#39;).insertAfter(elementToAppend);

                        var controllerBack = $(&#38;#39;&#38;lt;span style=&#38;quot;float: left;cursor:pointer;background: none;width: 28px&#38;quot;&#38;gt; prev &#38;lt;/span&#38;gt;&#38;#39;).appendTo(controlls);
                        controllerBack.bind(&#38;#39;click&#38;#39;, slideWrapper.methods.prevSlide);
						slides.each(function(i)
						{
							var controller = $(&#38;#39;&#38;lt;a href=&#38;quot;#&#38;quot; class=&#38;quot;ie6fix &#38;#39;+current_class+&#38;#39;&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;&#38;#39;).appendTo(controlls);
							controller.bind(&#38;#39;click&#38;#39;, {currentSlideNumber: i}, slideWrapper.methods.switchSlide);
							current_class = &#38;quot;&#38;quot;;
						});
                        var controllerFwd = $(&#38;#39;&#38;lt;span style=&#38;quot;float: left;cursor:pointer;background: none;width: 28px&#38;quot;&#38;gt; next &#38;lt;/span&#38;gt;&#38;#39;).appendTo(controlls);
						controllerFwd.bind(&#38;#39;click&#38;#39;, slideWrapper.methods.nextSlide);

						controlls.width(controlls.width()).css(&#38;#39;float&#38;#39;,&#38;#39;none&#38;#39;);
					}
					return this;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Dude on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-7716</link>
			<pubDate>Tue, 26 Oct 2010 07:48:58 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">7716@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm sorry - I can't to look into this problem as it would take too long.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dane on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-7628</link>
			<pubDate>Mon, 25 Oct 2010 14:38:15 +0000</pubDate>
			<dc:creator>dane</dc:creator>
			<guid isPermaLink="false">7628@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi!!!!&#60;br /&#62;
 Im trying to use this code for the same propose but  didn´t worck.&#60;/p&#62;
&#60;p&#62;Can you help me PLS
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-6278</link>
			<pubDate>Fri, 08 Oct 2010 08:21:38 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">6278@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm not good at javascript coding but you need to bind a function like the following to the next button:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;currentSlideNumber ++;
						if(currentSlideNumber == slideCount) currentSlideNumber = 0;
						slideWrapper.methods.switchSlide();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and something like &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;currentSlideNumber --;
						if(currentSlideNumber == 0) currentSlideNumber = slideCount;
						slideWrapper.methods.switchSlide();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to the previous button.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fortmutj on "Avia Slider Next/Prev buttons"</title>
			<link>http://www.kriesi.at/support/topic/avia-slider-nextprev-buttons#post-6248</link>
			<pubDate>Thu, 07 Oct 2010 20:50:33 +0000</pubDate>
			<dc:creator>fortmutj</dc:creator>
			<guid isPermaLink="false">6248@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I need to have next/previous buttons on the Avia slider, in place of the default click controls. Is there a function within the slider object I can call to advance to the next or previous slide?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
