Amrit, I don't 'do' ASP, so I can't help there, but what you are
asking can easily be done with extended SSI calls like this:

<!--#if expr="${DOCUMENT_NAME} != index.shtml" -->
   <a href="/index.shtml"><img src="indeximage.gif" border="0" width="100"
    height="23" alt="Home"></a>
<!--#else -->
   <img src="indeximage.gif" border="0" width="100" height="23" alt="Home">
<!--#endif -->

The code will display the image as a link if the page's filename is
anything except 'index.shtml', and will only display the image
(without the link code) if the loaded page's filename actually *is*
'index.shtml'.

Cheers,
Tom Fosson

At 09:25 PM 09/06/2002 +0530, you wrote:
>I had sent a post but it bounced back.
>
>In JavaScript, we can get the title of a particular page from
>document.title. How can we do it in ASP? I want to write a navigation bar in
>ASP and I don't want the buttons to be active if they are of a certainly
>titled page. I don't want to JavaScript.
>
>Thanks.
>
>Amrit Hallan


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to