Design903

Select a Tab in CF8 +

Today I needed to select a tab that was created using the built-in ColdFusion tabs with cflayout. I had never had this request before but found a quick and easy solution. The ColdFusion.Layout.selectTab function made short work of it.

<a href="javaScript:ColdFusion.Layout.selectTab('tablayoutname','tabname')">Click Here</a>
Replace tablayoutname name with the name of your cflayout and replace tabname with the name for your cflayoutarea.

When the link is clicked, it selects the tab and displays it's contents.

It is a very simple but useful function.

Comments
Web Design Company Serving:

Longview
Tyler
Kilgore
Marshall
Jefferson
Texarkana
Nacogdoches
Lufkin
East Texas

© 2009 JMP Consulting, Inc. dba Design903 - Longview, Texas Web Design

Home | Contact Us | Site Map | Work | Services | Pricing