Changeset 14986 for extensions/Shadogo/trunk/libs/mediaboxAdvanced
- Timestamp:
- May 15, 2012, 12:50:20 PM (12 years ago)
- Location:
- extensions/Shadogo/trunk/libs/mediaboxAdvanced
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Shadogo/trunk/libs/mediaboxAdvanced/index.php
r10016 r14986 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Piwishadow - plugin for piwigo, a PHP based photo gallery|3 // | Shadogo - plugin for piwigo, a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 5 // | Copyright(C) 2010-2011 BinaryWorld http://binaryworld.hd.free.fr | -
extensions/Shadogo/trunk/libs/mediaboxAdvanced/mediaboxAdv-1.3.4b.js
r10016 r14986 235 235 params[keyValue[0].trim()] = (keyValue.lenght == 1) ? true : keyValue[1].trim(); 236 236 } 237 params["el"] = el; 237 238 // parse: lightbox[gallery_name width height] 238 239 elrel = mediaboxRel.split(/[\[\]]/); 239 240 elrel = elrel[1]; 240 241 // [VB] add optional params at the end of the array 241 return [el.href, el.title, elrel, params]; 242 //return [el.href, el.title, elrel, params]; 243 return [el.get('href'), el.title, elrel, params]; 242 244 }; 243 245 … … 438 440 var fav = (images[activeImage][3]["fav"] == 0) ? 1 : 0; 439 441 images[activeImage][3]["fav"] = fav; 442 var el = images[activeImage][3]["el"]; 443 // "lightbox[pscontent 80% 80%];id=3;fav=1" 444 el.rel = el.rel.replace(/fav=(0|1)/gi,"fav="+fav) 440 445 favoriteLink.className = ''; 441 446 favoriteLink.set('html', options.text[6 + fav]);
Note: See TracChangeset
for help on using the changeset viewer.