When website switches to a different language from Spanish to English for example (for example: http://mywebsite.com/es to http://mywebsite.com/en) I would like to add to the nav and to the main text area a css jquery class so that special characters and others will show up correctly in Website. i have only part of the code so far:
[code]
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(".nav").addClass('red');});
[/code]
How do I do that? Please.
use method from above link to get url and split the url into pieces by javascript split method.