Results 1 to 2 of 2

Thread: Dynamic persistence

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default Dynamic persistence

    1) Script Title: Ajax Tabs Content script

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

    3) Describe problem:
    Can i change the persistence of this script based on where the user clicks?
    e.g.
    If the user clicks on a link in the drop down menu it will disable the persistence
    and if the user click on one of the tabs it will enable the persistence

    need to change "var enabletabpersistence=0" to "var enabletabpersistence=1" depending on the link clicked.

    Maybe onClick=, ?
    sorry i'm not too good at javascript
    Last edited by jc_gmk; 10-08-2007 at 10:40 AM.

  2. #2
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    I'm still looking to solve this problem though i have narrowed it down somewhat.

    All i need the answer to now is:

    Can I click on a tab to change a variable on the current page?

    As the tab does not reload the page i cannot use $_GET['something'];

    Is there anything else I can use? Javascript?

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
  •