Posted By

aleprieto on 01/13/10


Tagged

thickboxjavascriptmodallightbox


Versions (?)

Thickbox hide objects


 / Published in: JavaScript
 

  1. I used a work around for the problem with flash objects displaying over thickbox.
  2.  
  3. In the thickbox.js file I added the lines:
  4.  
  5. $(“object”).hide();
  6. $(“embed”).hide();
  7.  
  8. into the thickbox show function
  9.  
  10. and then added:
  11.  
  12. $(“object”).show();
  13. $(“embed”).show();
  14.  
  15. into the thickbox remove function.
  16.  
  17. Because TB darkens out most of the page, if you design your right, it’s hardly noticable.

Report this snippet  

You need to login to post a comment.