Hide flash movie - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:hide

Description

Hide flash movie

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body>
   ... //  ww w .  j  ava  2s .co m
  <script src="https://code.jquery.com/jquery-1.5.2.min.js"></script> 
  <script>
  $(document).ready(function(){
   var flash_time = 5000;//in ms
   $('#flash').delay(flash_time).hide();
   $('#cont').delay(flash_time).show();
  });
 
      </script> 
  <div id="cont" style="display:none;">
    ...content... 
  </div> 
  <div id="flash" style="width:100%;height:100%;">
    ...embed... 
  </div>  
 </body>
</html>

Related Tutorials