June 12, 2007
We use a client-side JavaScript object for creating tabs in our web applications. Unlike in the Clarify Classic Client, tabs in our web apps are the same page as the parent. When you click on a tab, you are actually displaying the HTML elements on that tab, and hiding the HTML elements on the other unselected tabs. It's all a bunch of Dynamic HTML (DHTML) goodness. It's trivial to make tabs visible/invisible, reorder tabs, resize, etc. The case page in fcClient is a good example of the use of tabs: Here we will walk through the steps needed for creating and using tabs within a page. In your ASP page, Include the javascript code for building a tab <script language="javascript" src="../code/tab_builder.js"></script> In your ASP page, Include the stylesheet <link rel="stylesheet" href="../stylesheets/webagent.css" type="text/css"> Create an array of tabs var ArrayOfTabs= new Array(); Add…