the code you posted is invalid (probably just bad copy-paste?), so i
will post working code for the test case:

<cflayout name="borders" type="border">
<cflayoutarea name="center" position="left" style="width:100px;">
   <cfoutput><a href="##"
onclick="ColdFusion.navigate('page.cfm?id=#id#',
'feedTabTwo');ColdFusion.Layout.selectTab('tabs', 'feedTabTwo');">nav
1</a></cfoutput>
</cflayoutarea>
<cflayoutarea name="center2" position="center">
    <cflayout name="tabs" type="tab">
   <cflayoutarea title="TAB1" name="feedTabOne" overflow="hidden" /> 
   <cflayoutarea title="TAB2" name="feedTabTwo" overflow="hidden" />
    </cflayout>
</cflayoutarea>
</cflayout>

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Matthew Allen wrote:
> Hi,
>
> This is my first ever foray into ajax in CF. If I have a set up as below;
>
> <cflayoutarea position="center" name="center">
>    <a href=##" onclick=ColdFusion.navigate('page.cfm?id=#id#')>nav 1</a>
> </cflayoutarea>
> <cflayoutarea position="center" name="center">
>    <cflayoutarea title="TAB1" name="feedTabOne" overflow="hidden" />  
>    <cflayoutarea title="TAB2" name="feedTabOne" overflow="hidden" />          
>          
> </cflayoutarea>
>
> What do I do to make TAB2 opens when I click on the link, at the moment TAB2 
> does not open until I click on the TAB2 tab.
>
> Thanks,
>
> Matt
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320312
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to