[web2py] Re: dynamic notifications

2010-10-07 Thread Martin.Mulone
great!. Multiple notification are awesome. On 6 oct, 23:18, mdipierro wrote: > You may want to change web2py_ajax.html and replace > > if(jQuery('.flash').html()!='') jQuery('.flash').slideDown('slow'); > ... > if(flash) jQuery('.flash').html(flash).slideDown(); > > with > > if(jQuery('.flash').h

[web2py] Re: dynamic notifications

2010-10-06 Thread mdipierro
You may want to change web2py_ajax.html and replace if(jQuery('.flash').html()!='') jQuery('.flash').slideDown('slow'); ... if(flash) jQuery('.flash').html(flash).slideDown(); with if(jQuery('.flash').html()!='') jQuery.jGrowl(jQuery('.flash').html()); ... if(flash) jQuery.jGrowl(flash); so thi

[web2py] Re: dynamic notifications

2010-10-06 Thread Richard
> Can you write a recipe? Probably not necessary because it's just $.jGrowl("Hello world!")

[web2py] Re: dynamic notifications

2010-10-06 Thread Richard
nice What would you do when you have multiple notifications to display? jgrowl stacks them. On Oct 7, 1:02 pm, mdipierro wrote: > The built-in system allows notifications not just on load. You just > say > > jQuery('.flash').val('Hi there').slideDown(); > > On Oct 6, 8:23 pm, Richard wrote: >

Re: [web2py] Re: dynamic notifications

2010-10-06 Thread Bruno Rocha
I think one of JGrow advantage is that you can open more than one flash message at the same time. 2010/10/6 mdipierro > The built-in system allows notifications not just on load. You just > say > > jQuery('.flash').val('Hi there').slideDown(); > > On Oct 6, 8:23 pm, Richard wrote: > > I have be

[web2py] Re: dynamic notifications

2010-10-06 Thread mdipierro
The built-in system allows notifications not just on load. You just say jQuery('.flash').val('Hi there').slideDown(); On Oct 6, 8:23 pm, Richard wrote: > I have been using jGrowl for notifications instead of the default > response.flash:http://stanlemon.net/projects/jgrowl.html > Main advantage