Firefox中的图像悬停问题 [英] imagehover problem in firefox
本文介绍了Firefox中的图像悬停问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我曾使用jquery的悬停图像显示在另一页上,但它在IE中有效,但在Firefox中不起作用,请提供帮助,非常感谢...
i had used jquery for hover image to display on another page but it work in IE but it not work in firefox please helpp its urgent thank a lot...
推荐答案
你好,
根据您的要求尝试此代码...
Hi,
Try this code for your requirement ...
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="../Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
<script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script language ="javascript" >
function f3() {
(" #smimg").hover(
("#smimg").hover(function () {
(" ).attr(' src', this .src);
("#bigimg").attr('src', this.src);
这篇关于Firefox中的图像悬停问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文