www.webdeveloper.com
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2011
    Posts
    80

    resolved [RESOLVED] Make image fade in

    Hello everyone. I have an image that I would like to put on a opening web page. I would like to make it fade in when a person first comes to the web site. I know it can be done in flash but never used it. can some one help me.
    Attached Images

  2. #2
    Join Date
    Sep 2006
    Location
    new york
    Posts
    215

    Need more than HTML

    Since your logo is a GIF, a "poor man's approach" was to open logo in Photoshop. Had to change image.MODE from Index (GIF) to RGB for Window>ANIMATION, wherein created several frames at different opacity settings repeated ONCE to get fade-in effect. Then File>Save for Web and Devices as animated GIF.

    The "Enter" under image is sort of thing one would have to start a FLASH SWF movie. I would definitely eliminate this from your logo image and instead use HTML text <h1>Enter</h1> or <p></p> for appropriate link under logo image.

    Searching for fade-in image brought up several examples involving JavaScript.-- such as jQuery http://api.jquery.com/fadeIn/ In a 2005 Dynamic Drive post http://www.dynamicdrive.com/forums/s...ead.php?t=6439, John Davenport Scheuer said "That cannot be done just using HTML. With a some JavaScript, it can be done, though not all browsers will support the effect and none will without JavaScript enabled."

    And CSS3 transitions (which I have not yet implemented myself) are another option. See for instance http://hugoware.net/blog/using-css-transitions or http://bavotasan.com/2011/a-simple-fade-with-css3/ or http://www.htmlgoodies.com/beyond/cs...mple-code.html or http://css-tricks.com/forums/discuss...ages-onload/p1

    I did not search for HYML5 possibilities, but do not think HTML can do it. Am I wrong?
    Attached Images
    Last edited by auntnini; 06-06-2012 at 06:18 PM.

  3. #3
    Join Date
    Nov 2011
    Posts
    80
    What program did you use in this screen shot.

  4. #4
    Join Date
    Sep 2006
    Location
    new york
    Posts
    215

    Adobe Photoshop to create

    Photoshop's Windows> ANIMATION to create frames (each with different opacity setting). I'm used to the old way. I believe there are different options now, such as a timeline.

    You could used other programs, such as Fireworks, ton create animated GIF.

    For the screen shot on MAC, Cmd-Shift-3 for automatic view of whole screen;
    Cmd-Shift-4 and drag cross-hairs for shot of selected area.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

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



Recent Articles