Posted By

dottDesign on 02/23/11


Tagged

textmate html Lightbox jqueryjavascript fancybox


Versions (?)

FacnyBox with Video (files required)


 / Published in: Other
 

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3.  
  4. <html lang="en">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <title>Fancybox With Vdeo</title>
  8. <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
  9. <script type="text/javascript" src="js/jquery.pngFix.pack.js"></script>
  10. <script type="text/javascript" src="js/jquery.fancybox-1.0.0.js"></script>
  11.  
  12. <script type="text/javascript" src="js/swfobject.js"></script>
  13.  
  14.  
  15. <script type="text/javascript">
  16. $(document).ready(function() {
  17. $("a[@rel*=fancyvideo]").fancybox({
  18. overlayShow: true
  19. });
  20. });
  21. </script>
  22.  
  23. <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" type="text/javascript"></script>
  24. <script type="text/javascript">
  25. var jQuery_1_3_1 = $.noConflict(true);
  26. </script>
  27.  
  28. </head>
  29. <body>
  30. <p><a href="http://www.videolink.com" rel="fancyvideo"><img src="http://www.imagelocation.jpg"></a></p>
  31. </body>
  32. </html>
  33.  

Report this snippet  

You need to login to post a comment.