jquery - DragScroll 无法在我的 ASP.NET 网站 JQuery 上运行

标签 jquery asp.net scroll drag

我一生都无法弄清楚为什么这个脚本不能在我的网站上运行,但它可以在 JSFIDDLE 上运行

这是我当前在 JSFiddle 中工作的脚本

http://jsfiddle.net/AhC87/90/

这是我正在尝试设计的网站的链接

http://blog.redeyeproject.com/WebForm1.aspx

本质上我想要完成的是在我的视线中模拟Windows Phone 7的拖动滚动

或者对于那些不知道 iPhone 的人

最佳答案

据我在您的网站中看到的内容,您没有包含所需的 CSS。

#scrollareax {
    width:350px;
    height:350px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
}

#wrapperx
{
    background-image: url("img/wp7.png");
    background-repeat: no-repeat;
    width: 800px;
    height:1500px;  
    margin-left: auto;
    margin-right: auto;
    position:relative;
}

关于jquery - DragScroll 无法在我的 ASP.NET 网站 JQuery 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7699841/

相关文章:

c# - HttpHandler 被忽略以支持路由

c# - 读取用户 session 时出现 NULL 引用异常(反射)

c# - 使用 asp.net 发送电子邮件显示此错误 :The SMTP server requires a secure connection or the client was not authenticated

ios - 在单元格和水平滚动之间滑动冲突

Android WebView 平滑滚动

jQuery - 将行附加到两个表

javascript - 如何使 sumoselect 下拉菜单更宽

javascript - 如何让每次人们离开(窗口模糊)然后返回(窗口焦点)时发生页面刷新?

jquery - 如何保证一定宽度的文本行不换行?

javascript - 如何使用 waypoint.js 无限滚动?