First of all: I looked through other posts on stackoverflow and none of them had the information I was looking for.
Second: I'm new to programming ;)
I want to have a div on my website that fades in and fades out text. I've seen this on a few web sites and am pretty sure it is javaScript using the jQuery library.
Does anyone know of a good tutorial, or can tell me how to accomplish this?
The jQuery fadeToggle() method toggles between the fadeIn() and fadeOut() methods. If the elements are faded out, fadeToggle() will fade them in. If the elements are faded in, fadeToggle() will fade them out.
You can use the onload="" HTML attribute and use JavaScript to adjust the opacity style of your element.
i just gave an answer on another question:
Using CSS for fade-in effect on page load
does this answer your question?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With