[英]Is it possible to make a small white Pop up appear on a click on a button?
On this website: https://www.infrastructure.aws/ When you click on Availability Zones for exemple, it will show a small window, filled with text on the right of the page.在这个网站上: https://www.infrastructure.aws/例如,当您单击可用区时,它将显示一个小的 window,并在页面右侧填充文本。 I would like to know if it's possible to have sometething similar on a leaflet map without javascript?我想知道在没有 javascript 的 leaflet map 上是否可能有类似的东西? This action will be run when a user will click on a certain button on my map!当用户单击我地图上的某个按钮时,将运行此操作!
Thank you very much for your help, and sorry for my english, i'm not native:(非常感谢您的帮助,对不起我的英语,我不是本地人:(
Without JavaScript, i don't think there is a normal way.没有 JavaScript,我认为没有正常的方法。
Try to change the CSS of the "popup" from display: none;
尝试从display: none;
to display: block;
display: block;
by clicking the button.通过单击按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.