Page Title script?
I'm looking for a script of some kind, that will take the Page Title, and automatically place it in an area or on a button, I have designated so the visitor will know what page they are at on the site at all times. (Just a handy nav tool.) I realize I could type it on each page, but I've seen this option in NetObjects Fusion, and wondered if there was a script out there that would do the same thing (using DW3 now).
Tia ...
------------------
Yours digitally,
Suzanna
Digital Web Gold, The Internet's Largest Source of Metallic Graphics
Digital Affects Design, Commercial & Linkware Graphics
Suzanna.Net, Web Development & Domain Hosting
Vincent Puglia posted this at 15:28 — 16th May 2000.
They have: 634 posts
Joined: Dec 1999
Hi Suzanne,
I do have a script that changes the title for IE -- "The Title Property" -- (netscape sees the title as read-only) at my site, but I've never tried it the other way around.
Anyway, the following should work:
document.formname.textboxname.value = document.title;
Simply put it between your head tags or document.write() it just after the html code that creates the textbox.
Vinny
------------------
GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Anonymous posted this at 19:54 — 16th May 2000.
They have: 5,633 posts
Joined: Jan 1970
You could do it with PHP or ASP as well.
------------------
Adam
AIS Internet Solutions
[email protected]
www.aisinternet.com
Arielladog posted this at 20:03 — 16th May 2000.
They have: 122 posts
Joined: Jun 1999
try this inbetween <body> and </body>:
<script language="javascript">
document.write(document.title)
</script>
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.