<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Velocità dello slider]]></title><description><![CDATA[<p dir="auto">Ho inserito sul mio blog il tema onthego di Elegant Themes e avrei la necessità di modificare la velocità dello slider. Inoltre non vorrei semplicemente modificare la velocità tramite interfaccia grafica ma tramite codice, qualcuno sa quale file è necessario cambiare ?</p>
<p dir="auto">Grazie a tutti</p>
]]></description><link>https://dev.connect.gt/topic/170655/velocità-dello-slider</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 18:15:23 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/170655.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 May 2012 11:33:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Velocità dello slider on Sat, 05 May 2012 21:21:45 GMT]]></title><description><![CDATA[<p dir="auto">Avrei fatto lo stesso anch'io, evidentemente non è quello il file. Con i temi premium non è facile capire come disattivare in parte il loro pannello di controllo e settare dei valori fissi, senza il tema con tutti i suoi file non saprei aiutarti, mi dispiace.</p>
]]></description><link>https://dev.connect.gt/post/1067385</link><guid isPermaLink="true">https://dev.connect.gt/post/1067385</guid><dc:creator><![CDATA[elmanisero]]></dc:creator><pubDate>Sat, 05 May 2012 21:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to Velocità dello slider on Sat, 05 May 2012 16:25:12 GMT]]></title><description><![CDATA[<p dir="auto">Ti ringrazio per la risposta, ti posto il codice in basso, io ho provato a modificare banalmente l'auto speed e ho modificato auto a true, ma nulla, lo slider resta inchiodato sempre alla medesima velocità, consigli ?</p>
<p dir="auto">/* &lt;![CDATA[ */<br />
// et_switcher plugin v2<br />
(function($)<br />
{<br />
$.fn.et_shortcodes_switcher = function(options)<br />
{<br />
var defaults =<br />
{<br />
slides: '&gt;div',<br />
activeClass: 'active',<br />
linksNav: '',<br />
findParent: true, //use parent elements to define active states<br />
lengthElement: 'li', //parent element, used only if findParent is set to true<br />
useArrows: false,<br />
arrowLeft: 'a#prev-arrow',<br />
arrowRight: 'a#next-arrow',<br />
auto: false,<br />
autoSpeed: 5000,<br />
slidePadding: '',<br />
pauseOnHover: true,<br />
fx: 'fade',<br />
sliderType: ''<br />
};</p>
<pre><code>        var options = $.extend(defaults, options);

        return this.each(function()
        {
                            
            var slidesContainer = jQuery(this).parent().css('position','relative'),
                $slides = jQuery(this).css({'overflow':'hidden','position':'relative'}),
                $slide = $slides.find(options.slides).css({'opacity':'1','position':'absolute','top':'0px','left':'0px','display':'none'}),
                slidesNum = $slide.length,
                zIndex = slidesNum,
                currentPosition = 1,
                slideHeight = 0,
                $activeSlide,
                $nextSlide;
            
            if (options.fx === 'slide') {
                $slide.css({'opacity':'0','position':'absolute','top':'0px','left':'0px','display':'block'});
            } else {
                $slide.filter(':first').css({'display':'block'});
            }
            
            if (options.slidePadding != '') $slide.css('padding',options.slidePadding);
            
            $slide.each(function(){
                jQuery(this).css('z-index',zIndex).addClass('clearfix');
                if (options.fx === 'slide') zIndex--;
                
                slideH = jQuery(this).innerHeight();
                if (slideH &gt; slideHeight) slideHeight = slideH;
            });
            
            //check left tabs container height
            if ( slidesContainer.hasClass('tabs-left') ) {
                var leftTabsHeight = slidesContainer.find('ul.et-tabs-control').innerHeight();
                if ( leftTabsHeight &gt; slideHeight ) slideHeight = leftTabsHeight;
            }
            
            slidesContainer.find('.et-learn-more').not('.et-open').find('.learn-more-content').css({'display':'none','visibility': 'visible'});
            
            if ( jQuery.browser.msie ) {
                if ( slidesContainer.hasClass('et-simple-slider') ) $slides.css('height', slideHeight+10);
                else $slides.css('height', slideHeight+40);
            } else {
                $slides.css('height', slideHeight);
            }
            $slides.css('width', $slides.width());
                            
            var slideWidth = $slide.width(),
                slideOuterWidth = $slide.outerWidth();
            
            if ( jQuery.browser.msie &amp;&amp; !slidesContainer.hasClass('et-simple-slider') ) {
                $slide.css('width',slideWidth-22);
            } else {
                $slide.css('width',slideWidth);
            }
            
            $slide.filter(':first').css('opacity','1');
            
            if (options.sliderType != '') {
                if (options.sliderType === 'images') {
                    controllersHtml = '&lt;div class="controllers-wrapper"&gt;&lt;div class="controllers"&gt;&lt;a href="#" class="left-arrow"&gt;Previous&lt;/a&gt;';
                    for ($i=1; $i&lt;=slidesNum; $i++) {
                        controllersHtml += '&lt;a class="switch" href="#"&gt;'+$i+'&lt;/a&gt;';
                    }
                    controllersHtml += '&lt;a href="#" class="right-arrow"&gt;Next&lt;/a&gt;&lt;/div&gt;&lt;div class="controllers-right"&gt;&lt;/div&gt;&lt;/div&gt;';        
                    $controllersWrap = jQuery(controllersHtml).prependTo($slides.parent());
                    jQuery('.controllers-wrapper .controllers').css('width', 65 + 18*slidesNum);
                }
                
                var etimage_width = $slide.width();
    
                slidesContainer.css({'width':etimage_width});
                $slides.css({'width':etimage_width});
                                    
                if (options.sliderType === 'images') {
                    slidesContainer.css({'height':$slide.height()});
                    $slides.css({'height':$slide.height()});
                    
                    var controllers_width = $controllersWrap.width(),
                    leftPosition = Math.round((etimage_width - controllers_width) / 2);
                
                    $controllersWrap.css({left: leftPosition});
                }    
            }
            
            
            if (options.linksNav != '') {
                var linkSwitcher = jQuery(options.linksNav);
                
                var linkSwitcherTab = '';
                if (options.findParent) linkSwitcherTab = linkSwitcher.parent();
                else linkSwitcherTab = linkSwitcher;
                
                if (!linkSwitcherTab.filter('.active').length) linkSwitcherTab.filter(':first').addClass('active');
                                
                linkSwitcher.click(function(){
                    
                    var targetElement;

                    if (options.findParent) targetElement = jQuery(this).parent();
                    else targetElement = jQuery(this);
                    
                    var orderNum = targetElement.prevAll(options.lengthElement).length+1;
                    
                    if (orderNum &gt; currentPosition) gotoSlide(orderNum, 1);
                    else gotoSlide(orderNum, -1); 
                    
                    return false;
                });
            }
            
            
            if (options.useArrows) {
                var $right_arrow = jQuery(options.arrowRight),
                    $left_arrow = jQuery(options.arrowLeft);
                                    
                $right_arrow.click(function(){                
                    if (currentPosition === slidesNum) 
                        gotoSlide(1,1);
                    else 
                        gotoSlide(currentPosition+1),1;
                    
                    if (options.linksNav != '') changeTab();
                                            
                    return false;
                });
                
                $left_arrow.click(function(){
                    if (currentPosition === 1)
                        gotoSlide(slidesNum,-1);
                    else 
                        gotoSlide(currentPosition-1,-1);
                    
                    if (options.linksNav != '') changeTab();
                    
                    return false;
                });
                
            }
            
                            
            function changeTab(){
                if (linkSwitcherTab != '') { 
                    linkSwitcherTab.siblings().removeClass('active');
                    linkSwitcherTab.filter(':eq('+(currentPosition-1)+')').addClass('active');
                }
            }
            
            function gotoSlide(slideNumber,dir){
                if ($slide.filter(':animated').length) return;
            
                $slide.css('opacity','0');
                                                                    
                $activeSlide = $slide.filter(':eq('+(currentPosition-1)+')').css('opacity','1');
                                
                if (currentPosition === slideNumber) return;
                                
                $nextSlide = $slide.filter(':eq('+(slideNumber-1)+')').css('opacity','1');
                                
                if ((currentPosition &gt; slideNumber || currentPosition === 1) &amp;&amp; (dir === -1)) {
                    if (options.fx === 'slide') slideBack(500);
                    if (options.fx === 'fade') slideFade(500);
                } else {
                    if (options.fx === 'slide') slideForward(500);
                    if (options.fx === 'fade') slideFade(500);
                }
                
                currentPosition = $nextSlide.prevAll().length + 1;
                
                if (options.linksNav != '') changeTab();
                
                if (typeof interval_shortcodes != 'undefined' &amp;&amp; options.auto) {
                    clearInterval(interval_shortcodes);
                    auto_rotate();
                }
                                    
                return false;
            }
            
            
            if (options.auto) {
                auto_rotate();
                var pauseSlider = false;
            }
            
            if (options.pauseOnHover) {                 
                slidesContainer.hover(function(){
                    pauseSlider = true;
                },function(){
                    pauseSlider = false;
                });
            }
            
            function auto_rotate(){
                
                interval_shortcodes = setInterval(function(){
                    if (!pauseSlider) { 
                        if (currentPosition === slidesNum) 
                            gotoSlide(1,1);
                        else 
                            gotoSlide(currentPosition+1),1;
                        
                        if (options.linksNav != '') changeTab();
                    }
                },options.autoSpeed);
                
            }
            
            function slideFade(speed){                    
                $activeSlide.css({zIndex: slidesNum}).fadeOut(700);
                $nextSlide.css({zIndex: (slidesNum+1)}).fadeIn(700);
            }
            
            function slideForward(speed){
                $nextSlide.css('left',slideOuterWidth+'px');
                $activeSlide.animate({left: '-'+slideOuterWidth,opacity:0},speed);
                $nextSlide.animate({left: 0,opacity:1},speed);
            }

            function slideBack(speed){
                $nextSlide.css('left','-'+slideOuterWidth+'px');
                $activeSlide.animate({left: slideOuterWidth,opacity:0},speed);
                $nextSlide.animate({left: 0,opacity:1},speed);
            }
            
        });
    } 
})(jQuery);
// end et_switcher plugin v2
    
/////// Shortcodes Javascript ///////
jQuery(document).ready(function($){
    $et_tooltip = $('.et-tooltip');
    $et_tooltip.live('mouseover mouseout', function(event){
        if (event.type == 'mouseover') {
            $(this).find('.et-tooltip-box').animate({ opacity: 'show', bottom: '25px' }, 300);
        } else {
            $(this).find('.et-tooltip-box').animate({ opacity: 'hide', bottom: '35px' }, 300);
        }
    });
    // learn more
    $et_learn_more = $('.et-learn-more .heading-more');
    $et_learn_more.live('click', function() {
        if ( $(this).hasClass('open') ) 
            $(this).removeClass('open');
        else 
            $(this).addClass('open');
        
        $(this).parent('.et-learn-more').find('.learn-more-content').animate({ opacity: 'toggle', height: 'toggle' }, 300);
    });
    
    $('.et-learn-more').not('.et-open').find('.learn-more-content').css( { 'visibility' : 'visible', 'display' : 'none' } );
});
</code></pre>
<p dir="auto">/* ]]&gt; */</p>
]]></description><link>https://dev.connect.gt/post/1067387</link><guid isPermaLink="true">https://dev.connect.gt/post/1067387</guid><dc:creator><![CDATA[misteri]]></dc:creator><pubDate>Sat, 05 May 2012 16:25:12 GMT</pubDate></item><item><title><![CDATA[Reply to Velocità dello slider on Sat, 05 May 2012 15:39:50 GMT]]></title><description><![CDATA[<p dir="auto">Il file è questo epanel/shortcodes/js/et_shortcodes_frontend.js</p>
]]></description><link>https://dev.connect.gt/post/1067383</link><guid isPermaLink="true">https://dev.connect.gt/post/1067383</guid><dc:creator><![CDATA[elmanisero]]></dc:creator><pubDate>Sat, 05 May 2012 15:39:50 GMT</pubDate></item></channel></rss>