Jump to content

Image magnifier glass with image list


Recommended Posts

If you're talking about this:

https://www.w3schools.com/howto/howto_js_image_magnifier_glass.asp

Most of that code is fine, but you need to add code to handle the change event on a select list and then you would update the image element on the page with the filename of whatever they chose from the select list.

Link to post
Share on other sites

There's going to be loading time for the next image, if you want to avoid that then maybe you could disable the magnification until the image loads, or maybe there's another workaround.  You could also try pre-loading all of the images.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...