Hello everyone. I have a .gif 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.

Recommended Answers

All 3 Replies

jQuery has a fadein function if you are using it. Not to difficult to add it to existing code. Function would look something like:

$(document).ready(function() {
    $('#yourPic').fadeIn(1000);
});

Do I put this right into my HTML?

You also need to have a reference to the JQuery library.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.