Thickbox hide objects


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.