sorry i didnt know i have to put the code anyways ...here's the javascript

// <script>

// ----- Auxiliary -------------------------------------------------------------

function tabview_aux(TabViewId, id)
var TabView = document.getElementById(TabViewId);

// ----- Tabs -----

var Tabs = TabView.firstChild;
while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;

var Tab = Tabs.firstChild;
var i   = 0;

if (Tab.tagName == "A")
Tab.href      = "javascript:tabview_switch('"+TabViewId+"', "+i+");";
Tab.className = (i == id) ? "Active" : "";
while (Tab = Tab.nextSibling);

// ----- Pages -----

var Pages = TabView.firstChild;
while (Pages.className != 'Pages') Pages = Pages.nextSibling;

var Page = Pages.firstChild;
var i    = 0;

if (Page.className == 'Page')
if (Pages.offsetHeight) Page.style.height = (Pages.offsetHeight-2)+"px";
Page.style.overflow = "auto";
Page.style.display  = (i == id) ? 'block' : 'none';
while (Page = Page.nextSibling);

// ----- Functions -------------------------------------------------------------

function tabview_switch(TabViewId, id) { tabview_aux(TabViewId, id); }

function tabview_initialize(TabViewId) { tabview_aux(TabViewId,  1); }

here's the html code

"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<title>Tab-View Sample</title>

<link rel="stylesheet" type="text/css" href="tabview.css" />

<script type="text/javascript" src="tabview.js">



<form action="tabview.html" method="get">

<div class="TabView" id="TabView">

<!-- *** Tabs ************************************************************** -->

<div class="Tabs" style="width: 350px;">
<a>Tab 1</a>
<a>Tab 2</a>
<a>Tab 3</a>

<!-- *** Pages ************************************************************* -->

<div class="Pages" style="width: 350px; height: 250px;">

<div class="Page">
<div class="Pad">

<!-- *** Page1 Start *** -->

<br />

<td style="vertical-align: top;">Distributed form:&nbsp;</td>
<input type="text" name="first" />
<br />
<small>Note: the rest of the form is at the Tab 3.</small>
</tr> ...

Hello everyone.
I am new to this forum. i am stuck on this problem for quite some time and i hope i cud use some ur expertise on it !!!
here's the thing -
i have developed this web page which is like really long and i have divided it into pages ( sort of virtual ) using java script. Now each (of the virtual) page is linked to a tab. so when a particular tab is clicked the corresponding page is displayed. I had to do this cos the data is interlinked and hence i cant divide the page into different html files
The problem is that i now want to add drop downmenu's to the tab such that when any tab is clicked a menu is displayed and when someone clicks a title in that menu the corresponding page be displayed

i hope u have understood my problem
i am attaching a sample of the tabs .. if anyone wud like to see the actual page do let me know i'll upload it too

thanks in advance !!!