Dynamically generate tabs

A place for users and developers of the Xataface to discuss and receive support.

Dynamically generate tabs

Postby cantlep » Thu Sep 02, 2010 3:27 pm

Hiya,

Is there a way to dynamically generate tab names? Currently I have an app that logs workout related stuff. I've created 5 tabs currently named "Exercise1-5". Within those tabs, a user can select (from a dropdown) an exercise (it implies one exercise per tab) and then log the wieght and repetitions, etc. This is cool...however, what would be cooler is..on the "__main__" page, a user can select a body part/muscle group and then be presented with some tickboxes containing the related exercises...then based on what they select, when they click next, have the tabs auto generated on the fly with the names of those exercises and the content of the tabs just requiring "weight and reps".

I guess it'll be some JS/Ajax magic that's miles out of my league..but on the off chance it's possible/someone else has done something similar...I thought I'd ask :-)

Cheers

Paul
cantlep
 
Posts: 172
Joined: Fri Mar 05, 2010 2:14 am

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved