Google Groups Home
Help | Sign in
Message from discussion Google Gadgets API Update: New Features 10/31/2006
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Justin McConnell  
View profile
 More options Nov 6 2006, 8:04 pm
From: "Justin McConnell" <bool...@gmail.com>
Date: Tue, 07 Nov 2006 01:04:21 -0000
Local: Mon, Nov 6 2006 8:04 pm
Subject: Re: Google Gadgets API Update: New Features 10/31/2006

pamela....@gmail.com wrote:
> Here are the functions I think should be added:
> 1) Remove tab
> 2) Rename tab (if you have remove, rename may not be needed)
> 3) Specify div to place tabs -- so that entire gadget isn't encompassed
> by the tabs

Agreed on all three.  I would also love the ability to:
1) Use HTML in the tab titles and not just plain text.
2) Tooltips for tabs
3) Pass arbitrary CSS to an individual tab -- most notably so we can
control the width of each tab.  Or inversely, assign IDs to the
individual TD tags that make up the tabs.  Then we could edit the
styles ourselves.

For now, I think I will implement 1 and 2 for myself.  A quick look at
their code and it doesn't seem like it will be too hard.

> If there is some way of removing or renaming tabs that I missed, please
> let me know.

Nope.  From what I can tell, you can't do that even with unofficial
javascript calls.

> Also, unrelated note-- since there's a shortcut for
> document.getElementById, can we get a shortcut for
> document.createElement (e.g. cel("DIV"))? Just looks awkward for the
> shortcut _gel to be next to doc.createElement.

function _cel(tagName) { return document.createElement ?
document.createElement(tagName) : null; }

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google