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
|
 |
 |
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 |
 |
 |
|