Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en-US">
- <head>
- <title>Crosby Studios</title>
- <link rel="stylesheet" href="http://localhost:8888/wp-content/themes/crosbystudios/style.css" type="text/css"/>
- <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- /* Get height of .movie thumb preview */
- jQuery(document).ready(function($) {
- $('.movie').each(function() {
- var h = $(this).height();
- console.log(h);
- $(this).find('.movie-center').height(h);
- });
- });
- </script>
- </head>
- <body class="home blog">
- <div id="main">
- <div id="home-latest" class="container movie-archive">
- <article id="movie-97" class="post-97 movie type-movie status-publish hentry"><a href="http://localhost:8888/movies/through-gay-eyes/">
- <div class="movie-center">
- <div class="movie-overlay">
- <div class="movie-play"></div>
- <h2 class="movie-title">Through Gay Eyes</h2>
- </div> <!-- end .movie-overlay -->
- </div> <!-- end .movie-center -->
- <div class="movie-thumb"><img width="480" height="270" src="http://localhost:8888/wp-content/uploads/2014/03/through-gay-eyes-480x270.jpg" class="attachment-movie-thumb wp-post-image" alt="Through Gay Eyes" /></div>
- </a></article> <!-- end #movie-97 -->
- <article id="movie-80" class="post-80 movie type-movie status-publish hentry"><a href="http://localhost:8888/movies/nine-11-the-story-of-us/">
- <div class="movie-center">
- <div class="movie-overlay">
- <div class="movie-play"></div>
- <h2 class="movie-title">Nine 11: The Story of Us</h2>
- </div> <!-- end .movie-overlay -->
- </div> <!-- end .movie-center -->
- <div class="movie-thumb"><img width="480" height="270" src="http://localhost:8888/wp-content/uploads/2014/03/nine-11-480x270.jpg" class="attachment-movie-thumb wp-post-image" alt="Nine 11: The Story of Us" /></div>
- </a></article> <!-- end #movie-80 -->
- <article id="movie-73" class="post-73 movie type-movie status-publish hentry"><a href="http://localhost:8888/movies/hard-truth-levity-and-hope/">
- <div class="movie-center">
- <div class="movie-overlay">
- <div class="movie-play"></div>
- <h2 class="movie-title">Hard Truth, Levity and Hope</h2>
- </div> <!-- end .movie-overlay -->
- </div> <!-- end .movie-center -->
- <div class="movie-thumb"><img width="480" height="270" src="http://localhost:8888/wp-content/uploads/2014/03/truth-levity-hope-480x270.jpg" class="attachment-movie-thumb wp-post-image" alt="Hard Truth, Levity and Hope" /></div>
- </a></article> <!-- end #movie-73 -->
- </div> <!-- end #home-latest -->
- </div> <!-- end #main -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement