Hi again,
Just one thing. I noticed that this only works the first time you
click a link. Any subsequent links open to a new page instead of the
tab. It was quite easy to fix with livequery though, giving the
following code:
$(document).ready(function(){
$('#example > ul').tabs({
No problem - that happens quite a lot. I've no problem with being
mistaken with Karl, the jQuery Karl, hehe ;-)
--Klaus
On Sep 8, 1:20 pm, Daniel Beard <[EMAIL PROTECTED]> wrote:
> Sorry, I meant Klaus!
>
> I get called David a lot
>
> Daniel
>
> On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECT
Sorry, I meant Klaus!
I get called David a lot
Daniel
On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> You need to ajaxify those links after the content has been loaded:
>
> $(function() {
> $('#example').tabs({
> load: function(e, ui) {
> $('a', ui.panel).
Thank you very much Karl, that worked perfectly!
Daniel
On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> You need to ajaxify those links after the content has been loaded:
>
> $(function() {
> $('#example').tabs({
> load: function(e, ui) {
> $('a', ui.panel).clic
You need to ajaxify those links after the content has been loaded:
$(function() {
$('#example').tabs({
load: function(e, ui) {
$('a', ui.panel).click(function() {
$(ui.panel).load(this.href);
return false;
});
}
});
}
5 matches
Mail list logo