You need to hijax those links - has been answered quite a few times on
this already:
S('#foo').tabs({
load: function(e, ui) {
$('a', ui.panel).click(function() {
$(ui.panel).load(this.href);
return false;
});
}
});
Note to self: add to FAQ.
--Klaus
Chris schrieb:
> Hi,
>
> I'm using the jQuery UI tabs with ajax page loading.
> so this kind of code for the tabs
>
> <div id="example" class="mytabs">
> <ul>
> <li><a href="albums1.php">Album1</a></li>
> <li><a href="albums2.php">Album2</a></li>
> </ul>
> </div>
>
>
> Let's say that the tab displays pictures. If the user clicks on an
> image, I would like to open a new php file in the same tab (replacing
> the old content) displaying the pic and some infos
>
> How can I do that ?
>
> Thx
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---