Hi John, The callback function changeSelectedTab, which is assigned as the default callback function, must be called when the selected tab changes for the tab appearance to properly update. This is because there is an extra element in the tabs outside of the scope of the default tab CSS, that isn't automatically updated when the selection changes. Therefore, in order to use your own callback function, you must call changeSelectedTab within it. Alternatively, you can add the behavior you need to changeSelectedTab if you wish to have it affect all tabs.
Best, Dan On Oct 1, 8:46 am, John Hoogstrate <[EMAIL PROTECTED]> wrote: > I am having a problem with the tabs feature. I created some tabs as > describes in the following article: > > http://code.google.com/apis/orkut/articles/tabs.htmland used the > reference > athttp://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.Tab... > > This seems to work fine. When I add a callback function to a tab it > works as expected, but appearance of the left side of the selected tab > does not change. > > This is an example, with the callback function on line 47, once removed > the tabs look good again. Selecting another tab by clicking on it you > can see that the tabs do not change completely but continue to work. > > http://youaks.com/api/orkut/tabs2.xml > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---