You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

uncaught exception: Could not find Overlay Created Dec 11, 2009

This thread is solved

Views: 2768     Replies: 1     Last reply Aug 27, 2010  
You must login first before you can use this feature

dfun

Posts: 1

Registered:
Dec 11, 2009

uncaught exception: Could not find Overlay

Posted: Dec 11, 2009

Hi,

I use overlay with flowplayer and flashembed to display video and flash objects on my site.

However, Firebug gave me this error "uncaught exception: Could not find Overlay: #flashLightbox1". #flashLightbox1 is the overlay for flashembed.

Interesting thing is, despite seeing this error in console, the overlay, flowplayer and flashembed all working fine.

I'd like to get rid of this error so it can pass the QA testing. Would anyone shed me some lights please?


<script src="/vgn-ext-templating/multimedia/jquery.tools.min.js" type="text/javascript"></script>

// image trigger
<img class="multimediaImage" rel="#movieLightbox1" 
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>

<img class="multimediaImage" rel="#flashLightbox1" 
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>

<img class="multimediaImage" rel="#movieLightbox2" 
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>

//overlay placeholder
<div id="movieLightbox1" class="simple_overlay">
...
</div>
<div id="flashLightbox1" class="simple_overlay">
...
</div>
<div id="movieLightbox2" class="simple_overlay">
...
</div>

$(document).ready(function() {
  $("img[rel]").each(function() {
    $(this).overlay({expose: '#000'});
  });
}); 

Thanks.

tchepi

Posts: 11

Registered:
Aug 23, 2010

» uncaught exception: Could not find Overlay

Posted: Aug 27, 2010

Reply to: uncaught exception: Could not find Overlay, from dfun
Hi,

Did you ever manage to fix this?

Thanks for sharing your solution.