鼠标悬停在单选按钮替换上?
我正在使用 jQuery 替换此页面上的单选按钮 - http://www.justdoors.co/产品选择/ 并想知道是否也可以添加鼠标悬停效果?
我希望当用户在列表中上下移动时,灰色箭头在选择鼠标悬停/悬停时变为绿色。
I'm using jQuery to replace my radio buttons on this page - http://www.justdoors.co/product-selection/ and was wondering if it would be possible to add a mouseover effect as well?
I would like for the grey arrows that turn green when selected to change to green on mouseover/hover as the user goes up and down the list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
似乎所有替换的单选按钮都有“imageCheck”类,因此您可以绑定鼠标悬停/鼠标悬停的效果:
It seems like all your replaced radio buttons have the class "imageCheck" so you could bind the effect on mouseover/mouseout:
您也可以随时使用 CSS,请参阅此处的示例。
You could always also use CSS, see an example here.