14th
NOV

jQuery制作滑动动画效果的层(效果很棒)

Posted by JCLee under 技术

中文翻译教程 | 英文原文教程

点击预览效果预览 下载这个实例的源文件

应用体验:

应用的过程发现出现如下错误

111 222

错误                                                                                                                 正确

经过检查发现问题出现网页的头部

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>

解决方法如下:

1.直接删除顶部这2行代码。

2.js中增加如下代码(此行代码需要在【$(document).ready(function(){】后就执行)

$(“.cover”, this).stop().animate({top:’220px’},{queue:false,duration:160});

猜测您可以感兴趣的内容:

Reader's Comments

  1. linki sponsorowane |

    We are a group of volunteers and opening a new scheme in our community. Your website offered us with valuable information to work on. You have done an impressive job and our entire community will be grateful to you. natural stone

Leave a Reply


Spam Protection by WP-SpamFree

This site is protected by WP-CopyRightPro