Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Exclamation what program can you use to make a photo transition like this site

    This is kind of a css question but what program could have been used to make the photos appear like this on this website:
    http://85856021.nhd.weebly.com/

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    That website is using flash, which is a very old way of doing simple animations.

    You don't need a program, flash, or jQuery now, you can use CSS animations.

    Code:
    @-webkit-keyframes fade {
        0%   { zoom: 0; }
        100% { zoom: 1; }
    }
    @-moz-keyframes fade {
        0%   { zoom: 0; }
        100% { zoom: 1; }
    }
    @-o-keyframes fade {
        0%   { zoom: 0; }
        100% { zoom: 1; }
    }
    @keyframes fade {
        0%   { zoom: 0; }
        100% { zoom: 1; }
    }
    
    .photo {
        zoom: 0;
        -webkit-animation: fade 5s;
           -moz-animation: fade 5s;
             -o-animation: fade 5s;
                animation: fade 5s;
    }
    Just fiddle around with this and you should get it to go.

    EDIT: I forgot to put "fade" in the keyframes, fixed.
    Last edited by Sammy12; 09-17-2012 at 04:03 AM.

  • Users who have thanked Sammy12 for this post:

    cssmaker (09-17-2012)

  • #3
    New Coder
    Join Date
    Jan 2012
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks will try

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,793
    Thanks
    6
    Thanked 1,022 Times in 995 Posts
    Quote Originally Posted by Sammy12 View Post
    You don't need a program, flash, or jQuery now, you can use CSS animations.
    OK, and now tell me how users of IE 8 and other browsers that aren’t the latest cutting edge version get to enjoy this.

    My philosophy is to help others help themselves. And it’s not good to tell newbies to use experimental features as if it was completely safe and reliable to use them. At least they should be warned (and cssmaker, consider yourself warned) that these are experimental and not ready for real-life applications.

  • #5
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Quote Originally Posted by VIPStephan View Post
    OK, and now tell me how users of IE 8 and other browsers that aren’t the latest cutting edge version get to enjoy this.

    My philosophy is to help others help themselves. And it’s not good to tell newbies to use experimental features as if it was completely safe and reliable to use them. At least they should be warned (and cssmaker, consider yourself warned) that these are experimental and not ready for real-life applications.
    Well the main thing is that the fade in is presentational and is not a vital part of the page.

    He posted this in the CSS forum and I'd rather not go into jQuery as he's probably not interested in learning that right now.

    I linked him to an article that shows the browser support, and quite honestly I think it best he go down a CSS animation road right now.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •