Forums

This topic is locked

How to Display Full file Path in the Title Bar

Posted 21 Sep 2004 05:41:41
1
has voted
21 Sep 2004 05:41:41 L Chea posted:
Does anyone know how to display the full file path of a web page in the Dreamweaver MX 2004 Title bar?

If so, please share. Thank you.

Replies

Replied 22 Sep 2004 01:22:47
22 Sep 2004 01:22:47 Rene Bandsma replied:
What to you want to have in your title bar?

<ul><li>Full URL (www.dmxzone.com) or</li><li>Full path (c:\inetpub\wwwroot\index.asp) </li></ul>

The first thing, the URL, is displayed when you have nothing in your &lt;title&gt;&lt;/title&gt; HTML code. The second thing, the full path on your server, can be done by ASP with the Request.Servervariables
Replied 22 Sep 2004 11:21:21
22 Sep 2004 11:21:21 Lee Diggins replied:
The second option, not a good idea unless it's for your eyes only

Digga

Sharing Knowledge Saves Valuable Time!!!
Replied 22 Sep 2004 20:07:58
22 Sep 2004 20:07:58 Rene Bandsma replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
The second option, not a good idea unless it's for your eyes only

Digga

Sharing Knowledge Saves Valuable Time!!!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I agree!
Replied 30 Oct 2007 11:42:51
30 Oct 2007 11:42:51 Lee Diggins replied:
&lt;%
Dim strTitle
strTitle = Request.ServerVariables("PATH_TRANSLATED"
%&gt;
&lt;title&gt;&lt;%= strTitle %&gt;&lt;/title&gt;


Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>

Reply to this topic