ikhasanshin
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Recent Post Thumbnail Slider Widget] mullti-columns and rows layoutwhat about 2 rows? how to do it?
Forum: Plugins
In reply to: [Promotion Slider] mouse over change slideif find ??
// Set click functions for each span in the slider nav var slideNav = $('.slider_selections span', currentSlider); $.each(slideNav, function(index, object){ $(object).click(function(){ clearInterval(sliderInterval); if( !$(object).hasClass('current') ) progress($(object).attr('class'), currentSlider, panelCount); if(autoAdvance) sliderInterval = setInterval(function(){progress('forward', currentSlider, panelCount);}, (timeDelay * 1000)); }); }); // Set active span class to 'current' $('.slider_selections span[class=' + initialPanel + ']', currentSlider).addClass('current'); }
change
$(object).click(function(){
$(object).mouseover(function(){
Forum: Plugins
In reply to: [Promotion Slider] mouse over change slide// Progress to selected panel function progress(value, currentSlider, panelCount){ // Find number of current panel var currentValue = $('div.promo_slider > .panel', currentSlider).index($('div.panel.current', currentSlider)) + 1; var panels = $('.panel', currentSlider); var current = $('.panel.current', currentSlider); panels.stop( true, true ); // Set value of new panel var panelNum; if( value == 'forward' ){ panelNum = current.is( panels.last() ) ? 1: currentValue + 1; } else if(value == 'backward'){ panelNum = current.is( panels.first() ) ? panels.length: currentValue - 1; } else{ panelNum = value; } // Assign variables for ease of use var next = $('.panel-' + panelNum, currentSlider); var currentSpan = $('.slider_selections span.current', currentSlider); var newSpan = $('.slider_selections span.' + panelNum, currentSlider); // Add / Remove classes current.removeClass('current'); next.addClass('current'); currentSpan.removeClass('current'); newSpan.addClass('current'); // Fade in / out next.hide().css({ 'z-index':1 }); current.css({ 'z-index':0 }); next.fadeIn( 200, 'swing', function() { current.hide(); } ); } });
Forum: Plugins
In reply to: [Fullscreen Galleria] One thumbnail, multiple images in phpor
[fsg_link]<div>...</div>[/fsg_link]
Viewing 4 replies - 1 through 4 (of 4 total)