[web2py] Re: fadeOut response.flash

2012-12-20 Thread Paolo Caruccio
If you are interested you could add this code: var flashBox = jQuery(".flash"), flashTimer; flashBox.click(function(){ if (flashTimer) clearTimeout(flashTimer); flashBox.fadeOut(400, function(){jQuery(".flash").html('')}); }); flashTimer = setTimeout(function(){flashBox.fadeOut

[web2py] Re: fadeOut response.flash

2012-12-20 Thread weheh
Look at the js named "web2py.js" which comes with the scaffolding. The flash function does not fadeout after time. You can add a function to this file (or modify the flash function) to timeout and fadeOut your flash as you choose. On Thursday, December 20, 2012 4:36:25 PM UTC+8, Johann Spies wr

[web2py] Re: fadeOut response.flash

2012-12-20 Thread Paolo Caruccio
Maybe you'll find this discussion useful. Il giorno giovedì 20 dicembre 2012 09:36:25 UTC+1, Johann Spies ha scritto: > > When I log in the flash telling me that I am logged in does not timeout > until I close it. > > I want it t