How do you do this function?

https://www.spectacles.com/sh.

I try to parse

clipboard.png

is that you can simply cut
. I really don"t know how to steal
and I can"t find a similar one.
does anyone know the example?

Mar.22,2021

@ Oscar wingman Brother, keep an eye on the problem.

you should tell her: if you are a Chrome or Firefox browser, you can:

  • how to view the page source code (Ctrl + U),
  • how to get the location of the corresponding DOM and the immediate change of the tag (check: Ctrl + Shift + C).

after these two operations, if the questioner wants to parse, it will take some time, and it can be parsed naturally.

< hr >

even if it is simulated:

detect the onClick event of the picture list DOM, and then replace the corresponding picture link on the src property of the larger image.

be simple and clear. After all, you are not talking, you are writing the answer.


A rookie, tell me what I think.

the following small images are written with the li tag. Add an event delegate. When you click the li tag, get the src, of the img and assign the src to the src, of the larger image.

Menu