jQuery UI Tabs(ajax): Open a link in the current tab

jQuery UI Tabs(ajax): Open a link in the current tab

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