简体   繁体   English

锚标记在弹出div中无法正常工作

[英]anchor tag is not working properly in popup div

http://182.50.154.23/elweb/Products.aspx

i have a popup div click on any of product (say edumanager),a popup will appear with details of product. 我对任何产品(例如edumanager)单击弹出div,将出现一个弹出窗口,其中包含产品的详细信息。 the problem is that the links on the popup div is not working(like the link for visit website) means its not redirecting us on the link given . 问题是弹出div上的链接不起作用(例如访问网站的链接)意味着它没有在给定的链接上重定向我们。 Please help me. 请帮我。 here is code : 这是代码:

<section id="Section2" class="ps-container">

            <div class="ps-header">
                <h1><img class="PopUpLogo" src="Images/ProductLogo/ProctorEye.png" /></h1>
            </div>
            <div class="ps-contentwrapper">
                <div class="ps-content">
                    <h2>ProctorEye</h2>
                    <span class="ps-price">PE</span>
                    <p>
                    ProctorEye is the next generation online testing platform. It enables interaction between proctor and remote test taker, provide amazing video conferencing facilities, works on unbelivable bandwidth etc Envisioned to be the best platform helping out people tp increase their employability, skills set and self paced adaptive learning. ProctorEye will provide support right from any test facility to real-time proctoring to collaboration to behavioral Anayltics. Stay Tuned!!
                    </p>
                    <a target="_blank" href="http://www.showmymarks.com">Visit Website</a>
                </div>

            </div><!-- /ps-contentwrapper -->
            <div class="ps-slidewrapper">
                <div class="ps-slides">
                    <div style="background-image: url('Images/ProctorEyeThumb.png'); background-size: 100% auto; background-position: 0px 98px;"></div>
                </div>
                    <div class="ProductsLink">
                        <a href="default.aspx">
                                <div  class="ProductLinkBox ProductVideo">
                                    <h3>Watch Video</h3>
                                </div>
                        </a>
                        <a href="default.aspx">
                                <div  class="ProductLinkBox ProductPpt">
                                    <h3>View Ppt</h3>
                                </div>
                        </a>
                        <a href="default.aspx">
                                <div class="ProductLinkBox ProductNote">
                                    <h3>Product Note</h3>
                                </div>
                        </a>
                        <a href="default.aspx">
                                <div  class="ProductLinkBox ProductGuide">
                                    <h3>User Guide</h3>
                                </div>
                        </a>
                    </div>


            </div><!-- /ps-slidewrapper -->

        </section>

It seems default behavior of anchor tag is been prevented, so you can try putting this code at footer area: 似乎已阻止了锚标记的默认行为,因此您可以尝试将以下代码放在页脚区域:

$('.ps-container a').click(function(){
    return true;
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM