В общем вот ссылка
http://webmaker.kz/orange/
сразу заметите меню!! через несколько минут она сбивается ((( уже не плавно переходит а в разнобой плиззззз помогите уже месяс сижу с этой проблемой
function animation(){
setTimeout("sun_raft()",200);
setTimeout("sun_raft1()",400);
setTimeout("sun_raft2()",600);
setTimeout("sun_raft3()",800);
setTimeout("sun_raft4()",1000);
}
function sun_raft(){
$("#raft").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
$("#raft_1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"},1000);
setTimeout("sun_raft()",1000);
}
function sun_raft1(){
$("#raft1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
$("#raft1_1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
setTimeout("sun_raft1()",1000);
}
function sun_raft2(){
$("#raft2").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
$("#raft2_1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
setTimeout("sun_raft2()",1000);
}
function sun_raft3(){
$("#raft3").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"},1000);
$("#raft3_1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
setTimeout("sun_raft3()",1000);
}
function sun_raft4(){
$("#raft4").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
$("#raft4_1").animate({marginTop:"-=15px"},1000).animate({marginTop:"+=15px"}, 1000);
setTimeout("sun_raft4()",1000);
}
$(function(){
$('.large').hide();
setTimeout("animation()",1000);
$('#orj').click(function(){
stop("animation()");
});
$('#animation_menu ul li').click(function(){
var i = $(this).index();
var t = $('#animation_menu ul li .emp');
t.eq(i).animate({'marginTop':'80px', 'opacity':'0.1'},500).fadeOut(1);
t.addClass('mini1').removeClass('mini2');
t.eq(i).removeClass('mini1').addClass('mini2');
$('.large').addClass('markdel');
$('.large').eq(i).removeClass('markdel').addClass('mark');
$('.markdel').animate({'width':'135px', 'opacity':'0.1'},500).fadeOut(500);
$('.mini1').fadeIn(500).animate({'marginTop':'0px', 'opacity':'1'},1000);
$('.large').eq(i).fadeIn(500).animate({'width':'480px', 'opacity':'1'},500);
});
});//ready
$(function(){
$('#animation_menu_inner ul li').mouseover(function(){
var i = $(this).index()+1;
var text = $(this).attr('alt');
var way = 'c/img/'+$(this).attr('rel');;
$('.ph_inner img').attr('src',way);
$('.h1_inner').html(text);
});
$('#animation_menu_inner ul li .icon_menu').mouseover(function(){
var o = $('#animation_menu_inner ul li .icon_menu');
var o1 = $('#animation_menu_inner ul li .ic');
$(this).attr('src','c/img/icon_menu_1.png');
o.addClass('green').removeClass('orange');
$(this).removeClass('green').addClass('orange');
$('.green').attr('src','c/img/icon_menu.png');
});
});
SSILKA na ska4ivanie ishodnika
http://www.webmaker.kz/orange/pfffff.zip
neobrawaite vnimanie na kodirovku