![]() ![]() |
Sep 27 2004, 11:11 PM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 251 Joined: 9-July 04 From: New York Member No.: 170 |
To get the article's title in the browser's title without having to make some title template and including it within the <title></title> tags, in any template you wish to use, edit the Full Story subtemplate, and anywhere add this:
CODE <script type="text/javascript"> document.title = "{title}"; </script> And that makes the title of the page the article's title. Any other template variable works, and to add text before or after the title, just edit "{title}". Mine is "J-Dawg's Reviews: {title}". Be aware that this may put the title in the titlebar, searchbots won't find these link as javascript is used here. There's also a HACK (search the forum) for this if you find this to be a problem. See also: [HACK] Add news title and/or category to <title> This post has been edited by (lKj): Oct 22 2010, 03:30 PM -------------------- JubbAds - The better way to exchange traffic.
J-Dawg's Blog |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 08:14 AM |