Jul 29

As part of my Google I/O talk on “Anatomy of a Great Extension“, I talked about the optimal look & feel for Wave gadgets. On one hand, if your Wave gadget is based off an existing website, like the 6Rounds gadget, then we recommend mimicing the UI of your website inside the gadget, so that your existing users feel like they’re using an extension of your website into Wave. On the other hand, if your Wave gadget is independent and designed purely for Wave, like many extensions in the gallery, then we suggest mimicing the UI of the Google Wave client itself, so that users feel like the gadgets fit inside their environment, and so that waves with multiple independent gadgets look cohesive. To make that easier for developers, we’ve introduced a new feature to the Wave Gadgets API, the wave.ui library, which makes it easy to turn your gadget elements into wave-styled elements.

For example, you might start with an anchor with some javascript onclick behavior:

<a id="button" href="javascript:void(0)" onclick="doIt()">Do Cool Stuff!</a>

You can then call makeButton and pass in the anchor element:

<script>
wave.ui.makeButton(document.getElementById("button"));
</script>

And, presto, your button will be wave-styled like this:

The wave.ui library also offers the loadCss, makeDialog, and makeFrame methods, and will expand to include additional methods as needed by developers.

For examples of gadgets using the new wave.ui library, check out the Flammard bible bot, which uses makeFrame for a multi-tabbed interface, or the Google Maps gadget, which uses makeDialog for a welcome screen and makeButton for the info window buttons.

As usual, please let us know in the forum how you’re using this feature and if you have any questions.

Enjoy wave-styling!

No tags for this post.

Related posts

Tagged with:
Jul 29

KOMO News

Microsoft's Ballmer: Windows 7 slates are 'job number one'
ZDNet (blog)
Execs also demonstrated Windows Live Wave 4 services at FAM, playing up how these kinds of services turn a PC into a “personal cloud.” Windows Live Wave 4
Ballmer talks up Microsoft's consumer businessCNET
Steve Ballmer has one more chance to save his jobBetaNews

all 236 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 29

Google: The search party is over
Fortune
There is (at long last) fresh competition from Microsoft's Bing, and also a new wave of sites and services that offer alternatives for consumers' time and

and more »

No tags for this post.

Related posts

Tagged with:
Jul 29

EtherPad for Distributed Notetaking – Recommended!
CurrentMom
EtherPad is a technology, it turns out, that was bought by Google and incorporated into Google Wave. Once upon a time I was enthusiastically looking forward

No tags for this post.

Related posts

Tagged with:
Jul 29

Samsung mobile phones – wave , galaxy 3 or samsung portal, with free gifts and
PR-Services (press release)
The Main thing is that samsung galaxy is specially approved by Google.The best part of the phone is, it can be used as a contact phone as well as a pay as
Samsung Phones Now GBP 20 a Month at Tesco Phone ShopNewsyStocks.com

all 13 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 29

Mobile Computing News

Samsung mobile phones – wave , galaxy 3 or samsung portal, with free gifts and
Business Urls (blog)
Thе Main thing іѕ thаt samsung galaxy іѕ specially approved bу Google.Thе best раrt οf thе phone іѕ, іt саn bе used аѕ a contact phone аѕ well аѕ a pay аѕ
Nokia continues on the road to ruinInquirer

all 320 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 29

The Guardian

Samsung Wave is simply amazing
Economic Times
It's mediocre to say the least when compared to the latest OS rage, Google's Android. If the Bada platform had been launched say a year or two earlier,
Samsung Wave mobile phoneThe Guardian
Lifetime Route 66 navigation now available for the Samsung Wave from 30 eurosUnwired View
Samsung reveals top 10 appsMobile Business Briefing (blog)

all 15 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 29

Google: The search party is over
Fortune
There is (at long last) fresh competition from Microsoft's Bing, and also a new wave of sites and services that offer alternatives for consumers' time and

and more »

No tags for this post.

Related posts

Tagged with:
Jul 29

Author: RihaanShim

Keywords:

Added: July 29, 2010

Jul 29

CBS News

Facebook Personal Info of 100M Users Published
CBS News
Earlier this year, Facebook was forced to streamline its privacy controls after a small wave of user ire about the site's default settings.

and more »

No tags for this post.

Related posts

Tagged with:
preload preload preload