Setting title on window requiring plug-in via javascript.

C

cdmason

My javascript is pretty rough, I'm primarly a PHP user, so I hope this
isn't an obvious question.

I'm working on a large website that features links to several uploaded
..pdf and .doc files.
These links do not automatically spawn a new window, though generally
the user opens them in tabs in Firefox or Safari.

The user has requested that when a .pfd or .doc file is opened in a tab
(via a broswer plug-in) that the title of the tab be set to a given
variable (rather than the name of the file, as is the current default).

Currently the site is all in mysql/php and basic HTML. I don't believe
this is possible in those languages, but I'm hoping a little javascript
could set the title of the new page, without changing the way the
browser handles the file types or involving a major rewrite.

Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,938
Members
47,482
Latest member
solbuggy09

Latest Threads

Top