Changeset 12704


Ignore:
Timestamp:
Dec 8, 2011, 5:09:05 PM (9 years ago)
Author:
patdenice
Message:

Compatibility with RV Thumbnail Scroller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/lightbox.php

    r10078 r12704  
    1212$template->block_html_head('','
    1313<script type="text/javascript">
    14 jQuery(document).ready(function(){
     14function PWG_Colorbox() {
    1515  jQuery("'.$selector.'").attr("href", function () {
    1616    return this.name;   
     
    3333    });
    3434  });
    35 });
     35}
     36jQuery(document).ready(PWG_Colorbox);
     37jQuery(window).bind("RVTS_loaded", PWG_Colorbox);
    3638</script>
    3739', $smarty, $repeat);
Note: See TracChangeset for help on using the changeset viewer.