I’m trying to do a pop up div like the ones that show up when you hover over your username or click the StackExchange words on the top most tool bar on this site.
I’m not asking for the ajax code etc. Just how to position it. I looked at their code using firebug, but they don’t specify a position like x 250 y 500. So how do these guys get it to appear just under the username or StackExchange letters?
Check this fiddle. Does it help?
Actually, you can do it without JavaScript at all, the itea of using javascript is to suspend the
hideof the popup