SHARE
TWEET

Untitled

a guest Feb 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript" src="../fancybox2/source/jquery.fancybox.js?v=2.1.0"></script>
  2. <link rel="stylesheet" type="text/css" href="../fancybox2/source/jquery.fancybox.css?v=2.1.0" media="screen" />
  3. <script type="text/javascript">
  4.     $(document).ready(function() {
  5.     $('.fancybox-media').fancybox({
  6.     openEffect  : 'none',
  7.     closeEffect : 'none',
  8.     helpers : {
  9.     media : {}
  10.     }
  11.    });
  12.   });  
  13. </script>
  14.    
  15. <a href="youtube url" class="fancybox-media iframe"><img /></a>
  16.    
  17. $('.fancybox-media').fancybox({
  18.     type : 'iframe',
  19.     // existing stuff  
  20. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top