Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个设置图像,只有图像,一个随机图像,当用户单击它时,它应该显示一个包含 4 个设置的简单下拉列表...
如何做到这一点?
您可以使用 jquery 轻松实现这种功能。您可以添加一个包含 li 元素的 div,其中包含 4 个设置。您必须设置此 div 已隐藏。然后在页面中添加一个图片标签,并处理图片的点击以显示隐藏的设置div。