Skip to content

Commit

Permalink
edits to README
Browse files Browse the repository at this point in the history
  • Loading branch information
nfalbo213 committed Jul 25, 2023
1 parent 04c1f04 commit 1a683b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To use plugin, follow these steps:

6) Add [Data Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*) to the images you wish to enlarge in your HTML. (As written, `imagePopUp.js` uses `data-prod=""`, but this can be changed to suit your project)

7) In `imagePopUp.js`, change and add 'if' statements in `setImage(target)` to match the [Data Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*) made in Step 6, and then change `zoomedImg.src` and `zoomedImg.alt` to match your image.
7) In `imagePopUp.js`, change and add 'if' statements in `setImage(target)` to match the [Data Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*) created in Step 6, and then change `zoomedImg.src` and `zoomedImg.alt` to match your image.

## Questions

Expand Down

0 comments on commit 1a683b7

Please sign in to comment.