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 - >
