$ ('img: not (#div_for_img)'). hide (2000); // I try to reduce all the pictures except those that with id #div_for_img, as a result, do not see at all, reduce everything
Pictures that I don’t want to touch:
$ ('img: not (#div_for_img)'). hide (2000); // I try to reduce all the pictures except those that with id #div_for_img, as a result, do not see at all, reduce everything
Pictures that I don’t want to touch:
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
$('img[id!="div_for_img"]').hide(2000);
$('img').not('#div_for_img').hide(2000);
Source: https://ru.stackoverflow.com/questions/552244/
All Articles