In addition, I'm not sure if you really need the tabs plugin if you
just need to load content into a single div...:

var $a = $('ul a').bind('click', funtion() {
    $a.removeClass('selected');
    $(this).addClass('selected');
    $('#load-here').load(this.href);
    return false;
});


--Klaus


On Feb 4, 5:35 pm, Lion29 <[EMAIL PROTECTED]> wrote:
> @Klaus:
>
> On Feb 3, 7:42 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > On Feb 2, 2:58 pm, Lion29 <[EMAIL PROTECTED]> wrote:
>
> > > 1. Right now thetabsfunction that upon every ajax load the new
> > > content is ADDED to the DOM (even if the new loaded content is in
> > > conflict with already loaded - same ids for example)
> > > It would be nice to have the option to settabsto laod the content
> > > into the same placeholder... and to empty its content first (so to
> > > replace it's content and not just add it)..
>
> > That doesn't make sense to me. Each tab represents a section in the
> > document (which is identified with a fragment identifier). Imagine you
> > had in-pagetabs. It wouldn't make any sense if all thesetabswould
> > point to a single fragment, e.g. div element.
>
> Your logic would be correct if we were talking ONLY for page
> seggments.... But why add ajax option to the tabs then if ajax loads
> the content after...
> So In my opinion having the ajax option it would be nice to have that
> option too... I am sure it will be usefull to others, not only to me

Reply via email to