简体   繁体   English

更改jQuery选项卡上的固定内容

[英]Changing fixed content on jQuery tabs

Having trouble with jQuery $('#tabs').tabs(); jQuery $('#tabs').tabs();遇到问题 As seen here JSFIDDLE the content that contains an external php file 如此处所示, JSFIDDLE包含外部php文件的内容

 <li class="files">

                <a href="msg_inbox.php">Compose Message</a>
            </li>

is constantly being shown even when other tabs are hovered upon.I want to eventually change all the anchor tags and link them to other php files. 即使悬停了其他选项卡也一直在显示。我想最终更改所有锚标签并将它们链接到其他php文件。 I would like to understand why this fixed content is so and how to eliminate this problem as well as an other tips one may have. 我想了解为什么此固定内容如此以及如何消除此问题以及其他可能存在的技巧。 I'd greatly appreciate it. 我将不胜感激。

Replace 更换

event:'mouseover'

With

event:'click'

Demo - http://jsfiddle.net/qTXnN/5/ 演示-http://jsfiddle.net/qTXnN/5/

Update 更新资料

Thats because <a href="msg_inbox.php"> should be <a href="#one"> 那是因为<a href="msg_inbox.php">应该是<a href="#one">

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

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