kst
kst

Reputation: 1518

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

Upvotes: 0

Views: 554

Answers (2)

Bill Criswell
Bill Criswell

Reputation: 32941

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.

Upvotes: 1

Asif Mulla
Asif Mulla

Reputation: 1664

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

Upvotes: 0

Related Questions