How To Make Web Animations with a photo/JPEG background - Putting It All Together
   
Home
 
Graphics Books
 
Graphics File Formats
  Animation File Formats
Bitmap File Formats
CAD File Formats
Cursor File Formats
Font File Formats
Icon File Formats
Metafile File Formats
Prepress File Formats
Vector File Formats
Video File Formats
Web File Formats
More Graphics File Formats
 
Graphics Glossary
 
Graphics Software
  Adobe Dreamweaver
Adobe Fireworks
Adobe Flash
Adobe Illustrator
Adobe Photoshop
AutoCAD
CorelDRAW
Corel Paint Shop Pro
Microsoft Visio
More Graphics Software
 
Graphics Tutorials
 
  • Adobe Dreamweaver Tutorials
  • Adobe Photoshop Tutorials
    Banner Design Tutorial
    Banner Display Tutorial
    Color Combinations Tutorial
    Color-Safe Conversion Tutorial
    Favicon Tutorial
    eBook Covers Tutorial
    GIF + Photo Tutorial
    Image Slice Tutorial
    Image Tiling Tutorial
    Imagemap Tutorial
    Photography Tutorial
    Prevent Copying Tutorial
    Screenshots Tutorial
    Text to Images Tutorial
    More Graphics Tutorials

  • Advertisement
     
    Learn PhotoShop Now


    Click here
     
         
    GraphicsAcademy.com  >  Tutorials  >  Web Animations with a photo background  >  Chapter 3

    How To Make Web Animations With A Photo Background

    Chapter 3: Putting It All Together

    Now we're done let's put the whole thing together using an HTML table.

    Here's the code that I plan to use:

    <TABLE WIDTH="300" COLS="3" CELLPADDING="0" CELLSPACING="0" BORDER="0" RULES="NONE">
    <TR>
    <TD WIDTH="190" BACKGROUND="earthrisel.jpg" ALIGN="CENTER" VALIGN="MIDDLE"><IMG SRC="buglegs.gif" WIDTH="113" HEIGHT="114" BORDER="0"></TD>
    <TD WIDTH="10"><IMG SRC="earthrisec.jpg" WIDTH="10" HEIGHT="225" BORDER="0"></TD>
    <TD WIDTH="100" BACKGROUND="earthriser.jpg" ALIGN="CENTER" VALIGN="MIDDLE"><IMG SRC="snorkel3.gif" WIDTH="59" HEIGHT="162" BORDER="0"></TD>
    </TR>
    </TABLE>


    If you look at the code carefully you can see what's going on:
    (If you don't understand HTML then get yourself a good HTML Tutorial).
    • I've created a table which is 300 pixels wide. This is deliberately the same width as my original earthrise.jpg background.

    • Within the table, I've created a three cells laid out in a row. This is so each cell can accommodate one of the three segments from earthrise.jpg that I created in the previous chapter.

    • The first cell in the row is 190 pixels wide, the same width as earthrisel.jpg. I've also set earthrisel.jpg as the background for that cell, and then centered the buglegs.gif animation on of it.

    • The second cell in the row is 10 pixels wide, the same width as earthrisec.jpg. In this case, I've placed earthrisec.jpg as an image within the cell, specifying its width and height (10 and 225 pixels respectively).

      Creating at least one cell like this, with a segment of the background as cell contents (rather than as a cell's background) is essential because it ensures the whole table will be made high enough to fit in the whole of the background. This is because the height of the table row is determined by the height of the tallest item in the row (so if earthrisec.jpg had been placed in the background of this cell, the row would be the larger of the heights of buglegs.gif and snorkel3.gif, namely 200 pixels, which would result in our 225 pixel high background being truncated at the bottom).

    • The third cell in the row is 100 pixels wide, the same width as earthriser.jpg. I've also set earthriser.jpg as the background for that cell, and then centered the snorkel3.gif animation on of it.
    So what does the finished result look like?

    Let's take a look:


    I'm pretty happy with that!



    Related Books:
    • GIF Animation Studio (Web studio series)

      Disclosure: Products details and descriptions provided by Amazon.com. Our company may receive a payment if you purchase products from them after following a link from this website.
       
      GIF Animation Studio (Web studio series)
       
        
      By Richard Koman

      O'Reilly
      Paperback (184 pages)

      Product Description:
      GIF animation is bringing the Web to life -- without plug-ins, Java programming, or expensive authoring tools. This book details the major GIF animation programs, profiles work by leading designers (including John Hersey, Razorfish, Henrik Drescher, and Erik Josowitz), and documents advanced animation techniques. A CD-ROM includes freeware and shareware authoring programs, demo versions of commercial software, and the actual animation files described in the book.

      List Price: $39.95*
      Lowest New Price: $19.95*
      Lowest Used Price: $0.01*
      *(As of 03:20 Pacific 12 Mar 2010 More Info)

      Buy It Now
       


    • The Gif Animator's Guide

      Disclosure: Products details and descriptions provided by Amazon.com. Our company may receive a payment if you purchase products from them after following a link from this website.
       
      The Gif Animator s Guide
       
        
      By Sandy Eddy Schnyder

      MIS-Press
      Paperback (322 pages)

      Product Description:
      With easy step-by-step instructions for desktop applications including Paint Shop Pro and Photoshop, this book will teach you how to create and edit GIF89a animations to enhance your Web site. Whether you are a beginner or experienced Web developer, it will answer your questions about creating and animating GIFs.

      The GIF Animator's Guide is designed both to be easy to use and to provide all the important information about creating good-looking graphics and animations using a variety of popular programs -- freeware, shareware, and commercial -- for both Windows and Mac computers. The book includes valuable information about animation, computer graphics, and GIF standards so that you can easily create animations for your Web page.

      You'll also learn how to optimize animations by using the 216-color palette, planning for transparency, offsetting images, and setting time delay.

      The CD bundled with The GIF Animator's Guide includes Microsoft GIF Animator, Paint Shop Pro, GIF Construction Set, GIFBuilder, Ulead GIF Animator, and save-disabled versions of Photoshop 4 and Illustrator 7. It also includes a large gallery of unique and copyright-free GIF animations that you can plug into your own Web pages.

      List Price: $39.95*
      Lowest New Price: $10.02*
      Lowest Used Price: $0.25*
      *(As of 03:20 Pacific 12 Mar 2010 More Info)

      Buy It Now
       


    Related Software:
    • Artful GIF Animator (Advert)
      Create from scratch, import from AVI, edit and optimize your animated GIF images to develop animations for web sites. Drag and drop JPEG, BMP, GIF, ICO and even AVI files into the program and then edit and preview frames on the fly - while you are editing a frame, it animates the resulting picture. Tune up the individual position and edit the color palette for each frame, optimize animated GIFs with five different color reduction methods.

    Related Web Sites:
    • Clipart.com
      Our subscription-based service provides access to more than 2.6 million clipart images, photos, fonts, and sounds.



      
    How To Make Web Animations With A Photo Background:
     
     
      << PreviousIntroduction   1   2   3   
       
     
       
     
    With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

    Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

    Privacy     Terms Of Use     Advertising/Endorsements Disclosures

    Copyright © 2005-2009, Answers 2000 Limited

    In Association With Amazon.com
    CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.

    All trademarks are property of their respective owners.
    All third party content and adverts are copyright of their respective owners.

    Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service.