Need customization for dynamic content script

Discussion in 'JavaScript' started by miodrag, May 24, 2006.

  1. #1
    Hello!

    I am using script: contentdivider.js displayed and downloadable from:
    http://www.javascriptkit.com/script/script2/contenttabs.shtml

    It crates wiki-like tabs for switching content.
    Works OK, but I can not use it because it ruins my design.
    It creates 1) tabs at the top and 2) links at the bottom by it's own whim.
    I need exactly the same effect, just without any of these elements generated by the script.
    Instead, I need my own links to switch the content.

    There are lines in the script:

    linkshtml+='<span class="tabstyle" onClick="expandone('+i+');highlightone('+(i-1)+')"><b>Page
    '+i+'</b></span>'

    linkshtml2+='<a href="#" class="tabsfootstyle" onClick="expandone('+i+');highlightone('+(i-1)+');return
    false">Page '+i+'</a> '

    First line creates tabs, second - text links.
    I need those disabled, without effecting the script.
    And if I use the second line as my <a href="#" etc...> link - it does not work.
     
    miodrag, May 24, 2006 IP