Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// $Id:
$(document).ready(function(){
$('div.comment').hover(function(){
$(".comment-links a", this).css("color", "#F23183");
$(".content", this).css("color", "#000");
},
function(){
$(".comment-links a").css("color", "#F9FCFD");
$(".content").css("color", "#74868D");
}
);
$('div.dock-back ul > li').hover(function(){
$( '.latest' ).hide();
$( this ).addClass( 'dock-active' );
$(".content", this).css("color", "#000");
$( this ).stop().children( 'span' ).fadeIn( 200 );
},
function(){
$( this ).removeClass( 'dock-active' );
$( this ).stop().children( 'span' ).fadeOut( 200 );
}
);
$( 'div.dock-back .item-list' ).bind( "mouseleave", function() {
$( '.latest' ).fadeIn( 1000 );}
);
$('div.dock-back .item-list a').hover(function() {
$( this ).animate({ top: -5 }, 'fast');},
function() {
$( this ).animate({ top: 0 }, 'fast');}
);
$('.form-item input').focus(function(){
$(this).parents('.form-item').addClass('focus');
}).blur(function(){
$(this).parents('.form-item').removeClass('focus');
});
$('.form-item select').focus(function(){
$(this).parents('.form-item').addClass('focus');
}).blur(function(){
$(this).parents('.form-item').removeClass('focus');
});
$('.form-item textarea').focus(function(){
$(this).parents('.form-item').addClass('focus');
}).blur(function(){
$(this).parents('.form-item').removeClass('focus');
});
});