+ 1

jquery and pseudocode problem

There is a small problem: I create an interactive map, where when you hover over an area, some actions should take place. I want to make the following feature: when you click on an area (.part), a window with information should pop up next to the cursor (preferably on the left). I tried to make at least the appearance of this window using jquery, but I'm not sure that the pseudocode I supplied works correctly, or rather, it does not work at all. Please, help. The code is in my profile.

1st Jul 2021, 5:50 PM
Андрей Пермяков
Андрей Пермяков - avatar
1 Odpowiedź
0
I see two problems 1. You have no width or height for .map 2. The discription is display: none
29th Jul 2021, 9:44 AM
Nico Ruder
Nico Ruder - avatar