How To Make Web Animations with a photo/JPEG background - Putting It All Together
   
Home: Graphic Academy
 
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 Software
  Banner Design Software
CAD Software
Diagram Drawing Software
Illustration Software
Photo Editing Software
Video Conversion Software
More Graphics Software
 
Graphics Tutorials
 
  • Adobe Dreamweaver Tutorials
  • Adobe Photoshop Tutorials
  • AutoCAD Tutorials
  • How To Draw Tutorials
    Banner Design Tutorial
    Banner Display Tutorial
    Color Combinations Tutorial
    Color-Safe Conversion Tutorial
    eBook Covers Tutorial
    Favicon Tutorial
    GIF + Photo Tutorial
    Good Web Design
    Image Slice Tutorial
    Image Tiling Tutorial
    Imagemap Tutorial
    Photography Tutorial
    Prevent Copying Tutorial
    Screenshots Tutorial
    Should I Use Flash?
    Text to Images Tutorial
    Web Image File Formats
    More Graphics Tutorials
  •  
    Graphics Glossary

         
    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!


    Discuss How To Make Web Animations with a photo/JPEG background - Putting It All Together


       

    Please feel free to post your comments:




    Related Pages on this site:
    Related Books:
    • GIF Animation Studio: Animating Your Web Site (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: Animating Your Web Site (Web Studio Series)
       
        
      By Richard Koman

      Released: October 11th, 1996
      Paperback (184 pages)

      Description:
      GIF Animation Studio: Animating Your Web Site (Web Studio Series)
      • Manufacturer: O'Reilly Media
      • ISBN: 1565922301
      • EAN: 9781565922303
      Details:
      • Paperback
      • Edition: 1
      • Number of Pages: 184
      • Author: Richard Koman
      • Publication Date: October 11th, 1996
      • Release Date: October 11th, 1996
      Physical Description:
      • Size: 9.19 Inches by 8.0 Inches by 0.52 Inches
      • Weight: 1.10231131 Pounds
      Click here for more information

      List Price: $39.95*
      Lowest Used Price: $1.97*
      In Stock.*
      *(As of 20:28 Pacific 22 Sep 2020 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 Sandra E. Eddy

      Brand: Wiley
      Released: October 14th, 1997
      Paperback (256 pages)

      Description:
      The GIF Animator's Guide
      • Manufacturer: Wiley
      • Brand: Brand: Wiley
      • ISBN: 155828561X
      • UPC: 785555285613
      • EANs: 0785555285613, 9781558285613
      Details:
      • Paperback
      • Number of Pages: 256
      • Author: Sandra E. Eddy
      • Publication Date: October 14th, 1997
      • Release Date: October 14th, 1997
      Physical Description:
      • Size: 10.019665 Inches by 8.137779 Inches by 0.649605 Inches
      • Weight: 2.14289318664 Pounds
      Features:
      • Used Book in Good Condition
      Click here for more information

      List Price: $39.95*
      Lowest Used Price: $8.33*
      In Stock.*
      *(As of 20:28 Pacific 22 Sep 2020 More Info)

      Buy It Now
       

    Related Software:
    • GIF Animator 5.0

      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 Animator 5.0
       
        
      ULead Systems
      CD-ROM

      Description:
      GIF Animator 5.0
      • Manufacturer: ULead Systems
      • Brand: ULead Systems
      • Model: A38-450-111
      • UPC: 756405012567
      • EAN: 0756405012567
      • PartNumber: A38-450-111
      Details:
      • Format: CD-ROM
      Click here for more information


      Buy It Now
       

    Related Web Sites:
    • Clipart.com (Advert)

      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   
       




       
     
       
     
       
    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

    Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

    Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

    Contact Us     Privacy     Terms Of Use     Advertising/Endorsements Disclosures

    Copyright © 2005-2020, Answers 2000 Limited

    In Association With Amazon.com
    Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
    In Association With Amazon.co.uk
    Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.
    As an Amazon Associate, our company earns from qualifying purchases. Amazon, the Amazon logo, Endless, and the Endless logo are trademarks of Amazon.com, Inc. or its affiliates.



    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.
    CERTAIN CONTENT THAT APPEARS ON THIS SITE,COMES FROM AMAZON EU S. r.l. 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.