link on certain position of an image background which is responsive

后端 未结 2 1544
隐瞒了意图╮
隐瞒了意图╮ 2020-12-20 04:14

I\'ve got a task to do and I\'m not able to find a solution or direction in which to target.

Task

This task needs some links positioned in

2条回答
  •  天命终不由人
    2020-12-20 05:03

    2 possibilities:

    1. Cut the image into the smaller images on which you can use "click" event. Works only if you have control on the background image.
    2. You have to use dynamically generated image map. You know your image size and offsets of the products on the image. You can detect the screen size. Appropriately calculate the offsets of the products and generate an image map dynamically.

提交回复
热议问题