I managed to get Rolands tabs.js to work.  Essentially I added another
parameter to the addPanel function called relationship and then used that
in the new Element(). After Roland adds the Panel (creates a new tab) he
calls openPanel which will inturn call the AJAX call back.  Once there it
was easy to supply an AJAX script which then worked just like an existing
tab... actually pretty cool.

On Fri, Dec 28, 2012 at 10:10 AM, Phil Petree <phil.pet...@gmail.com> wrote:

> Hi All!
>
> I'm now looking for/at tab controls that support ajax calls.  The few that
> I've found are pretty static in that you can assign tab "A" to a specific
> AJAX request but you have no ability to dynamically create/destroy tabs.
>
> Think of the problem like this: you have a list of items (kits) and you
> want to view the contents of one of these kits so you click on the kit name
> and a user would expect a new tab to open and the contents of the kit to be
> displayed. The contents of the new tab will be a list of parts. Users will
> want to have more than one kit open at a time and, obviously, you don't
> want to download the contents of 10,000 kits.
>
> Another, simplier example might be like an inbox that list your emails and
> when you want to view one you click it and a new tab opens displaying the
> contents of the email.
>
> I found a great implementation by Rolan Franssen located here:
> http://roland.devarea.nl/work/tabs/
> and you can easily assign ajax calls to tabs, dynamically create / delete
> tabs etc. which is perfect for what I need except for one small, seemingly
> simple thing... I can't figure out how to get it to create a tab AND load
> the content via an ajax request and his code is a little out of my league.
>
> Does anyone know of a good tab control that can do this or has anyone
> modified Rolands code to do this?
>
> Thanks!
>
> Pete
> P.S. http://scripteka.com/ seems broken just like Walters scroll bars
> were... using ie9, you can't scroll the widgets list down.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to