Need Help on Auto Click a link on HTML using Javascript

Posted on 2009-12-30
Last Modified: 2012-05-08
I am using Ibox for poping up the messages to the user. But It only pops up when we click on the link. But I need a procedure where The pop up should come automatically when the page loads. Is there any way to click that link automatically when the page loads. Or is there any way in Ibox itself.?

If you know other than ibox also acceptable.

Please help me...
Question by:Ashok9
    LVL 10

    Accepted Solution

    The reason the popup only appears upon clicking the link is because browsers have really tightened down on popup advertising, which were run without any interaction from the user. I would suggest to provide a big button or something, which persuades users to click it, while notifying them that it will open a popup window.

    I'm quite sure there's no way of triggering a click event without user interaction using JavaScript, as I think I've looked in to this before, sorry.
    LVL 5

    Author Comment

    But I saw many sites which pops up the black box when we go to that site itself.

    There should some way. May be auto click not possible.

    Can you suggest something else for this purpose?
    LVL 81

    Assisted Solution

    LVL 5

    Author Closing Comment

    Thanks for your help
    LVL 81

    Expert Comment

    Thanks for the points! Happy new year!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    746 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

    14 Experts available now in Live!

    Get 1:1 Help Now