English 中文(简体)
关于如何建立这种类型的纳加提奥的建议
原标题:Any suggestions for how to create this type of Navigatio

如果你有一些 Java字,我很想得到一些帮助。

我有一个问题试图顶点,就象下面的屏幕上提到的那样,制造了一个刺.。

“entergraph

基本上,由于我需要把全宽的横向线列在标题表之下,因此,一旦拆除了另一个表格之一,我就无法获得第一个表格来消除它的积极搭配。

因此,我的问题是:我如何能够把第一个表格与其他表格完全分开。


without creating two different menus.

BTW,我知道这是一个令人困惑的解释,并理解,我可能这样做完全错误,但我为什么要找你帮助:

Here is how I am trying to do this so far:

<script>

$(document).ready(function() {

    /* Tabs Activiation
    ================================================== */

    var tabs = $( .tabs );

    tabs.each(function(i) {

        //Get all tabs
        var tab = $(this).find( > a );
        tab.click(function(e) {

            //Get Location of tab s content
            var contentLocation = $(this).attr( href );

            //Let go if not a hashed one
            if(contentLocation.charAt(0)=="#") {

                e.preventDefault();

                //Make Tab Active
                tab.removeClass( active );
                $(this).addClass( active );

                //Show Tab Content & add active class
                $(contentLocation).show().addClass( active ).siblings().hide().removeClass( active );

            }
        });
    });
});

</script>
                <!-- Tabs -->
                <nav id="tab-nav" class="grid3">                            
                    <h1 class="tabs">
                        <a class="active" href="#tab1">Tab 1 (H1)</a>
                    </h1>
                </nav>

                <hr />

                <!-- Tabs -->               
                <nav id="tab-nav" class="grid3">                            
                    <div class="tabs">          
                        <a href="#tab2">Tab 2</a>
                        <a href="#tab3">Tab 3</a>
                    </div>      
                </nav>

                <!-- Tab Content -->
                <ul class="tabs-content grid6"> 
                    <li class="active" id="tab1">Tab 1 Content</li> 
                    <li id="tab2">Tab 4 Content</li>
                    <li id="tab3">Tab3 Content</li>
                </ul>
最佳回答

因此,我树立了一种工作模式......使用 j,但不使用 has帽。

rel=“nofollow> http://jsfiddle.net/nenvG/31/。

我认为,增加内容比较容易,没有必要重新安排对每个要素的html。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签