开发者

Making floating div like jgrowl

I would like to do Floating DIV like JGrowl.The position is right bottom. The DIV must be stick that position whatever I scroll the page开发者_开发百科.

Thanks


The CSS would be very simple for this. You can just do.

#growl {
    position: fixed;
    bottom: 5px;
    right: 5px;
    width: 200px;
    height: 200px;
}

You'd still have to worry about how different browsers handle it. I would just use the jgrowl plugin with the proper option set.


In JGrowl there is option position to control position on screen. Please check jGrowl Options listed on site

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜