MahendraMahey
Programmer
I am a newbie to vbscript and asp but let me try and explain what I want to do.
I want use the Page Title, assign it to a variable and then use it to display a navigation link as active or not.
For example:
If the page title is 'International news'
There are links on the page that say:
Home Regional National International
What I want:
Assign the page title to a variable
If variable="International news' then display 'International'
Else display '<A HREF="../international/index.asp">International</A>'
How would I do this? If you could give me an example of real code on how this would work I would be really grateful.
Thanks
Mahendra
I want use the Page Title, assign it to a variable and then use it to display a navigation link as active or not.
For example:
If the page title is 'International news'
There are links on the page that say:
Home Regional National International
What I want:
Assign the page title to a variable
If variable="International news' then display 'International'
Else display '<A HREF="../international/index.asp">International</A>'
How would I do this? If you could give me an example of real code on how this would work I would be really grateful.
Thanks
Mahendra