469,927 Members | 1,874 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

dynamically modify text within the <title> tag

Hi,

I would like to modify the text within an html title tag based upon a
value read from the registry (or the existence of a certain file).

For example, if a certain registry value is equal to 1 then the title
should be <title>blah blah App1</title> otherwise the title should be
<title>blah blah App2</title>.

Could someone recommend a way within the html page to do this?

Thanks very much,
Irene
Jul 20 '05 #1
2 2840
Quoth the raven named Irene:
Hi,

I would like to modify the text within an html title tag based upon
a value read from the registry (or the existence of a certain
file).
What will you do for a visitor that doesn't have a registry?
For example, if a certain registry value is equal to 1 then the
title should be <title>blah blah App1</title> otherwise the title
should be <title>blah blah App2</title>.

Could someone recommend a way within the html page to do this?
HTML is only markup; it can't /do/ anything. Server-side processing
has capabilities, but if your page tried to read my registry... well,
it couldn't.
Thanks very much, Irene


You're welcome.
--
-bts
-This space intentionally left blank.

Jul 20 '05 #2
ir********@yahoo.com (Irene) wrote in news:6ca93327.0312041410.d12c1d4
@posting.google.com:
Hi,

I would like to modify the text within an html title tag based upon a
value read from the registry (or the existence of a certain file).

For example, if a certain registry value is equal to 1 then the title
should be <title>blah blah App1</title> otherwise the title should be
<title>blah blah App2</title>.

Could someone recommend a way within the html page to do this?

Thanks very much,
Irene


I guess you might be able to do something with an ActiveX Control, But even
then it would be tricky. Might be easyer to program your own browser or
customize one for your needs.

http://www.mozilla.org/developer/

http://msdn.microsoft.com/workshop/b..._control_node_
entry.asp

--
News Updater, No scripts, No Database
http://www.xmlssoftware.com/NUpdater
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by mark | last post: by
5 posts views Thread by Info 3000 | last post: by
1 post views Thread by Andreas Klemt | last post: by
8 posts views Thread by DC | last post: by
1 post views Thread by Carlo Marchesoni | last post: by
13 posts views Thread by guitarromantic | last post: by
15 posts views Thread by Steve B | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.