in orkut, as soon as i recieve a scrap i get a rounded box at the corner of page, irrespective of at which page of orkut i am. It is for sure that orkut doesnt check again and again for a scraps. Same is in the case of a shoutbox and some email services. Can somebody tell me how to do it?
when the database of scraps get a new scrap for you then and only then it will inform a middleware that is has to alert you, and then it put a javascript box telling it to you. It is called database trigger.