开发者

A simple jquery dropdown box when clicked

开发者 https://www.devze.com 2023-03-07 13:43 出处:网络
I can\'t find the one I want anywhere, 开发者_运维百科yet it\'s really simple.All I want is a simple jQuery script that when I click on a link, it pops a small div out (over the top of the current pag

I can't find the one I want anywhere, 开发者_运维百科yet it's really simple. All I want is a simple jQuery script that when I click on a link, it pops a small div out (over the top of the current page, not hiding a DIV and sliding it in).

If I've not explained it very well, best think to look at is the notifications popout on Facebook, that's basically what I want.

This is also a good example, except it doesn't seem to work properly when I download the code from here: http://www.awmcreative.com/blog/jquery/jquery-pop-menu/#more-713

Here's an image of what I mean:

A simple jquery dropdown box when clicked

Doesn't matter if it retracts by clicking again, or by moving mouse out of the area.

Cheers.


jQuery UI has this functionality built in.

0

精彩评论

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

关注公众号