Comments (8)
Needed to re-open. Adding position fixed breaks the ability to nest inside of other divs with the 'ele' option. What I'm thinking I will do is make the position fixed, but use margin-top/margin-left to position the alert inside the 'ele' instead of the top/left/right/bottom properties. This will take a little more work than I expected.
Here's an example I found of what I'm talking about: http://stackoverflow.com/questions/4962266/css-positionfixed-inside-a-positioned-element
from bootstrap-growl.
And what about leaving current implementation as is but when the 'ele' option is set to 'body' the position will be 'fixed' position (instead of 'absolute')?
I don't know about internal things, but it could be a simple fix.
from bootstrap-growl.
That's a good idea! Would keep things simple. I think that's the route I will go, but gimme a day or so to get the fix in.
from bootstrap-growl.
Sure, no problem.
from bootstrap-growl.
Hi-- has the above mentioned fix already been implemented? Thank you for your work.
from bootstrap-growl.
@needcaffeine nope. I'm sorry I was busy around the holiday and completely forgot! Growls should be fixed if ele is "body", otherwise they will be absolute.
from bootstrap-growl.
@ifightcrime Thank you!
from bootstrap-growl.
Thankyou.. setting css position:fixed worked ryt
from bootstrap-growl.
Related Issues (20)
- Dismiss button does not keep URL fragment (hash) HOT 1
- Display several messages at the same time HOT 3
- Make separate offset for top/bottom and left/right
- Random colors for pills sometimes unreadable HOT 1
- bootstrap.js doesn't need to be required HOT 3
- Using from asp.net code behind HOT 1
- Dismiss button (cross) does not work HOT 1
- Not compatible with Glyphicons PRO fonts v1.9 HOT 6
- Fix demo HOT 1
- Cannot install via npm - another module is installed
- It doesn't seem to be responsive HOT 1
- Failing JSHint
- Do not create inline HTML, instead use the relevant jQuery functions
- Add draggable option HOT 1
- Remove Twitter reference
- Suggestion: disallow_dismiss on hover HOT 1
- Bower Release is Outdated
- github.io page needs updating HOT 3
- Disable automatic dismiss HOT 1
- Dismiss all bootstrap-growl manually
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-growl.