Slimbox not working with Spry Dataset

Hi there,
I'm trying to populate a page with Spry Dataset and use Slimbox2 to show a set of 4 images when a thumbnail is clicked.
The original webpage WITHOUT Spry Dataset is here:
http://shadowmuseum.com/portfolio/p-web.html
Currently it works with just slimbox, but as soon as I add a Spry Dataset, the large images won't load anymore. When a thumbnail is clicked on, it opens the 1st large image of the set in a new page, completely removing the lightbox effect.
I've scouted the internet for solutions; it's been suggested that slimbox doesn't work because spry doesn't have time to load the content first. But I'm not savvy with javascript at all, so have no idea how to work around it....
Any help would be greatly appreciated.
Thanks a lot.
P.S. Below is the HTML code for the page with both spry & slimbox:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/bone.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="keywords" content="Shadow Museum, design, photography, london, web, web design, ana, ana lorraine lui, benjamin, backhouse, E1, E8, N16, graphic design, st martins, creative, agency, bespoke, multi-disciplinary" /><meta name="description" content="London based bespoke multi-disciplinary creative agency. Services include web design, photography, print design, and filmmaking." />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Shadow Museum || London-based bespoke multi-disciplinary creative agency</title>
<script type="text/javascript" src="../zzAssets/scripts/Lightbox/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="../zzAssets/scripts/Lightbox/js/slimbox2.js"></script>
<script src="../zzAssets/scripts/SpryAssets/xpath.js" type="text/javascript"></script>
<script src="../zzAssets/scripts/SpryAssets/SpryData.js" type="text/javascript"></script>
<link rel="stylesheet" href="../zzAssets/scripts/Lightbox/css/slimbox2.css" type="text/css" media="screen" />
<!-- InstanceEndEditable -->
<link href="../zzAssets/scripts/main.css" rel="stylesheet" type="text/css" />
<script src="../zzAssets/scripts/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../zzAssets/scripts/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../zzAssets/scripts/clock/clockp.js"></script>
<script type="text/javascript" src="../zzAssets/scripts/clock/clockh.js"></script>
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">
<!--
var dsWeb = new Spry.Data.XMLDataSet("p-web.xml", "portfolio/project");
dsWeb.setColumnType("info", "html");
//-->
</script>
<!-- InstanceEndEditable --><!-- InstanceParam name="footer" type="boolean" value="true" --><!-- InstanceParam name="clock" type="boolean" value="true" -->
</head>
<body>
<div id="clock_a"></div>
<div id="menu">
  <ul id="mainMenu" class="MenuBarHorizontal">
    <li><a href="../index.html">Home</a>      </li>
    <li><a href="../news/news.html">News</a></li>
    <li><a class="MenuBarItemSubmenu" href="#">About</a>
        <ul>
          <li><a href="../about/our_story.html">Our Story</a></li>
          <li><a href="../about/our_values.html">Our Values</a></li>
        </ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Services</a>
      <ul>
        <li><a href="../services/web_design.html">Web Design</a></li>
        <li><a href="../services/print_design.html">Print Design</a></li>
        <li><a href="../services/photography.html">Photography</a></li>
        <li><a href="../services/filmmaking.html">Filmmaking</a></li>
        </ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Portfolio</a>
      <ul>
        <li><a href="p-web.html">Web Design</a></li>
        <li><a href="p-print.html">Print Design</a></li>
        <li><a href="p-photography.html">Photography</a></li>
        <li><a href="p-filmmaking.html">Filmmaking</a></li>
      </ul>
    </li>
    <li><a href="../contact/contact.html">Contact</a></li>
  </ul>
</div>
<!-- InstanceBeginEditable name="content area" -->
<div id="content">
  <div id="p-web">
    <h2>Web  Portfolio</h2>
     <div class="SpryHiddenRegion" spry:region="dsWeb">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr spry:repeat="dsWeb">
        <td align="center" valign="top">
               <a href="../zzAssets/images/p-web/{pic1}" rel="{label}" title="{title}"><img src="../zzAssets/images/p-web/{thm}" width="180" height="130" /></a>
               <a href="../zzAssets/images/p-web/{pic2}" rel="{label}" title="{title}"></a>
               <a href="../zzAssets/images/p-web/{pic3}" rel="{label}" title="{title}"></a>
               <a href="../zzAssets/images/p-web/{pic4}" rel="{label}" title="{title}"></a>
          </td>
        <td align="left" valign="top">
               <h3>{title}</h3>
               {info}
               <p><a href="http://{url}" target="_blank">{url-label}</a></p>
          </td>
      </tr>
    </table>
     </div>
    <p> </p>
  </div>
</div>
<!-- InstanceEndEditable -->
<div id="footer">
  <div id="watermarkRight">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left" valign="top">©2009 Shadow Museum | Company Number 6576238
          | <a href="../terms.html" class="colourless">Terms &amp; Conditions</a></td>
        <td align="right" valign="top">contact us: <a href="mailto:[email protected]">[email protected]</a></td>
      </tr>
    </table>
  </div>
</div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("mainMenu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
<!-- InstanceEnd --></html>

You are not re-initializing the lightbox library code after Spry have generated the markup.
You can use the Spry region observer onPostUpdate to get notified of region re-generation and recall the initialization code of the lightbox.

Similar Messages

  • IE6 not working with Spry Master Detail

    I cannot get spry to work with IE6. I am most interested in
    this master detail issue (code listed below). I am building this
    for a internal gov't application, and the only browser they allow
    is IE6.
    The spry data set loads, all of the questions show on the
    left hand side, but clicking on the question does nothing. I had
    the same issue with collapsible panels, accordian etc. It works
    fine on Firefox
    Switching to another browser is not an option.
    Click on the question to see the answer.
    -------------------------------------------Code not
    working-----------------------------------------
    <div class="MasterDetail">
    <div spry:region="faq" class="MasterContainer">
    <div class="MasterColumn" spry:repeat="faq"
    spry:setrow="faq" spry:hover="MasterColumnHover"
    spry:select="MasterColumnSelected">{Question}</div>
    </div>
    <div spry:detailregion="faq" class="DetailContainer">
    <div class="DetailColumn">{Answer}</div>
    </div>
    <br style="clear:both" />
    </div>
    <!-- InstanceEndEditable --></div>
    </div>
    <div id="bottom"></div>
    </div>

    Actually, I am using data of type HTML.
    I am also finding that I have no problem running the script
    off of a disk, BUT when I run it off of IIS, there is a problem.
    All other scripts seem to work, so not sure it is a mime
    type.

  • Spry Photo album not working with spry accordion

    I am trying to get a photo album to work in the spry
    accordion - so that each panel you click on the accordion is a new
    photo subject (ie waterfalls, sunsets ect) but it does not work
    well. Both the thumbs and the main picture are visible through all
    the accordion panels instead of the one I put it in. Any ideas why
    it might not work? Would you need to see my code?
    Thanks

    oh, you can see the website at http://redesignsbyava.com

  • FireFox Select List not working with Spry XML Data set.

    I am having a problem with FireFox.  I have a set of related select lists that allows a user to pick a state and then a market.  The work in all browsers except FireFox.  I'm totally stumped.  Here is the link. Any assistance greatly appreciated!
    http://myxpertise.pointinspace.com/create.php
    Thanks,
    Joe

    <span spry:region="dsCities dsStates dsStates" id="citySelector">
         <select spry:repeatchildren="dsCities" id="citySelect" name="citySelect" tabindex="5" >
          <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}" value="{name}" selected="selected" tabindex="5" >{name}</option>
          <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}" value="{name}" tabindex="5" >{name}</option>
        </select>
    that should be a spry:detailregion, and you have a double dsStates
    And when you are using multiple datasets inside a region, it might wise to prefix you template tags with the correct dataset
    {ds_RowNumber} => {dsStates::ds_RowNumber}

  • Is anyone working with large datasets ( 200M) in LabVIEW?

    I am working with external Bioinformatics databasesa and find the datasets to be quite large (2 files easily come out at 50M or more). Is anyone working with large datasets like these? What is your experience with performance?

    Colby, it all depends on how much memory you have in your system. You could be okay doing all that with 1GB of memory, but you still have to take care to not make copies of your data in your program. That said, I would not be surprised if your code could be written so that it would work on a machine with much less ram by using efficient algorithms. I am not a statistician, but I know that the averages & standard deviations can be calculated using a few bytes (even on arbitrary length data sets). Can't the ANOVA be performed using the standard deviations and means (and other information like the degrees of freedom, etc.)? Potentially, you could calculate all the various bits that are necessary and do the F-test with that information, and not need to ever have the entire data set in memory at one time. The tricky part for your application may be getting the desired data at the necessary times from all those different sources. I am usually working with files on disk where I grab x samples at a time, perform the statistics, dump the samples and get the next set, repeat as necessary. I can calculate the average of an arbitrary length data set easily by only loading one sample at a time from disk (it's still more efficient to work in small batches because the disk I/O overhead builds up).
    Let me use the calculation of the mean as an example (hopefully the notation makes sense): see the jpg. What this means in plain english is that the mean can be calculated solely as a function of the current data point, the previous mean, and the sample number. For instance, given the data set [1 2 3 4 5], sum it, and divide by 5, you get 3. Or take it a point at a time: the average of [1]=1, [2+1*1]/2=1.5, [3+1.5*2]/3=2, [4+2*3]/4=2.5, [5+2.5*4]/5=3. This second method required far more multiplications and divisions, but it only ever required remembering the previous mean and the sample number, in addition to the new data point. Using this technique, I can find the average of gigs of data without ever needing more than three doubles and an int32 in memory. A similar derivation can be done for the variance, but it's easier to look it up (I can provide it if you have trouble finding it). Also, I think this funtionality is built into the LabVIEW pt by pt statistics functions.
    I think you can probably get the data you need from those db's through some carefully crafted queries, but it's hard to say more without knowing a lot more about your application.
    Hope this helps!
    Chris
    Attachments:
    Mean Derivation.JPG ‏20 KB

  • I have recently upgraded my iMac Intel G5 iSight to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old sys parts

    I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?

    The sound seems very faint but can here static on playback.

  • My operating system windows XP not working with photoshop cloud, why not?

    I need to add 2 more licences for photoshop cloud and I'm being told my operating system windows XP does not work with Photoshop cloud. We already have 2 pcs using it in our office so why not?
    Please help
    Roy

    Do you have the latest version of iTunes?  If not, get it at:
    http://www.apple.com/itunes

  • Adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Application is not working with mouse

    Dear All,
    We have a strange issue in the our application (Oracle form) in the one of our client machine.
    Some times the forms are not able to work with the mouse but is able to work with the keyboard. After one or two machine restart its again working. When the issue occur we can able to work in other applications using mouse.
    Our Applications server is in Other country and client are accessing from India.
    This occurs for some user and not for all.
    Application server Version          10.1.2.0.2.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Java Plug-in version 1.6.0_31 .
    Please any info will help us lot.

    Thank you for the quick replies Michael Ferrante and HamidHelal.
    But since its occurring for some users (perticulary indian users) and some times. And also its occurring in production environment not in development environment.
    Even the java control panel is not working with mouse.
    For other country customers everything working fine.
    So its difficult for me to apply the patch with these uncertainties.
    Checking with fresh java installation and let you know the status.
    Thanks.

  • Voice Memo is not working with iOS 8.2

    Voice Memo Records is not working with iOS 8.2. how to fix it?

    Voice Memo Records is not working with iOS 8.2. how to fix it?

  • On updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.i cant see menu page on display screen

    on updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.
    i cant see menu page on display screen

    http://support.apple.com/kb/HT1808

  • Caller ID not working with Nokia 6600?

    I have a T-Mobile (US) Nokia 6600, and I can't seem to get address book to display incoming SMS or the caller ID of incoming calls. I've successfully paired the phone via bluetooth, and I can make address book dial the phone and send an sms. I can sync via iSync, use my phone as a modem, etc. etc.
    But regardless of what settings I tweak, I can't seem to get Address Book to show a bezel of any kind on incoming calls - not even an 'Unknown Caller' message! Am I missing something obvious? Third party apps like BluePhoneElite work just fine, so I'm pretty sure it's something wrong with Address Book...
    15" Aluminum Powerbook 1.5 GHz   Mac OS X (10.4.5)  

     
    mdcdsc wrote:
    My caller ID does not work with the new ap either.  I don't like the new ap at all.  The old one was beautiful.  Now my email is very hard to see, so much that I will just use the Apple email that comes with my IPOD.  The caller ID was my favorite thing with the old ap.  and now it doesn't work.  I have followed the instructions and turned everything on, but it just does not work.
    The Caller ID issue was due to an outage. It should be resolved anytime soon. Can yu log out and log back in. Go to app settings and in notifications and turn CAller ID off and on.
    On email - what do you mean 'email is very hard to see' ? I would like to pass on this feedback to the team.

  • Flash player does not work with new ICS Android 4.0.4 OS. Has this problem been addressed?

    Flash player does not work with new ICS Android 4.0.4 OS. Has this problem been addressed? I am using Firefox Beta for android and I also tried just Firefox.

    Please check the Play Store app for any Flash updates and install them if present.

  • Flash player does not work with Ie or Firefox with win 8.1?

    Flash player does not work with Ie or Firefox with win 8.1 64, If i try and play a video I get the message to install Flashplayer.
    If I try and install it it says it is already installed. Your onsite  installer says it is not applicable to my machine.
    I have followed all the normal steps re enabling addons and active filters etc.
    all to no avail Pc is Dell 6 months old, Flashplayer has never worked on this machine. Last MS update mid Dec 2014.
    Version of flashplayer is 15....03.......

    Flash Player is a built-in component of Internet Explorer.  There's nothing separate to download or install.
    Firefox requires a different version of Flash Player (the NPAPI plug-in), which will be served to you if you go here: http://get.adobe.com/flashplayer using Firefox; however, there are some unique stability issues related to Firefox on Win8.1, and you're probably better off using Google Chrome if you want a more optimal experience with Flash Player.
    For problems where IE isn't being detected by sites that require Flash:
    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11

  • My work computer runs Outlook 2003, which I know will not work with the iCloud, so I hard sync.  But then the new info on my iPhone does not backup to iCloud.  Is there a solution?

    I have a Macbook and iPhone and like to back up to iCloud.  However, my work computer runs Outlook 2003, which I know will not work with the iCloud.  The company has no plans to update anytime soon.  Since the calendar and contact list on my office computer are my primay ones, I hard sync through iTunes.  The problem is that any data synced from Outlook 2003 to the iPhone from iTunes does NOT later backup to iCloud.  Is there a solution?

    I have the same problem with Outlook 2003 and Win XP which the multinational organisation I work for standardises on and will probably stay with forever!

Maybe you are looking for

  • How can I import all my gmail contacts into iPad? I use iPad mini and the solutions available on the web are not compatible.

    How can I import all my gmail contacts into iPad? I use iPad mini and the solutions available on the web are not compatible.

  • How to import zip file in Netweaver?

    Hi Experts    When I download any code in zip file from Web Dynpro Sample Applications and Tutorials.   then how can view it and run it. what I do is unzip it put it in my workplace of netweaver. but this give me comilation error like <b>com.sap.tc.w

  • App for Editing Excel/Numbers document while using VGA/iPad/Projector

    Is there an app that will allow you to edit a spreadsheet while it is projected using the VGA adapter with an iPad connected to a projector? For example, you are doing a budget in a meeting room using the iPad and a projector, and you need to change

  • ISE AD group issue

    Dear Team, I am going to deploy cisco ISE (1.2) at one of our customer sites. I am able to join the ISE with Active directory and users are able to authenticate with their Domain login ID. Problem:-  I am not able to retrieve/See the acitve directory

  • Customization on SAVE button

    Hi We have Oracle Applications 11i (11.5.10.2) . I have one query regd. oracle Form customization. For me, it is necessary to put customization logic on SAVE button lying on toolbar. My problem cannot be solved using custom.pll . Can you please give