Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".test").hover(function() {
- $(".test").not($(this)).css({"opacity" : 0.1});
- },
- function() {
- $(".test").css({"opacity" : 1});
- });
- jQuery(".myDivClass").mouseenter(function(){
- jQuery(this).siblings().css({"opacity": 0.7});
- }).mouseleave(function(){
- jQuery(this).siblings().css({"opacity": 1});
- });
- $(".mydiv").mouseenter(function() {
- var currentId = $(this).attr('id');
- $("div").not(this).css("background-color", "#7EA9D5");
- }).mouseleave(function() {
- $(".mydiv").css("background-color", "#06C");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement