Sorry for the OT.

I have this example:

<div id="example" class="flora">
                <ul id="tabs">
                        <li class="on allarga_tab_100"><span><a
href="movimenti.htm">MOVIMENTI</a></span></li>
                        <li class="allarga_tab_120"><span><a
href="dettaglio_saldo.htm">DETTAGLIO SALDO</a></span></li>
                        <li class="bonusbutton allarga_tab_100"><span><a
href="bonus.htm">BONUS</a></span></li>
                </ul>
        </div>


        <div id="container">
                <iframe id="iframeContained"></iframe>
        </div>
        </body>

I would like to load every tab content (movimenti.htm/
dettaglio_saldo.htm) in the iframe contained in the div container.

I tried like this as described above:

       $tabs = jQuery("#example > ul").tabs();

        $("#tabs a").click(function() {
                $.get( $(this).attr("href"), function(data) {
                        $("#iframeContained")[0].contentDocument.body.innerHTML 
= data;
                  });
          return false;
        });

But this is not working.
Here you can find this test case.

http://m4zi.ucoz.com/tabs/containerTabs.htm

Any suggstion?

Kind regards

Massimo

On Jan 29, 1:10 pm, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
> Well, with Tabs 2 you could actually do:
>
> $('#box').tabs({ remote: true });
>
> --Klaus
>
> On 29 Jan., 13:08, jampov <jam...@gmail.com> wrote:
>
> > I love you stepahn. A million thanks.

Reply via email to