i am using devise with my current app and I have customised the css so the flash alerts/notices appear in a box i created with css.
What i would like to do is have the option to close the div box by clicking an x in the top right hand corner. Ive done some reading and can see that this is achievable with Jquery, however my jquery skills are at novice level at present..
Has anyone done this within a rails app using devise?
Any help appreciated
You can put together a simple ‘close’ function using jquery.
Try this. I think its what you are after.
http://jsfiddle.net/ollie/FNXVX/1/