I have a thickbox modal window, in which I have embedded a wav file.  
The wav file is being played through the quicktime player plugin.  The 
audio plays fine, but when I open a newly created modal window, more 
often then not, the player doesn't actually show.  Instead I see the 
gray overlay that is behind the modal window.  I ran across a script 
that redraws an element in the window, which supposedly causes the qt 
player to be redrawn.  However, this method doesn't seem to work for 
me.  Has anyone come across this issue before?  If so, how did you 
overcome it?

Here's the code that I tried using without any luck.  I put it down just 
above the </body> tag.

|<script type="text/javascript">
$(document).ready(function() {
  closeButton = document.getElementById("TB_closeWindowButton");
  color = closeButton.style.color;
  closeButton.style.color = "white";
  closeButton.style.color = color;
});
</script>|

I replaced the element ID with one that I was using in my window.

Thanks!
-- 

~Steve
http://goodcf.instantspot.com/blog

Reply via email to