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
精彩评论