AutoTitle

Category: JavaScript - Content Management

Sometimes you cannot set meaningful page title when your server generates the page due to framework constraints. Or maybe you'd like to set page title depending upon some user action on the page.

The script allows automatically generation of page title by trying one of the following:

* Find tag with id autotitle (configurable) within the page;
* If it isn't found, find first tag with class autotitle (configurable) within the page;
* If it isn't found, find first H1 tag;
* If it isn't found, find first H2 tag, etc.

... and if at least one such tag was found in document using its text contents (with configurable prefix and postfix applied) for page title.

The script will use jQuery's document ready event if Query is found, falling back to onload event otherwise. Date: 21 March, 2012

Editor Rating: 5 Rating of AutoTitle

Title - Auto Generator - Page - Framework - Configurable

Homepage: http://www.jtricks.com/javascript/auto/autotitle.html

Developer: JTricks.com

License: Freeware

Operating System: Not Available

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Graphical 2d tile-based MMORPG with true color and mp3 sound.

developer Developer: daimonin.com
license License: GNU General Public License (GPL)
operating systems Operating System: OS Portable (Source code to work with many OS platforms)


This is a simple and useful DHTML script that displays the current date as the title of the document.

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: All


Animated Document Title script automatically seeks out the title tag of your document, and animates it.

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: All


This script allows you to have moving arrows point at your document's title.

developer Developer: dynamicdrive.com
license License: Freeware
operating systems Operating System: All


This script uses the standard title attribute to show a message in the bottom right corner of the browser instead of the standard browser tooltip.

developer Developer: dhtmlgoodies.com
license License: Freeware
operating systems Operating System: All


Converts a string to Title Case.

developer Developer: px.sklar.com
license License: Freeware
operating systems Operating System: Windows, Linux, BSD, Solaris


Non-standard fonts can be used to to create smoother text than with the default ones.

developer Developer: wordpress.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


404 Catcher is a free php script will alert you via email if someone encounters a 404 page missing error on your web site.

developer Developer: DamnCoders
license License: Freeware
operating systems Operating System: Linux, Unix


With camrumble video chat you can create an online webcam video chat in only two seconds.

developer Developer: camrumble
license License: Freeware
operating systems Operating System: Not Available