I think I\'ve seen this answer, but I can\'t remember where for certain.
I\'m trying to to create a tabbed panel interface using the GUI Builder, but don\'t see that
The following code makes the tabs, based on the array you put in, dynamically:
function doGet() {
// create application
var app = UiApp.createApplication();
// set array
var aTabs = ['donald','katrijn','dagobert'];
// create tab panel
var pTab = app.createTabPanel();
// add tabs to panel
for(var k=0; k
See link for tabPanel reference.
Publishing your script as a web-app, allows you to insert the script on a google sites.