WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Tab Pane - Help with submenus, can't seem to get it them to work., ks8, May 27, 2005

Subject: Tab Pane - Help with submenus, can't seem to get it them to work. From: ks8 Date: May 27, 2005
I really love this code but I can't seem to add a new main menu item with another submenu under that. On the demo under "Nested" there's a submenu with "Genral" and "Privacy". Can I add another main item not under Nested like this "Stuff" the submenu with "stuff1" "Stuff2". So just a copy of "Nested" but not a submenu of "Nested". This is what I tried, but it keeps adding it as a submenu of nested, i don't want that:

<div class="tab-pane" id="tabPane2">

<div class="tab-page">
<h2 class="tab">General</h2>

This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.

</div>

<div class="tab-page">
<h2 class="tab">Security</h2>

This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.
<br />
<br />
This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.

</div>

<div class="tab-page">
<h2 class="tab">Nested</h2>

<!-- id is not necessary unless you want to support multiple tabs with persistence -->
<div class="tab-pane" id="tabPane3">

<div class="tab-page">
<h2 class="tab">General</h2>

This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.

</div>

<div class="tab-page">
<h2 class="tab">Privacy</h2>

This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.

</div>

<div class="tab-page">
<h2 class="tab">Stuff</h2>

<!-- id is not necessary unless you want to support multiple tabs with persistence -->
<div class="tab-pane" id="tabPane3">

<div class="tab-page">
<h2 class="tab">Stuff1</h2>

This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.
This is text of tab 1. This is text of tab 1. This is text of tab 1.

</div>

<div class="tab-page">
<h2 class="tab">Stuff2</h2>

This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.
This is text of tab 2. This is text of tab 2. This is text of tab 2.

</div>


</div>

</div>

</div>



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX