Results 1 to 7 of 7

Thread: Tab Content Script help

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

    Default Tab Content Script help

    1) Script Title: Tab Content Script

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

    3) Describe problem: class="selected" is not working for me. in ie and firefox, it loads all tabs at once. after i refresh, i works great. here is the link: http://www.cfr.msstate.edu/test/summit/

    any help would be greatly appriciated.

    by the way, your site is awesome, i was amazed to find a site with so many good scripts.

    - john

  2. #2
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Tab content; similar problem with class="selected"

    1) Script Title: Tab Content Script

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

    3) Describe problem: class="selected" is not working for me.

    4) my URL: http://www.meanpony.com/phpmod/template06.php


    Despite setting the selected class option for the 1st tab & using
    the persistence default in the .js file, no tabs open to content on
    initial load of the page. (only tab headings appear w/ empty content box)

    Clicking any tab does open the content boxes correctly.

    Any clues or browser reports of bugs using FF & Safari?

    thanx in advance,
    sWitt

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Switt:
    There's an error in your tab menu list HTML, specifically, the last one:

    Code:
    <li class=""></li>
    It should not be empty like above. Either remove it, or add to it the missing portions inside it (<a> tag).

  4. #4
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi guys, great site, fantastic resource, thanks for all the good work.

    On the tab content script, how do you get the tabs to appear vertically down the left hand side instead of horizontally?

    Cheers

    V808

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    how do you get the tabs to appear vertically down the left hand side instead of horizontally?
    Please start a new thread when asking your own question about a script on DD. To your question, there's no "roadmap" to doing this. You can certainly try playing around with the CSS for the tabs, and replace the text inside each tab with a graphic that's flipped vertically instead.

  6. #6
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much, I will try playing with it and see what I can manage. I'll be sure and post a new thread if I can't do it though.

    Cheers

  7. #7
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Re: #3

    thanks,

    missed the empty HTML tag, your suggestion solved the prob.

    sWitt @ meanpony

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
  •