P
Piotr Kaleta
Hi I tried to load asynch. request in that order :
fade in div,
put response into div,
fade out div
problem is i get that order :
response goes into div,
fade in div,
fade out div
what is the problem ?
function sendHermes(param){
var hermes = new Ajax(
kontroler,
{
method: 'GET',
initialize:function(){this.fx = new Fx.Style($
(content),'opacity',
{duration:1000,wait:false});},
data:{sectionaram},
update:$(content),
onRequest:function(){this.fx.start(1,0);},
onComplete:function(){this.fx.start(0,1);}
});
hermes.request();
}
thank you for help
fade in div,
put response into div,
fade out div
problem is i get that order :
response goes into div,
fade in div,
fade out div
what is the problem ?
function sendHermes(param){
var hermes = new Ajax(
kontroler,
{
method: 'GET',
initialize:function(){this.fx = new Fx.Style($
(content),'opacity',
{duration:1000,wait:false});},
data:{sectionaram},
update:$(content),
onRequest:function(){this.fx.start(1,0);},
onComplete:function(){this.fx.start(0,1);}
});
hermes.request();
}
thank you for help