Results 1 to 3 of 3

Thread: Tab display problem

  1. #1
    Join Date
    Feb 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tab display problem

    1) Script Title: Tab display problem

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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).

    Code:
    <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

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    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

    Code:
    <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>

  3. #3
    Join Date
    Feb 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks
    ya its working great there.....

    Once again thanks

    Raj

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •