[datapress] r155 committed - fixed bug in lightbox call that was preventing the lightbox from activ...

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 24, 2011, 10:35:06 AM2/24/11
to datapres...@googlegroups.com
Revision: 155
Author: edward.benson
Date: Thu Feb 24 07:32:03 2011
Log: fixed bug in lightbox call that was preventing the lightbox from
activating
http://code.google.com/p/datapress/source/detail?r=155

Modified:
/trunk/plugin/head-lightbox-library.php

=======================================
--- /trunk/plugin/head-lightbox-library.php Fri Oct 23 08:49:48 2009
+++ /trunk/plugin/head-lightbox-library.php Thu Feb 24 07:32:03 2011
@@ -7,7 +7,7 @@
$overlaystring = "";
foreach ($exhibits_to_show as $exhibit) {
$exhibitid = $exhibit->get('id');
-
$linkstring .= "$('a.exhibit_link_$exhibitid').fancybox({ 'padding':0,
frameWidth': $(window).width()*.9, 'frameHeight': $(window).height()*.9
});\n";
+
$linkstring .= "$('a.exhibit_link_$exhibitid').fancybox({ 'padding':0, 'frameWidth':
$(window).width()*.9, 'frameHeight': $(window).height()*.9 });\n";
$overlaystring .= "cover = $('div[id=cover_$exhibitid]');\n";
$overlaystring .= "teaser = $('div[id=teaser_$exhibitid]');\n";
$overlaystring .= "teaserpos = teaser.position();\n";

Reply all
Reply to author
Forward
0 new messages