是什么让这些链接像新窗口一样打开?

时间:2012-03-14 作者:Will
        <?php } } ?>  
                <?php else : ?>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="John Smith (General Manager) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t1.png" alt="" class="home-team-img"></a><h1>John Smith</h1><p>General Menager</p></li>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="Marry Anderson (Ass. Manager) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t2.png" alt="" class="home-team-img"></a><h1>Marry Anderson</h1><p>Ass. Manager</p></li>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="Micheal Fisher (Graphicer) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t3.png" alt="" class="home-team-img"></a><h1>Micheal Fisher</h1><p>Graphicer</p></li>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="Alexsandra Smith (Personel Manager) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t4.png" alt="" class="home-team-img"></a><h1>Alexsandra Smith</h1><p>Personel Manager</p></li>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="Matheus Prahk (Code Developer) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t5.png" alt="" class="home-team-img"></a><h1>Matheus Prahk</h1><p>Code Developer</p></li>
                <li><div class="columb-shadow2"><img src="<?php echo get_template_directory_uri(); ?>/image/theme/minishadow3.png" alt=""></div><a class="team" href="<?php echo get_template_directory_uri(); ?>/image/post/bigimage.png" title="Philips Garden (Online Support) </br>Lorem ipsum is simply dummy data text printing"><img src="<?php echo get_template_directory_uri(); ?>/image/post/t6.png" alt="" class="home-team-img"></a><h1>Philips Gorden</h1><p>Online Support</p></li>
                <?php endif; endif; ?> 
1 个回复
SO网友:Aneon

可能是一些针对这些链接并将其作为新窗口打开的javascript。

尝试在禁用javascript的情况下运行页面,看看它们的行为是否相同。您还可以尝试将target=“\\u self”添加到a标记,尽管这可能会被javascript覆盖。

结束