How do I create a popup below the visible element?

I am working on replacing window.open () 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 window.open (), 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?

Thank!

+3


source to share


2 answers


Yes:

http://www.google.com/search?q=jquery+tooltips



I personally like this one for your needs: http://jquerytools.org/demos/tooltip/index.html

Again many choose from

+3


source


You are asking what jQuery has already done for you.

http://docs.jquery.com/UI/Dialog



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!

0


source







All Articles