-3 Removals
+4 Additions
<script> <script>
<!-- <!--
jQuery(document).ready(function() { jQuery(document).ready(function() {
var nbr_element = jQuery('#mini-gallery-slideshow li').length; var nbr_element = jQuery('#mini-gallery-slideshow li').length;
# IF C_HORIZONTAL_SCROLL # # IF C_HORIZONTAL_SCROLL #
jQuery('#mini-gallery-slideshow').css('max-width', (nbr_element * 150) + 'px'); jQuery('#mini-gallery-slideshow').css('max-width', (nbr_element * 150) + 'px');
# ENDIF # # ENDIF #
# IF NOT C_FADE # # IF NOT C_FADE #
setInterval(function(){ setInterval(function(){
jQuery("#mini-gallery-slideshow").animate({# IF C_HORIZONTAL_SCROLL #marginLeft:-750# ELSE # marginTop:-150 # ENDIF #},1000,function(){ jQuery("#mini-gallery-slideshow").animate({# IF C_HORIZONTAL_SCROLL #marginLeft:-750# ELSE # marginTop:-150 # ENDIF #},1000,function(){
jQuery(this).css({# IF C_HORIZONTAL_SCROLL #marginLeft# ELSE # marginTop # ENDIF #:0}).find("li:last").after(jQuery(this).find("li:first")); jQuery(this).css({# IF C_HORIZONTAL_SCROLL #marginLeft# ELSE # marginTop # ENDIF #:0}).find("li:last").after(jQuery(this).find("li:first"));
}) })
}, {SCROLL_DELAY}); }, {SCROLL_DELAY});
# ELSE # # ELSE #
jQuery('#mini-gallery-slideshow li:first').show(); jQuery('#mini-gallery-slideshow li:first').show();
setInterval(function() { setInterval(function() {
jQuery("#mini-gallery-slideshow li:first").fadeOut(500, function() { jQuery("#mini-gallery-slideshow li:first").fadeOut(500, function() {
jQuery('#mini-gallery-slideshow li:last').after($("#mini-gallery-slideshow li:first")); jQuery('#mini-gallery-slideshow li:last').after($("#mini-gallery-slideshow li:first"));
jQuery('#mini-gallery-slideshow li:first').fadeIn(2000); jQuery('#mini-gallery-slideshow li:first').fadeIn(2000);
}); });
}, {SCROLL_DELAY}); }, {SCROLL_DELAY});
# ENDIF # # ENDIF #
}); });
--> -->
</script> </script>
<div id="scrolling_images"> <div id="scrolling_images">
# IF C_STATIC # # IF C_STATIC #
# START pics_mini # # START pics_mini #
<a href="{pics_mini.U_PICS}#pics_max"><img src="{pics_mini.PICS}" alt="{pics_mini.NAME}" width="{pics_mini.WIDTH}" height="{pics_mini.HEIGHT}" /></a> <a href="{pics_mini.U_PICS}#pics_max" title="{pics_mini.NAME}"><img src="{pics_mini.PICS}" alt="{pics_mini.NAME}" width="{pics_mini.WIDTH}" height="{pics_mini.HEIGHT}" /></a>
# END pics_mini # # END pics_mini #
# ELSE # # ELSE #
# IF NOT C_NO_RANDOM_PICS # # IF NOT C_NO_RANDOM_PICS #
<ul id="mini-gallery-slideshow" class="# IF C_VERTICAL_SCROLL #vertical# ENDIF ## IF C_FADE #fade# ENDIF ## IF C_HORIZONTAL_SCROLL #horizontal# ENDIF #"> <ul id="mini-gallery-slideshow" class="# IF C_VERTICAL_SCROLL #vertical# ENDIF ## IF C_FADE #fade# ENDIF ## IF C_HORIZONTAL_SCROLL #horizontal# ENDIF #">
# START pics_mini # # START pics_mini #
<li><a href="{pics_mini.U_PICS}#pics_max"><img src="{pics_mini.PICS}" alt="{pics_mini.NAME}" width="{pics_mini.WIDTH}" height="{pics_mini.HEIGHT}" /></a></li> <li><a href="{pics_mini.U_PICS}#pics_max" title="{pics_mini.NAME}"><img src="{pics_mini.PICS}" alt="{pics_mini.NAME}" width="{pics_mini.WIDTH}" height="{pics_mini.HEIGHT}" /></a></li>
# END pics_mini # # END pics_mini #
</ul> </ul>
# ENDIF # # ENDIF #
# ENDIF # # ENDIF #
# IF C_NO_RANDOM_PICS # # IF C_NO_RANDOM_PICS #
<br /><span class="smaller"><em>{L_NO_RANDOM_PICS}</em></span><br /> <div class="spacer"></div>
<span class="smaller"><em>{L_NO_RANDOM_PICS}</em></span>
# ENDIF # # ENDIF #
</div> </div>
<a class="small" href="{PATH_TO_ROOT}/gallery/gallery.php">{L_GALLERY}</a> <a class="small" href="{PATH_TO_ROOT}/gallery/gallery.php">{L_GALLERY}</a>
Editor
Original Text
Changed Text