Are you using the gadgets.Tab and gadgets.TabSet libraries to display your tabs? In this case, you don't need separate pages -- all you need are two div elements. The libraries handle the automatic hiding of the divs that aren't in focus, and I would highly recommend this technique rather than building separate pages since the user experience is better.
Here's some code to get you started. Make sure to include <require feature="tabs"/> in your ModulePrefs block and stick this snippet in your onLoad handler: var tabs = new gadgets.TabSet(); var upload_tab_container = document.getElementById('uploadTabContainer'); var content_tab_container = document.getElementById('contentTabContainer'); tabs.addTab('My Content', {contentContainer:content_tab_container}); tabs.addTab('Upload', {contentContainer:upload_tab_container}); tabs.alignTabs('left'); - Jason On Aug 29, 4:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi > > I newly started on open social. I got a requirement where the user > can see different pages on different tab clicks. Our Application will > have my content tab and the upload. On load of my application it > shows > by default the my content tab and when I click the upload tab it > should load upload page and if I click on my content tab it shows my > content page. > How can I do it. I found that in the open social documentation there > is linking pages in the application in this link: > > http://code.google.com/apis/orkut/docs/orkutdevguide.html > > Here I don't understand that where do we define the pages f.e If send > page value as upload then where do we define the that this particular > page is upload page. HOw the application will load automatically the > upload page or my content page. > > Can anyone give me some examples. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---