Hammer.js - 链接无法在Android上运行

时间:2014-02-21 14:00:48

标签: javascript php android html hammer.js

处理使用Hammer.js的项目。一切都在iPhone上工作正常,但是在Android上我的页脚中的链接不能在使用Hammer.js的页面上工作。我正在使用php include作为页脚,以便作为面板的一部分进行滑动。奇怪的是,他们甚至没有突出显示当你触摸链接时链接会突出显示的东西(因为死亡或占位符href =“#”链接会表现)。它们只是表现得像静态文本。有没有人见过这个?

来自主.php文件的Hammer.js列表:

<li class="pane8">
    <div class="my-class">
        <h2>Header</h2>
        <h3>My subhead</h3>
    </div>
    <div class="image">
        <img src="img/myimage.jpg">
    </div>
    <div id="somecontent">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.             
    </div>
    <?php include("footer.php"); ?>
</li>

footer.php的内容:

<div id="footer">
    <p class="follow-us">&mdash; Follow Us &mdash;</p>
    <span style="display: inline-block;">
        <a href="https://www.facebook.com/"  target="_blank"><img src="img/footer-facebook.png" width="40" height="37"></a>
    </span>
    <span style="display: inline-block;">
        <a href="http://twitter.com/#!/" target="_blank"><img src="img/footer-twitter.png" width="40" height="37">
        </a>
    </span>
    <span style="display: inline-block;">
        <a href="http://www.youtube.com/" target="_blank"><img src="img/footer-youtube.png" width="40" height="37">
        </a>
    </span>
    <span style="display: inline-block;">
        <a href="http://instagram.com/" target="_blank">
            <img src="img/footer-instagram.png" width="40" height="37">
        </a>
    </span>
    <p>
        &copy; 2014 some company Inc. 
        <a href="privacy.php">Privacy Statement/Your Privacy Rights</a>
        <br />
        <a href="privacy.php#cookies">Internet Based Ads</a>&nbsp;&nbsp;<a href="terms.php">Terms &amp; Conditions</a>
   </p>
</div>

0 个答案:

没有答案
相关问题