0

我现在正在开始一个新的 jQTouch 项目,我正在考虑使用 Facebook 连接来让用户更轻松地在我的网站上注册。有人对这个有经验么?

我正在使用 Facebook PHP SDK(来自github),我首先尝试将它与内置示例一起使用,它运行良好。

后来,我用 jQTouch(SVN 的最新版本)尝试了它。当我在元素内创建登录/注销链接时,ul.rounded>li它不起作用,因为 jQTouch 有一些特殊功能可以处理在 li 元素内单击的链接。如何绕过此功能并使其与连接链接一起使用?我正在使用身份验证对话框的 display=touch 版本。

当我在它之外添加链接时,ul.rounded>li-element它在桌面 Safari 中有效,但在移动 Safari 中无效。

4

1 回答 1

0

Instead of adding the link outside the LI, put it outside the UL. It should work because is inside the form tag. I did this in using the beta 2 release and worked.

<form id="yourlogin" method="post">
    <ul class="edit rounded">
        <li><input type="email" name="username" placeholder="Your Username" id="username" autocorrect="off" autocapitalize="off" class="input"/></li>
        <li><input type="password" name="yourpassword" placeholder="Password" id="yourpassword" class="input" />
        </li>
    </ul> <a name="action" id="loginbtn" style="" href="#" type="submit" class="submit whiteButton">Login</a> 

于 2010-05-05T21:46:10.040 回答