怎么在图片呼吸灯的基础上加入图片的切换_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:03:11
Original
1395 people have browsed it


这个图片我是分为成了9宫格 现在的问题在于 我想在呼吸灯上面加入图片切换 也就是我鼠标悬浮在那一个图片上面 那张图片就切换成另一张 大神们 帮帮忙  感激不尽


回复讨论(解决方案)

$('img').hover(function(){this.src='img1'},function(){this.src='img2'})

$('img').hover(function(){this.src='img1'},function(){this.src='img2'})



+1.

我想的是九宫格中不同的图片我鼠标悬浮在其中一个的时候 切换过来的是不同的图片

大神 帮帮忙

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template