Question: how can i display the same image multiple times on different places based on a json file that contains an array with the x, y
how can i display the same image multiple times on different places based on a json file that contains an array with the x, y coordinates( left,top) using ajax, with javascript
//Data provided is the json file with coordinates, and the image can be any image.
coordinates.js // json file
[[200, 48], [32, 41], [23, 43], [28, 39]]
////////////////////////////////////////
///////////////////////////////////
//css file
.displayimage{ width: 50px; position: absolute; top: 90; left: 90; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
