Home > Article > Web Front-end > jQuery realizes the effect of large picture preview when the mouse passes over the picture_jquery
jQuery: It is a client-side technology. The reason for its birth is: write less, do more (write less code, do more things).
Therefore, we can use jQuery to achieve some Very cool effect, compared to javaScript, the same effect, but very simple code. The core knowledge point in jQuery is the use of selectors. I will summarize the content of selectors in a subsequent blog. I hope everyone will read it. Learning the selector is equivalent to fully mastering jQuery.
This blog post is about how to use jQuery to implement what we see commonly in shopping websites: when the mouse passes over the image number, the image will be enlarged for a large preview. Next, I will paste the main code: first, the code in $(function(){})
Options | Poster | Name |
---|---|---|
Yang Mi | < img src="images/xiao02.jpg" alt=""> | Lin Xiao |
Gong Ming |
type="checkbox" id= "checkAll">Select all id="btnDel" type="button" value="Delete"> td> |