----- Original Message -----
From: "Amrit Hallan" <[EMAIL PROTECTED]>
> 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.
Doing it a little differently, you can pick up a lot of the HTTP variables
like the script name from the ServerVariables collection. For instance you
could use:
thisPage = Request.ServerVariables("SCRIPT_NAME")
to identify the actual file name of the page that's running, but if you type
"servervariables" into Google you'll get a whole page of links to
documentation and tutorials on all the lots and lots of information in this
collection.
Or, if you have time to edit all the pages, you could simply put a little
extra ASP code in each page at the very start:
<% thisPage = "home" %>
Then your menu code checks the value of thisPage
Bj
____ � 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]