|
| |
|
|
avilla
Posts: 37 From: Oranjestad, Aruba Status: offline
|
Using <TITLE> as a string - 3/25/2002 15:14:48
Hi, Is it possible to use the content of the Title tag as a string so I can subsequently use it in my page? For example: The text in the Title tag is: <TITLE>MyPage</TITLE> Later in the page I would like to place the text "MyPage" into a table. Can that be done? I would supose that this is possible with JavaScript, or something similar? Thanks Armando A. Villasmil Jr.
|
|
|
|
Shirley
Posts: 3127 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: Using <TITLE> as a string - 3/26/2002 1:00:01
Been thinking about this and the only way I can think to do it would take waaaaaaay longer than just typing the words. Maybe if I knew more about what you are trying to accomplish it would help. Shirley Nobody realizes that some people expend tremendous energy merely to be normal. Money Tree Web Design
|
|
|
|
Spooky
Posts: 26606 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: Using <TITLE> as a string - 3/26/2002 3:29:58
It can be done via JS, Im just trying to find an example how its done. In the meantime - Why? :) From memory, its <script> document.write(document.title) </script> §þððk¥ Database / DRW Q & A VP-ASP Shopping cart Spooky Login Edited by - Spooky on 03/26/2002 03:36:15
|
|
|
|
avilla
Posts: 37 From: Oranjestad, Aruba Status: offline
|
RE: Using <TITLE> as a string - 3/26/2002 8:57:47
Why? Because I want to include a title on every page. So that when you are at the home page the title of the page appears at the top of the page. And if you link from there to a page with the title "something" something appears on the top part of the page. This way the user always knows where he/she is, and I don't have to type it twice for every page. On the other hand it is good to know you can do something like that. Thanks, Armando A. Villasmil Jr.
|
|
|
|
Mike54
Posts: 4791 Joined: 3/26/2001 From: Way Up Over Status: offline
|
RE: Using <TITLE> as a string - 3/26/2002 10:34:07
If you're creating a navigation structure in FP you could just insert a "text" page banner. As long as the page were in the nav structure the title would appear where you inserted the banner. ah reckon, tharfo'e ah's, ah reckon.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|