[jQuery] Re: Tabs ui links

2008-09-10 Thread Daniel Beard
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({

[jQuery] Re: Tabs ui links

2008-09-08 Thread Klaus Hartl
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

[jQuery] Re: Tabs ui links

2008-09-08 Thread Daniel Beard
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).

[jQuery] Re: Tabs ui links

2008-09-08 Thread Daniel Beard
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

[jQuery] Re: Tabs ui links

2008-09-07 Thread Klaus Hartl
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; }); } }); }