Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
嗨,代码大师,我需要建议使用jquery反弹图像_Jquery - Fatal编程技术网

嗨,代码大师,我需要建议使用jquery反弹图像

嗨,代码大师,我需要建议使用jquery反弹图像,jquery,Jquery,我正试图在web应用程序中使用这一点jQuery。它似乎在JSFIDLE中工作,但在我的应用程序中实现时却不起作用。这是我的密码: enter code here <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" type="t

我正试图在web应用程序中使用这一点jQuery。它似乎在JSFIDLE中工作,但在我的应用程序中实现时却不起作用。这是我的密码:

enter code here

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href= "style3.css"/>

<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<script src="jquery.effects.bounce.js"></script>
</head>

<body> 
<img class="myimage" src ="https://pbs.twimg.com/profile_images/3513354941        /24aaffa670e634a7da9a087bfa83abe6.png">
<script>
$(document).ready(function () {
$('.myimage').mouseenter(function () {
$(this).effect('bounce', 500);
});
});
</script>
</body>
</html>
在此处输入代码
无标题文件
$(文档).ready(函数(){
$('.myimage').mouseenter(函数(){
美元(此).effect('bounce',500);
});
});

这段稍加修改的代码在Google Chrome下工作:

<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js""></script>
<script>
$(document).ready(function () {
  $('.myimage').mouseenter(function () {
    $(this).effect('bounce', 500);
  });
});
</script>
</head>
<body>
<img class="myimage" src ="https://pbs.twimg.com/profile_images/3513354941/24aaffa670e634a7da9a087bfa83abe6.png">
</body>
</html>