/[drupal]/contributions/modules/lightbox2/js/auto_image_handling.js
ViewVC logotype

Diff of /contributions/modules/lightbox2/js/auto_image_handling.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.4.26, Thu Jul 23 14:50:09 2009 UTC revision 1.1.4.27, Fri Aug 7 08:53:00 2009 UTC
# Line 1  Line 1 
1  /* $Id: auto_image_handling.js,v 1.1.4.25 2009/07/07 23:31:03 snpower Exp $ */  /* $Id: auto_image_handling.js,v 1.1.4.26 2009/07/23 14:50:09 snpower Exp $ */
2    
3  // Image Node Auto-Format with Auto Image Grouping.  // Image Node Auto-Format with Auto Image Grouping.
4  // Original version by Steve McKenzie.  // Original version by Steve McKenzie.
# Line 131  function lightbox2_init_triggers(classes Line 131  function lightbox2_init_triggers(classes
131              id = $(child).parents("div.block-gallery").attr("id");              id = $(child).parents("div.block-gallery").attr("id");
132              rel = rel_type + "["+ id +"]";              rel = rel_type + "["+ id +"]";
133            }            }
134              download = href;
135          }          }
136    
137    
# Line 173  function lightbox2_init_triggers(classes Line 174  function lightbox2_init_triggers(classes
174              if (link_text.length) {              if (link_text.length) {
175                title_link = "<br /><br /><a href=\"" + orig_href + "\" id=\"node_link_text\" "+ link_target +" >"+ link_text + "</a>";                title_link = "<br /><br /><a href=\"" + orig_href + "\" id=\"node_link_text\" "+ link_target +" >"+ link_text + "</a>";
176              }              }
177              if (download_link_text.length) {              if (download_link_text.length && download) {
178                title_link = title_link + " - <a href=\"" + download + "\" id=\"download_link_text\" target=\"_blank\">" + download_link_text + "</a>";                title_link = title_link + " - <a href=\"" + download + "\" id=\"download_link_text\" target=\"_blank\">" + download_link_text + "</a>";
179              }              }
180              rel = rel + "[" + alt + title_link + "]";              rel = rel + "[" + alt + title_link + "]";

Legend:
Removed from v.1.1.4.26  
changed lines
  Added in v.1.1.4.27

  ViewVC Help
Powered by ViewVC 1.1.2