Dorpet Flunner Posted August 28, 2020 Share Posted August 28, 2020 (Apologies if this is wrong forum!) I'm trying to help my grandpa add a magnifying glass for on his weebly webpage on postage stamps. We tried the two "apps" that weebly offered, but they are very problematic. So I tried the one at https://www.w3schools.com/howto/howto_js_image_magnifier_glass.asp I know nothing about webpages, but I tried replacing their image URL with our own, and pasted the resulting block of code into an "embed code" box on weebly -- and it worked great!... Except that we can only do one image per page. If I do this on more than one image, only the top one works. Is there a way for a novice to adjust that code so the magnifier would work on multiple images on the same webpage? (I'm assuming there's no way to add a magnifer globally, to every photo -- but one at a time would be enough.) Thanks! Link to comment Share on other sites More sharing options...
dsonesuk Posted August 29, 2020 Share Posted August 29, 2020 It uses a id that must be unique within a page, if you have multiple, it will only worrk for one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now