kklou
Posts: 4
|
| Posted: 07/08/2007, 10:22 PM |
|
Hi, CCS expertises,
i need to dynamically change the HTML <head>contents</head> by CCGetFromGet ('X') or CCGetFromPost('X').
Pls advise how to achieve it.
for example:
if X=0, show the <script> and the <link> tags and their contents.
if X=1, no <script> and <link> tags and their contents in the output HTML, even no <head>...</head>
I need these in PHP language.
thanks in advance.
|
 |
 |
DonB
|
| Posted: 07/09/2007, 8:31 AM |
|
The entire html file is a 'template', so you can add to, remove from, or
modify what's there. Using label controls - that you assign values to at
run time - is one way to do what you indicated. Just strip the head from
the template, put in a Label and then add a Before Show event to the label.
Similarly, a template variable and code in the page's Before Show event
could be used.
--
DonB
http://www.gotodon.com/ccbth
"kklou" <kklou@forum.codecharge> wrote in message
news:54691c62aa6ac4@news.codecharge.com...
> Hi, CCS expertises,
>
> i need to dynamically change the HTML <head>contents</head> by
CCGetFromGet
> ('X') or CCGetFromPost('X').
> Pls advise how to achieve it.
> for example:
> if X=0, show the <script> and the <link> tags and their contents.
> if X=1, no <script> and <link> tags and their contents in the output HTML,
even
> no <head>...</head>
> I need these in PHP language.
>
> thanks in advance.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |
kklou
Posts: 4
|
| Posted: 07/09/2007, 8:21 PM |
|
thanks for your quick response. Will try your suggestions first.
thanks again.
|
 |
 |
|