How do I create a popup below the visible element?

I am working on replacing () notification system and think I can implement this with javascript.

Now I have a link that, when clicked, triggers an ajax request. The answer now appears in the popup (), but instead I want it to be a div that the user can close by clicking on it. A pop-up window should appear under the link, just some kind of hint.

Can I get pointers on how to do this, or (jquery) scripts that do something like this?



source to share

2 answers


I personally like this one for your needs:

Again many choose from



You are asking what jQuery has already done for you.

It's simple and easy to use! Feel free to ask me any questions if you don't understand the plugin :)

Actually, after reading your comment, the tooltip is really what you are looking for. So pay tribute to our comrade!



All Articles