Results 1 to 3 of 3

Thread: Using the REV parameter?

  1. #1
    Join Date
    Feb 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Using the REV parameter?

    1) Ajax Tabs 2.0

    2) http://dynamicdrive.com/dynamicindex...uppliment3.htm

    3) Is there any way to use the nicely implemented REV parameter when just loading a new ajaxpage?
    I have a DIV that I want to update (or switch to another DIV) when we refresh the ajaxpage but not necessarily when the tab is clicked.

  2. #2
    Join Date
    Feb 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Had a look through the source and from what I can understand.
    This should be ok:
    Code:
    instance.expandrevcontent(",REVid1,[REVid....]");

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

    Default

    Yep, you should be able to call:
    Code:
    instance.expandrevcontent("revid1, revid2")
    This would directly expand the two DIVs with IDs "revid1" and "revid2", assuming both IDs are defined as one of the DIVs to expand within the Tab HTML:

    Code:
    <ul>
    <li><a href="external1.htm" rel="flowerdivcontainer" class="selected">Tab 1</a></li>
    <li><a href="external2.htm" rel="flowerdivcontainer" rev="revid1, revid2">Tab 2</a></li>
    <li><a href="external3.htm" rel="flowerdivcontainer">Tab 3</a></li>
    <li><a href="external4.htm" rel="flowerdivcontainer">Tab 4</a></li>
    <li><a href="http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/">Ajax Tabs script</a></li>
    </ul>

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
  •