try setting the duration to say 5000 milliseconds. 200000000 milliseconds
seems just a touch much.
writehere.set('tween', {duration: '5000'});
On Mon, Nov 2, 2009 at 1:53 PM, hamburger <[email protected]> wrote:
>
> of course i tried a shorter time. all times are ignored.
> Oskar i know you like the mooshell. But there i have security problems
> with json ..
>
> On 2 Nov., 19:48, Aaron Newton <[email protected]> wrote:
> > um. have you tried a shorter duration? like, say, 20 seconds?
> >
> >
> >
> > On Mon, Nov 2, 2009 at 11:30 AM, hamburger <[email protected]> wrote:
> >
> > > That's the problem its not a 5 hour one its change immediately.
> >
> > > On 2 Nov., 19:26, Ryan Florence <[email protected]> wrote:
> > > > Isn't that a 55 hour fade?
> >
> > > > have you watched for at least 5 hours to see that it's fading?
> >
> > > > Ryan Florence
> >
> > > > [Writing TextMate Snippets] (http://blog.flobro.com/)
> >
> > > > On Nov 2, 2009, at 11:21 AM, hamburger wrote:
> >
> > > > > How to make a long fade out and fade in.
> > > > > I have the follwing code. It does everything without fading
> >
> > > > > window.addEvent('domready', function()
> > > > > {
> >
> > > > > var path = 'http://www.opteynde.com/';
> > > > > var writehere = $('jsonText');
> >
> > > > > writehere.set('tween', {duration: '200000000'});
> > > > > writehere.tween('opacity', 0); //fade out
> >
> > > > > //writehere.fade('out');
> >
> > > > > var request = new Request.JSON(
> > > > > {
> > > > > url: path + 'ask.php',
> > > > > onComplete: function(htmlText) {
> > > > > writehere.set('html', htmlText).tween('opacity', 100); //löscht
> > > > > vorhandenes und trägt neues ein.
> > > > > }
> > > > > }).send();
> >
> > > > > });- Zitierten Text ausblenden -
> >
> > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden -
> >
> > - Zitierten Text anzeigen -