www.webdeveloper.com
Results 1 to 3 of 3

Thread: fading out a update message with css/javascript

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    301

    fading out a update message with css/javascript

    hi guys, can someone assist with this?

    if i had a paragraph coded up like this:

    <p id='msg'><strong>Success:</strong> Changes have been saved!</p>

    how would i use CSS/JavaScript/DOM to make the update message fade out and then disappear completely from the screen?

    kinda like how wordpress tells you that a change has occurred and then it fades away and dissapears. i think facebook does this too if you don't click close on messages that appear like after you add a friend?

    if i can't get the fade out effect i'd be happy to just make it disappear after say 3 seconds.

    i don't know how to use jquery but i've been using the other languages for about 10 years

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Aug 2006
    Posts
    301
    Thanks so much Fang, I'll check it out now!

    enjoy the Easter holiday, i know i will.

Thread Information

Users Browsing this Thread

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

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