PDA

View Full Version : Load a page automatically with ajax request



eoeoeo
03-26-2010, 04:40 AM
Hello,

I'm trying to create an ajax request that loads a page into a div and checks it periodically. (ex: every 2 seconds)

Until this point it is easy to do it with jquery or prototype but I also want the ajax request to highlight (or simply apply an effect) if new content is added.

Basically what I'm trying to do is similar to twitter that shows a notification if there are new posts added after you've opened the page.

Can you please help me with that? Hope I could have explained.

Thanks.

vinnie
03-29-2010, 01:32 AM
With JQuery you could try Fadein, it has some options to work with colors i dunno if this thread is still alive so let me know for help you :)