А если так?
====
...
$(document).ready(function(){
$("#style_1, #style_2, #style_3").animate({opacity:'0.5'},-400);
if($.cookie('site_cookie')=='high')
$("div, p").css("font-size","18px");
$("#style_1").click(function(){
$(this).stop();
$("div, p").animate({fontSize:'16px'},0).animate({width :'7 50px'},1000);
$.cookie('site_cookie','low', { path: '/', expires: 10000 });
})
.mouseover(function(){
$(this).stop();
$(this).animate({opacity:'0.999'},400);
})
.mouseout(function(){
$(this).stop();
$(this).animate({opacity:'0.5'},400);
});
$("#style_2").click(function(){
$(this).stop();
$("div, p").animate({fontSize:'18px'},0).animate({width :'8 00px'},1000);
$.cookie('site_cookie','high', { path: '/', expires: 10000 });
})
...
|