Ignore:
Timestamp:
Nov 30, 2010, 12:20:24 PM (13 years ago)
Author:
patdenice
Message:

Update Colorbox plugin to 1.3.15.
Avoid jQuery conflicts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/lightbox.php

    r7252 r7949  
    1313<link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css" type="text/css" media="screen">
    1414<script type="text/javascript">
    15 $(document).ready(function(){
    16 $("'.$selector.'").attr("href", function () {
     15jQuery(document).ready(function(){
     16jQuery("'.$selector.'").attr("href", function () {
    1717  return this.name;   
    1818});
    19 $("'.$selector.'").colorbox({
     19jQuery("'.$selector.'").colorbox({
    2020  current: "",
    2121  transition: "'.$params['transition'].'",
     
    2727  },
    2828  function() {
    29     $.post("'.get_root_url().'plugins/lightbox/save_history.php", {
     29    jQuery.post("'.get_root_url().'plugins/lightbox/save_history.php", {
    3030      imgid:   this.id,
    3131      catid:   "'.@$page['category']['id'].'",
Note: See TracChangeset for help on using the changeset viewer.