Talk:Fb:tab-item
From Facebook Developer Wiki
I would like to have a "disabled" option. That is, a nav tab link which is as Groups does for creating a new group, where the user is walked through a sequence of pages, with nav tabs disabled on this pass. The tab appearance is the same, but greyed out, as a later visit to the page will provide.
one minor suggestion, i wanted my selected tab to be page-aware, so i did something along the lines of the following:
$page = basename($_SERVER['SCRIPT_NAME']);
<fb:tabs>
<fb:tab-item
href='home.php'
title='Home'
/>
<fb:tab-item
href='contribute.php'
title='Create or Contribute'
<?=($page=="contribute.php")?'selected="true"':''?>
/>
<fb:tab-item
href='read.php'
title='Read and Share''
<?=($page=="read.php")?'selected="true"':''?>
/>
</fb:tabs>
might make sense to to just have a value for the selected attribute which is "auto" which detects if the href and the selected page are the same and handles this so we all dont duplicate this. clearly not a big deal but not without some merit ...
What about using Dynamic FBML in the tab title ?
I'd I want to use fb:name (+Some more text) in the "title" property.
Any chance of this working sometime ?
No support for onclick??
It would be great if support for the requirelogin attribute was added.
Tooltips would be a great touch too... --1098720287 20:03, 4 August 2009 (PDT)
