Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Help needed with DD Tab Content Menu

  1. #1
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help needed with DD Tab Content Menu

    1) Script Title:
    Tab Content Script (v 2.2)
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tabcontent.htm
    3) Describe problem:
    Quite simply, I have followed the instructions correctly, but when I load the page the content is not there (nor is it in the 'live view' option in Dreamweaver), and when I click on any of the tabs, still no content shows.

    Any suggestions would be appreciated.
    -Quilford

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'll upload the test page.
    http://www.spacetojump.com/games/testpage.html
    there you go

  4. #4
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there any fix?

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

    Default

    On this line inside your page:

    Code:
    var myflowers=new ddtabcontent("flowertabs") //enter ID of Tab Container
    "flowertabs" needs to be changed to the ID of your tabs container.
    DD Admin

  6. #6
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I applied your fix and updated the page, however it still does not work.

  7. #7
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any other suggestions?

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

    Default

    Ah yes, your initialization code is currently defined in the HEAD section of the page. It should be defined following the tabs and tab contents on your page:

    Code:
    <script type="text/javascript">
    
    var myflowers=new ddtabcontent("countrytabs") //enter ID of Tab Container
    myflowers.setpersist(false) //toogle persistence of the tabs' state
    myflowers.setselectedClassTarget("link") //"link" or "linkparent"
    myflowers.init()
    
    </script>
    DD Admin

  9. #9
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    not working, unfortunately

    any other suggestions?

  10. #10
    Join Date
    May 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    or not?

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
  •