O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Basic Gadget

Here is the gadget we will use as a foundation for the tab examples that follow:

<Module title="Tabs Example">
   <ModulePrefs>
      <Require feature="tabs" />
   </ModulePrefs>
   <Content view="canvas">
      <![CDATA[
      ... Content ...
      ]]>
   </Content>
</Module>

This gadget includes a Require element that will integrate the OpenSocial tabs JavaScript library and a Content section for a canvas view.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required