n00b
public text v1 · immutablevar ex = true;
var fx;
window.addEvent('domready', function(){
fx = new Fx.Elements(['page', 'feature .left'], {duration:500});
});
function toggle()
{
if (ex)
{
fx.start({
'0' : {
'width' : [766, 1024]
},
'1' : {
'width' : [509, 784]
}
});
} else
{
fx.start({
'0' : {
'width' : [1024, 766]
},
'1' : {
'width' : [784, 509]
}
});
}
ex = !ex;
}