Bug Tracker

Ticket #2435: tabs_snippit.txt

File tabs_snippit.txt, 604 bytes (added by jasonE, 12 years ago)

Code snippit

Line 
1//Call to Load Tabs
2$(document).ready(function(){
3                $("#tabNav > ul").tabs({ajaxOptions: {cache: false}});
4                });
5
6//Call to swap to the first tab
7function navTest()
8{
9        $("#tabNav > ul").tabs('select', 0);
10}
11
12
13
14//Tabs Code
15<div id="tabNav" class="flora">
16        <ul>
17                <li><a href="ajax/ajaxAgentOfficePanels.cfm?page=currentOffices"><span>Current Offices</span></a></li>
18                <li><a href="ajax/ajaxAgentOfficePanels.cfm?page=addOffices"><span>Add Office</span></a></li>
19                <li><a href="ajax/ajaxAgentOfficePanels.cfm?page=disconnectOffices"><span>Disconnect Office</span></a></li>
20        </ul>
21</div>