CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Tab Menu

Print topic Send  topic

Author Message
kevind

Posts: 251
Posted: 11/18/2004, 9:04 AM

I'm doing up a tab menu that shows the active tab, sample page is here:

https://w86.webminders.com/rapidinvestigations/lscms/Ta...asp?ActiveTab=2

the record which contains the tab menu has a row of hidden fields which i use to set the value of the cell backgrounds of the row below - in that row i store the links. a parameter is passed to indicate the active tab and all others are set to inactive - a before show record event manages all that

problem is i cannot include this page, it errors out - as a stand alone page it works fine

is there any way around this ?

thanks
Kevin




_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message
zeuch


Posts: 25
Posted: 11/18/2004, 9:30 AM

kevin,
as a header page, if you have an includable page you must instance the parent variable.

The sample is in PHP, but you can easly change to ASP:

In BeforeShow event of header.php page
...  
global $header;  
if ( CCGetFromGet("active_tab","") == "2" ) {  
  $header->Link1->Visible = false;  
} else {  
  $header->Link2->Visible = false;  
}  
...  

The header page is an includable one and the other pages have the header page included.

Regards
_________________
Matheus Zeuch
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.