Ignore:
Timestamp:
Dec 9, 2011, 2:24:32 PM (12 years ago)
Author:
patdenice
Message:

Clean code

Location:
extensions/GThumb/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/template/gthumb.css

    r12691 r12710  
    11#thumbnails {
    2   padding: 0;
    3   width:auto;
    4   overflow:hidden;
     2  overflow: hidden;
    53}
    64
    75#thumbnails li {
    86  position: relative;
    9   overflow:hidden;
     7  overflow: hidden;
    108  float: left;
    119  display: inline;
     
    1816
    1917.thumbnail, .thumbnail:hover {
    20   border: 0 none;
     18  border: 0 none !important;
     19  margin: 0 !important;
     20  padding: 0 !important;
    2121}
  • extensions/GThumb/template/gthumb.tpl

    r12705 r12710  
    1010
    1111{combine_css path="plugins/GThumb/template/gthumb.css"}
    12 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js'}
    13 {combine_script id='jquery.ba-resize' path='plugins/GThumb/js/jquery.ba-resize.min.js'}
    14 {combine_script id='gthumb' require='jquery,jquery.ajaxmanager,jquery.ba-resize' path='plugins/GThumb/js/gthumb.js'}
     12{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load="footer"}
     13{combine_script id='jquery.ba-resize' path='plugins/GThumb/js/jquery.ba-resize.min.js' load="footer"}
     14{combine_script id='gthumb' require='jquery,jquery.ajaxmanager,jquery.ba-resize' path='plugins/GThumb/js/gthumb.js' load="footer"}
    1515
    1616{footer_script require="gthumb"}
     
    2424{/if}
    2525
    26 GThumb.build('#thumbnails');
    27 $(window).bind('RVTS_loaded', function() {ldelim} GThumb.build('#thumbnails'); });
     26GThumb.build();
     27jQuery(window).bind('RVTS_loaded', GThumb.build);
     28jQuery('#thumbnails').resize(GThumb.process);
    2829{/footer_script}
    2930
Note: See TracChangeset for help on using the changeset viewer.