English 中文(简体)
与文字布局中的具体表格链接?
原标题:Link to specific tab in wordpress layout?
  • 时间:2012-04-27 07:56:16
  •  标签:
  • wordpress

I have created a layout in Wordpress with a plug-in called builder. I then have a page that uses this layout. The layout contains a area with tabs.

当用户点击我主要菜单上的一个环节时,他就被带至该页第一个表上。 曼 谷 我把他带往第二个表格吗?

实际上,菜单喜欢这样做。

About us -Overview -History -Contact

如果用户点击我们或概述,我就希望他去看第一个表。

问题回答

我猜测,你必须用超文本封套制造东西。

$(document).ready(function() {
$( #tabs #2nditemid ).click();
});

OR

  $(document).ready(function() {
    $( #tabs li ).hide();
 $( #tabs li.2nditemid ).show();
    });

这可能会有点不同,但可能会在某个地方领导你。

这必须具体针对您的表格......因此,最好只为这一特定网页建立一个网页主题,以避免在所有网页上出现额外的分类。





相关问题
Wrap stray text in <p> tags

Wordpress issue.. how do I wrap stray text in P tags? Example: Before- <div class = "content"> <img src = "hello.jpg"/> <h1>Introduction</h1> Hello! this is ...

Using jQuery Plugins with Wordpress

Having a bit of trouble using jQuery plugins (Superfish, jQuery UI, etc) using Wordpress. Everything works fine in my plain non-Wordpress site, but Wordpress seems to conflict with JQuery. There must ...

WordPress Data Storage Efficiency

I ve been asked to review a WordPress plugin of sorts and try to find ways of making it faster. The premise of this plugin is basically to store a bunch of users and shifts and appointments and ...

Why can t I properly style a blockquote in Wordpress?

On the design I just created for my website, I have a blockquote styled with two quote images using the span technique in css: blockquote { background-image: url(images/openquote.jpg); background-...

How does the WordPress <!--nextpage--> tag actually work?

What happens? I m guessing that somehow the post or page is parsed before displaying, and then just split into two methods? I can t seem to find any documentation on how the underlying <?php ...

Wordpress Plug-ins: How-to add custom URL Handles

I m trying to write a Wordpress Plug-in but can t seem to figure out how you would modify how a URL gets handled, so for example: any requests made for: <url>/?myplugin=<pageID> will ...

热门标签