PDA

View Full Version : Tab display problem



raj_2006
02-21-2007, 06:20 AM
1) Script Title: Tab display problem

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem: I am using the tab content display script from DD.But when I am keeping this portion of code inside a table then I am getting a error msg(Invalid Arguement).


<table align="center">
<ul id="maintab" class="shadetabs">
<li class="selected"><a href="#" rel="tcontent1">Tab 1</a></li>
<li><a href="#" rel="tcontent2">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>
<li><a href="#" rel="tcontent4">Tab 4</a></li>

</ul>
</table>

Cant I keep the <UL> inside a table?
Please let me know your suggestion.Thanks in advance.
Luv...Raj

codeexploiter
02-21-2007, 06:55 AM
I've tested it with both IE 7 and Firefox and no error has triggered working as it supposed.

Try the following code before the page checking clear the browser cache



<table align="center">
<tr><td>
<ul id="maintab" class="shadetabs">
<li class="selected"><a href="#" rel="tcontent1">Tab 1</a></li>
<li><a href="#" rel="tcontent2">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>
<li><a href="#" rel="tcontent4">Tab 4</a></li>
</ul></td></tr>
</table>

raj_2006
02-21-2007, 07:39 AM
Thanks
ya its working great there.....:)

Once again thanks

Raj