Results 1 to 4 of 4

Thread: Tab Content Script - Turn off "Optional tab persistence feature"

  1. #1
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Tab Content Script - Turn off "Optional tab persistence feature"

    1) Script Title: Tab Content Script (v 2.0)

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

    3) Describe problem:

    We want to disable the optional tab persisence feature so when a user reloads the page, revisits a page, or what not it will automatically begin on the first tab again. Right now, it remebers where you were, even when going on to the next page.

    The script details highlights that it can do this, but we do not want it to. Can anyone HELP!!!

    Example:
    http://www.beachbrides.net/long_casu...ding_gowns.htm

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In this line of code, set the highlighted item to false.

    Code:
    <script type="text/javascript">
    
    var myflowers=new ddtabcontent("flowertabs")
    myflowers.setpersist(true)
    myflowers.setselectedClassTarget("link") //"link" or "linkparent"
    myflowers.init()
    
    </script>
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Yes - You are the bomb

    That should be added to the instructions eh?

  4. #4
    Join Date
    Aug 2004
    Posts
    9,890
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    Quote Originally Posted by vlane95678 View Post
    That should be added to the instructions eh?
    It is though: http://www.dynamicdrive.com/dynamici...suppliment.htm

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
  •