How to make a auto popup like when MSN shows that someone has logged on

Posted on 2008-11-13
Last Modified: 2013-11-18
Hi guys

How do you make a popup like when msn show you a new message. i know many dating sites have it to show you that you have mail. Does anyone know of a component that can do that? like activex or something like that?

Question by:tim_carter
    LVL 10

    Expert Comment

    You can use a little javascript, html and css to accomplish this.

    Create the look in html/css, then use JavaScript to give it popup functionality from the bottom-right corner of the page which consists of some div tags and a JavaScript timer. Then use an ajax call to a server-side script that will query a database periodically and determine if the popup needs to show or not.

    Your server-side script should return the exact message you need to be displayed in the popup, or if there is no output being returned, then the JavaScript will not initiate the popup.
    LVL 1

    Author Comment

    i know this could be done with a div.. but i have seen some dating sites, actually showing this box even if the browser is minimized. I mean, almost functioning like a part of windows itself.? that cannot be done with a div
    LVL 10

    Accepted Solution

    Perhaps, If you can find an example, let me know. I am curious.

    This kind of popup you talk of would need to be a small java, C, .net, etc.. app running on the computer to work outside from the browser.

    I have seen spyware do this before by installing itself from a browser vulnerability or other means and showing notices in the bottom-right corner that appear to be legit programs.
    LVL 1

    Author Closing Comment


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now