使用 JavaScript 更改元素的图像
我有一个容器,在它下面有一个 3 行和一列的表格,每列中都有一个图像。我想做这样的事情,当鼠标悬停时,容器会充满该图像..帮我做到这一点..
i have a container and below it, a table of 3 rows and a column and in each column, there is an image. i want to do such that onmouseover , the container gets filled with that image.. help me do this..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下面是如何
给容器指定 id 'container'
here is how you will do it
give the container the id 'container'