开发者

How do you add an inline popup menu like Facebook's "hide story" menu?

How can I create a simple popup menu开发者_JS百科 like Facebook's "hide story" popup using jquery? Is there a plugin that handles this functionality?

Here's an example:

How do you add an inline popup menu like Facebook's "hide story" menu?

UPDATE

I ended up adapting the following blog post to work: Facebook Style CSS JQuery drop down menus


All CSS with relative and absolute positioning.

Example: http://jsfiddle.net/maniator/c36Gq/


Here is one with a little javascript added on: http://jsfiddle.net/maniator/fRvs9/


How about http://jqueryui.com/demos/dialog/?


$("#click_button").click(function(){
    $("<div/>", {style:'position:relative;background-color:navy;border:1px solid blue;width:150px;top:150px;'}).html('hello').appendTo('body')
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜