PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Nitesh Apte   YouTube Trailer   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: index page
Class: YouTube Trailer
Search and embed movie trailers from YouTube
Author: By
Last change:
Date: 14 years ago
Size: 810 bytes
 

Contents

Class file image Download
<html>
<title>YouTube trailer</title>
<head>

 
<script type="text/javascript" src="js/jquery.js"></script>

<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.2.6.css" media="screen" />
    <script type="text/javascript" src="js/fancybox/jquery.fancybox-1.2.6.js"></script>


    <script type="text/javascript">
        $(document).ready(function() {
            $("a.zoom").fancybox();

            $("a.zoom1").fancybox({
                'overlayOpacity' : 0.7,
                'overlayColor' : '#000'
            });

            $("a.zoom2").fancybox({
                'zoomSpeedIn' : 500,
                'zoomSpeedOut' : 500
            });
        });
    </script>
    </head>
<a href="movietrailer.php?movie=Zombieland&year=2009" style="text-decoration:none" class="zoom1"><font color="#1E67A8" title="Click to watch trailer of 'Zombieland'">Zombieland</font></a>