Schemes detail with reference

Samail
Site user since 10.05.2007
Offline
343
58
ДП
Site user since 23.11.2009
Offline
203
#1

Judging by the fact that the pictures and references therein do not scale - there is a system similar to the people in the pictures otmentkam VKontakte. Those. some the admin interface, which highlights the selection picture and the link to it is prescribed. Once registered and please.

Rather screwed more detection tsiferok the picture, if there is input data in the form of plates to the right in the same form, i.e. with the number.

SergejF
Site user since 07.06.2008
Offline
622
#2
Samail:
These are the schemes made on what?

Long ago, a couple of decades ago there were programs that allow you to make image maps in html - to allocate to them the zone and to compare them with action. Called something like the image map.

Momenta... Этнографические заметки: http://www.sbible.ru/vasil1.htm
SeVlad
Site user since 03.11.2008
Offline
1528
#3
Samail:
These are the schemes made on what? https://www.ilcats.ru/bmw/?function=...bgroup=12_1946
Without hands-they coordinate links say.

You really did not look at the code? Of course, through the map is done.

Or I did not understand what your question is?

Делаю хорошие сайты хорошим людям. Предпочтение коммерческим направлениям. Связь со мной через http://wp.me/P3YHjQ-3.
Samail
Site user since 10.05.2007
Offline
343
#4
SeVlad:
Or I did not understand what your question is?

The question is how to do it semi-automatically, poked mouse over the image and create the necessary links. What would the user himself can create such schemes.

SergejF
Site user since 07.06.2008
Offline
622
#5
Samail:
The question is how to do it semi-automatically, poked mouse over the image and create the necessary links.

Here take a look.

SeVlad
Site user since 03.11.2008
Offline
1528
#6
Samail:
The question is how to do it semi-automatically

Ah .. I've seen scripts. Unfortunatel is now can not remember how is called.

And indeed there are plugins for VP - seen in the repo several pieces at one time.

---------- Posted 19.06.2020 at 11:16 ----------

SeVlad:
And indeed there are plugins for VP - seen in the repo several pieces at one time.

Here's one old found https://wordpress.org/plugins/imagelinks-interactive-image-builder-lite/ . Perhaps help find the path, if nothing else is there.

T7
Site user since 19.09.2018
Offline
53
#7
Samail:
mouse poked the image and create the necessary links

If you poke it is simple. 5 min ingot from which you can build anything

 document.getElementById ( 'iiii'). addEventListener ( 'click', function (event) { 
let b = this.getBoundingClientRect (),
x = event.x - b.left - 10,
y = event.y - b.top -10;
console.log (b, x, y)

/ *
* Well, just if cropped, the coordinates can be counted-adjusted coefficients
* /
console.log (
this.clientWidth,
this.clientHeight,
this.naturalWidth,
this.naturalHeight
)
var div = document.createElement ( "div")
div.style.position = 'absolute';
div.style.width = '20px';
div.style.height = '20px';
div.style.top = y + 'px';
div.style.left = x + 'px';
div.style.background = 'rgba (255,0,0, .2)';
this.parentNode.appendChild (div);
});
Samail
Site user since 10.05.2007
Offline
343
#8

Sevlad, thank you, judging by the examples you can do more than just instruct the labels for the scheme will be enough.

To post a new comment, please log in or register