Log in | Register | Lost password

Bottom
Pagesetter : Use ajax tab to separate database request
  • Posted: 11.05.2007, 10:42
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,

    My last template was too long to load because of number of request to display the lot of child (parent/child relation). There was until 200 request to display a publication !
    The only solution that I've found is to use an ajax tab to seperate requests of differentes inlinePubList.
    The ajax tab script that i've found works like that :

    Code

    <ul id="maintab" class="shadetabs">

    <li class="selected"><a href="#default" rel="ajaxcontentarea">Intro</a></li>

    <li><a href="external.htm" rel="ajaxcontentarea">Bird</a></li>

    <li><a href="external2.htm" rel="ajaxcontentarea">Dog</a></li>

    <li><a href="external3.htm" rel="ajaxcontentarea">Cat</a></li>

    <li><a href="external4.htm" rel="ajaxcontentarea">Sea Otter</a></li>

    </ul>

    Where wich external.htm is a different page.

    So my question is : what can I need to put in different external.htm to display my inlinePubList ?

    Thanks for your help

    NB : I use this script : http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

    (NB : Comme ca sera surement encore Videokid qui va me r?pondre, si jamais mes explications ne sont pas clairs et que tu veux bien m'aider, tu peux me contacter par mail starguezer [_AT_] gmail [_DOT_] com)

Template courtesy of Designs By Darren.