Automatically removes accented characters (currently greek) from elements having their text content uppercase transformed through CSS.
JavaScript
Latest commit 1362bb9 Nov 15, 2013 @ebababi Release v1.1.1
Permalink
Failed to load latest commit information.
.tm_properties Using tabs for indentation, following jQuery core style guidelines May 14, 2013
COPYING
README.md Copyright information updated May 14, 2013
jquery.remove-upcase-accents.js Release v1.1.1 Nov 15, 2013
remove-upcase-accents.jquery.json
test.html Test suite implemented Nov 8, 2013

README.md

jQuery Remove Uppercase Accents

Automatically removes accented characters (currently greek) from elements having their text content uppercase transformed through CSS.

Usage

The script operates automatically on the document ready event, by selecting all the elements having their text content uppercase transformed through CSS, and by replacing the accented characters in them by their respective non-accented.

The selection is based on the effective CSS rules defining the uppercase text transformation, ie the following style rule:

h1 { text-transform: uppercase; }

or

.title { font-variant: small-caps; }

Currently the script transforms only greek text, but it can be easiy extended to support other languages.

Example

Just copy jquery.remove-upcase-accents.js on the same location as your HTML file and include the following markup inside the HTML element:

<script type="text/javascript" src="jquery.remove-upcase-accents.js">

Copyright (c) 2012-2013 Nikolaos Anastopoulos, released under the GPLv3 license