-=Женька=-,
$(document).ready(function()
{
$(".main").onepage_scroll(
{
sectionContainer: "section",
afterMove: function(index) {
if(index == 2) {$('.main section.page2 h1').stop().animate({left: 400}, 6000)}
}
,
beforeMove: function(index) {
if(index == 2) {$('.main section.page2 h1').stop().css({position: 'relative', left: -400})
}
}
}
);
}
);