Changeset 7949 for extensions/lightbox/lightbox.php
- Timestamp:
- Nov 30, 2010, 12:20:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lightbox/lightbox.php
r7252 r7949 13 13 <link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css" type="text/css" media="screen"> 14 14 <script type="text/javascript"> 15 $(document).ready(function(){16 $("'.$selector.'").attr("href", function () {15 jQuery(document).ready(function(){ 16 jQuery("'.$selector.'").attr("href", function () { 17 17 return this.name; 18 18 }); 19 $("'.$selector.'").colorbox({19 jQuery("'.$selector.'").colorbox({ 20 20 current: "", 21 21 transition: "'.$params['transition'].'", … … 27 27 }, 28 28 function() { 29 $.post("'.get_root_url().'plugins/lightbox/save_history.php", {29 jQuery.post("'.get_root_url().'plugins/lightbox/save_history.php", { 30 30 imgid: this.id, 31 31 catid: "'.@$page['category']['id'].'",
Note: See TracChangeset
for help on using the changeset viewer.