Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-02-28 22:14
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>