Home > Web Front-end > JS Tutorial > Jquery switching different pictures sample code_javascript skills

Jquery switching different pictures sample code_javascript skills

WBOY
Release: 2016-05-16 17:10:21
Original
992 people have browsed it
复制代码 代码如下:

#sidebar div#live_chat a {
background: url("scroll/live_chat1.jpg") ;
height: 76px;
}
#sidebar div#live_chat a:hover {
background: url("scroll/live_chat2.jpg") ;
}
#sidebar div#customer_survey a {
background: url("scroll/survey1.jpg") ;
height: 75px;
}
#sidebar div#customer_survey a:hover {
background: url("scroll/survey2.jpg");
}
#sidebar div#newsletter_sign a {
background: url("scroll/newsletter_sign_bg.jpg") ;
height: 76px;
}
#sidebar div#newsletter_sign a:hover {
background: url("scroll/newsletter_sign_bg1.jpg") ;
height: 76px;
}
#sidebar div#back_top a {
background: url("scroll/back_top1.jpg");
height: 40px;
}
#sidebar div#back_top a:hover {
background: url("scroll/back_top2.jpg") ;
}
#sidebar div a {
cursor: pointer;
display: block;
width: 77px;
}
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template