-3 Removals
+4 Additions

Created by:phpboost

1<script> 1<script>
2<!-- 2<!--
3 jQuery(document).ready(function() { 3 jQuery(document).ready(function() {
4 var nbr_element = jQuery('#mini-gallery-slideshow li').length; 4 var nbr_element = jQuery('#mini-gallery-slideshow li').length;
5 # IF C_HORIZONTAL_SCROLL # 5 # IF C_HORIZONTAL_SCROLL #
6 jQuery('#mini-gallery-slideshow').css('max-width', (nbr_element * 150) + 'px'); 6 jQuery('#mini-gallery-slideshow').css('max-width', (nbr_element * 150) + 'px');
7 # ENDIF # 7 # ENDIF #
8 8
9 # IF NOT C_FADE # 9 # IF NOT C_FADE #
10 setInterval(function(){ 10 setInterval(function(){
11 jQuery("#mini-gallery-slideshow").animate({# IF C_HORIZONTAL_SCROLL #marginLeft:-750# ELSE # marginTop:-150 # ENDIF #},1000,function(){ 11 jQuery("#mini-gallery-slideshow").animate({# IF C_HORIZONTAL_SCROLL #marginLeft:-750# ELSE # marginTop:-150 # ENDIF #},1000,function(){
12 jQuery(this).css({# IF C_HORIZONTAL_SCROLL #marginLeft# ELSE # marginTop # ENDIF #:0}).find("li:last").after(jQuery(this).find("li:first")); 12 jQuery(this).css({# IF C_HORIZONTAL_SCROLL #marginLeft# ELSE # marginTop # ENDIF #:0}).find("li:last").after(jQuery(this).find("li:first"));
13 }) 13 })
14 }, {SCROLL_DELAY}); 14 }, {SCROLL_DELAY});
15 # ELSE # 15 # ELSE #
16 jQuery('#mini-gallery-slideshow li:first').show(); 16 jQuery('#mini-gallery-slideshow li:first').show();
17 setInterval(function() { 17 setInterval(function() {
18 jQuery("#mini-gallery-slideshow li:first").fadeOut(500, function() { 18 jQuery("#mini-gallery-slideshow li:first").fadeOut(500, function() {
19 jQuery('#mini-gallery-slideshow li:last').after($("#mini-gallery-slideshow li:first")); 19 jQuery('#mini-gallery-slideshow li:last').after($("#mini-gallery-slideshow li:first"));
20 jQuery('#mini-gallery-slideshow li:first').fadeIn(2000); 20 jQuery('#mini-gallery-slideshow li:first').fadeIn(2000);
21 }); 21 });
22 }, {SCROLL_DELAY}); 22 }, {SCROLL_DELAY});
23 # ENDIF # 23 # ENDIF #
24 }); 24 });
25--> 25-->
26</script> 26</script>
27<div id="scrolling_images"> 27<div id="scrolling_images">
28 # IF C_STATIC # 28 # IF C_STATIC #
29 # START pics_mini # 29 # START pics_mini #
30 <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> 30 <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>
31 # END pics_mini # 31 # END pics_mini #
32 # ELSE # 32 # ELSE #
33 # IF NOT C_NO_RANDOM_PICS # 33 # IF NOT C_NO_RANDOM_PICS #
34 <ul id="mini-gallery-slideshow" class="# IF C_VERTICAL_SCROLL #vertical# ENDIF ## IF C_FADE #fade# ENDIF ## IF C_HORIZONTAL_SCROLL #horizontal# ENDIF #"> 34 <ul id="mini-gallery-slideshow" class="# IF C_VERTICAL_SCROLL #vertical# ENDIF ## IF C_FADE #fade# ENDIF ## IF C_HORIZONTAL_SCROLL #horizontal# ENDIF #">
35 # START pics_mini # 35 # START pics_mini #
36 <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> 36 <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>
37 # END pics_mini # 37 # END pics_mini #
38 </ul> 38 </ul>
39 # ENDIF # 39 # ENDIF #
40 # ENDIF # 40 # ENDIF #
41 # IF C_NO_RANDOM_PICS # 41 # IF C_NO_RANDOM_PICS #
42 <br /><span class="smaller"><em>{L_NO_RANDOM_PICS}</em></span><br /> 42 <div class="spacer"></div>
43 <span class="smaller"><em>{L_NO_RANDOM_PICS}</em></span>
43 # ENDIF # 44 # ENDIF #
44</div> 45</div>
45<a class="small" href="{PATH_TO_ROOT}/gallery/gallery.php">{L_GALLERY}</a> 46<a class="small" href="{PATH_TO_ROOT}/gallery/gallery.php">{L_GALLERY}</a>
Editor
Original Text
Changed Text
Recommended videos