You are here: Re: Get Title of the same page « HTML « IT news, forums, messages
Re: Get Title of the same page

Posted by Roy Schestowitz on 09/09/05 11:18

__/ [I_love_php] on Friday 09 September 2005 08:43 \__

> I want to print the title from the same page .. is there is anyway
> using HTML ? javascript or PHP ??

PHP - It is rather easy using PHP. Define some function outside your page/s,
then call it appropriately and push its output between <title> and </title>

HTML - You can have a process like a cron job regenerate the HTML file, but
otherwise it would be strictly static, i.e. one fixed title.

JavaScript - There might be a specialised method for changing titles, but I
doubt it. If it existed it would cause inconsistencies. Page titles are
fetched once at the beginning. Am I wrong in imagining or remembering NS/IE
with titles that were marquees? Was it just status bars?

Roy

--
Roy S. Schestowitz | chmod a-r *.mbox
http://Schestowitz.com | SuSE Linux | PGP-Key: 74572E8E
9:10am up 15 days 11:02, 3 users, load average: 0.83, 0.71, 0.64

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация