Portal Home > Knowledgebase > Articles Database > I guess this is done with css? A message appear and fade away automatically?


I guess this is done with css? A message appear and fade away automatically?




Posted by lexington, 09-05-2008, 01:50 PM
Hello, I would like to have it so if a user clicks a button, a temporary message will appear and then go away automatically. It would be cool if it faded away but if that is too complex it can just disappear. Could you provide a working example? Thanks.

Posted by Madman340, 09-05-2008, 10:51 PM
Do you mean like a windows message box? or just a type of "fake" box?

Posted by lexington, 09-05-2008, 10:56 PM
Not sure what you mean but basically I would like an onclick event where if a user clicks a button a message will temporarily appear and go away. I would like to display messages such as "Page loaded" and stuff like that just for cosmetic reasons.

Posted by kb241, 09-06-2008, 01:41 AM
definitely some type of javascript I would think.

Posted by ThatScriptGuy, 09-06-2008, 01:45 AM
Take a look at jquery. One of the default things it provides is fade/appear transitions..

Posted by yuniar, 09-06-2008, 06:33 AM
Yep, you can use jQuery or Scriptaculous. Both have nice effect library. I prefer jQuery though, very lightweight.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Biggest Reseller (Views: 846)
Steadcom.com down (Views: 668)

Language: