|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
tg.flash documentation and expected behaviorHi all, I've only found this page for the in depth tg.flash doc: http://turbogears.org/2.1/docs/modules/tgflash.html ( and of course, many examples in theses forums and the TG tutorials :) ) What are the differents possible states? And above all, I'm wondering what should be the expected behavior? I was guessing some sort of dhtml fading out notification area on top of the body page... But from the tests I've done, the notification bar is static, is there a way to animate it? Thanks a lot! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: tg.flash documentation and expected behaviorOn Wed, Oct 28, 2009 at 8:51 AM, pipoun <pipoun@...> wrote: > > Hi all, > > I've only found this page for the in depth tg.flash doc: > http://turbogears.org/2.1/docs/modules/tgflash.html > ( and of course, many examples in theses forums and the TG > tutorials :) ) > > What are the differents possible states? Please see http://hg.python-rum.org/WebFlash/file/9b1d215635fc/webflash/webflash.js#l1 > And above all, I'm wondering what should be the expected behavior? I > was guessing some sort of dhtml fading out notification area on top of > the body page... see in your master.html there is a section where the flash is set. > But from the tests I've done, the notification bar is static, is there > a way to animate it? > The default "effect" is pretty simply just a html entry. The effects will be library dependent so you should use whichever toolkit you prefer to do animations. > Thanks a lot! > I have created a ticket for us to work on the docs for it http://trac.turbogears.org/ticket/2400 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: tg.flash documentation and expected behaviorOn Nov 5, 4:21 am, Jorge Vargas <jorge.var...@...> wrote: > On Wed, Oct 28, 2009 at 8:51 AM, pipoun <pip...@...> wrote: > > > Hi all, > > > I've only found this page for the in depth tg.flash doc: > >http://turbogears.org/2.1/docs/modules/tgflash.html > > ( and of course, many examples in theses forums and the TG > > tutorials :) ) > > > What are the differents possible states? > > Please seehttp://hg.python-rum.org/WebFlash/file/9b1d215635fc/webflash/webflash... Thanks for link! I can see a delay parameter in the js implementation, but I haven't found out how to set it with the python flash module. Is it possible? > > > And above all, I'm wondering what should be the expected behavior? I > > was guessing some sort of dhtml fading out notification area on top of > > the body page... > > see in your master.html there is a section where the flash is set. Yup, I've already played with the master examlple, but the flash banner is static. I just would like to know how to close it with a timeout. > > > But from the tests I've done, the notification bar is static, is there > > a way to animate it? > > The default "effect" is pretty simply just a html entry. The effects > will be library dependent so you should use whichever toolkit you > prefer to do animations. Sorry, I'm lacking of knowledge regarding your last sentence. Do you plan to make the effects dependent on external js library? Is it already possible? And above all, would it possible to have a link (or info) that shows how to do that? Thanks again! > > > Thanks a lot! > > I have created a ticket for us to work on the docs for ithttp://trac.turbogears.org/ticket/2400 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: tg.flash documentation and expected behaviorOn Thu, Nov 5, 2009 at 5:06 AM, pipoun <pipoun@...> wrote: > > On Nov 5, 4:21 am, Jorge Vargas <jorge.var...@...> wrote: >> On Wed, Oct 28, 2009 at 8:51 AM, pipoun <pip...@...> wrote: >> >> > Hi all, >> >> > I've only found this page for the in depth tg.flash doc: >> >http://turbogears.org/2.1/docs/modules/tgflash.html >> > ( and of course, many examples in theses forums and the TG >> > tutorials :) ) >> >> > What are the differents possible states? >> >> Please seehttp://hg.python-rum.org/WebFlash/file/9b1d215635fc/webflash/webflash... > > Thanks for link! > I can see a delay parameter in the js implementation, but I haven't > found out how to set it with the python flash module. > Is it possible? > Sorry no idea about that. >> >> > And above all, I'm wondering what should be the expected behavior? I >> > was guessing some sort of dhtml fading out notification area on top of >> > the body page... >> >> see in your master.html there is a section where the flash is set. > > Yup, I've already played with the master examlple, but the flash > banner is static. I just would like to know how to close it with a > timeout. > Because this is outside the scope of the project. webflash shouldn't do "fancy" effects. That is why the code is in your project and not buried inside the framework. What you want can be done very simple with a JS library like jquery http://docs.jquery.com/Effects/fadeOut >> >> > But from the tests I've done, the notification bar is static, is there >> > a way to animate it? >> >> The default "effect" is pretty simply just a html entry. The effects >> will be library dependent so you should use whichever toolkit you >> prefer to do animations. > > Sorry, I'm lacking of knowledge regarding your last sentence. Do you > plan to make the effects dependent on external js library? Is it > already possible? > And above all, would it possible to have a link (or info) that shows > how to do that? > Think of it from a framework perspective, what is the right effect? why should we normalize on one? why wil the framework force you on using a JS library? > Thanks again! > >> >> > Thanks a lot! >> >> I have created a ticket for us to work on the docs for ithttp://trac.turbogears.org/ticket/2400 >> >> >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |