We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,不知道该怎么解决 我的代码
$(".addcar").click(function(event){ var offset = $("#end").offset(); var addcar = $(this); var img = addcar.parent().find('img').attr('src'); var flyer = $('<img class="u-flyer" src="'+img+'">'); $ (window).unbind ('scroll'); flyer.fly({ start: { left: event.pageX, //开始位置(必填)#fly元素会被设置成position: fixed top: event.pageY //开始位置(必填) }, end: { left: offset.left+10, //结束位置(必填) top: offset.top+10, //结束位置(必填) width: 0, //结束时宽度 height: 0 //结束时高度 }, onEnd: function(){ //结束回调 $("#msg").show().animate({width: '250px'}, 200).fadeOut(1000); //提示信息 } }); });
The text was updated successfully, but these errors were encountered:
addcar 是a标签吧,href属性改为:javascript:;
Sorry, something went wrong.
No branches or pull requests
如题,不知道该怎么解决
我的代码
The text was updated successfully, but these errors were encountered: