Monday, 15 February 2010

How to display a bilingual upgrade warning for old browsers only with html+css? -



How to display a bilingual upgrade warning for old browsers only with html+css? -

i have bilingual website (english+greek) in joomla 2.5 , want display warning prompting visitors old browsers upgrade them. however, want target each language using "if/else" can display message in corresponding language, means english language english-speaking visitors , greek greek-speaking ones.

i looked solution @ bilingual sites display code of them utilize javascript, not wish looking ways unburden website that. , googled of course. thought this. forgive php code, don't know much.

<!--[if lte ie 9]> if <xhtml xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> <p>my english language text here</p> else { <p>my greek text here</p>} <![endif]-->

html css conditional joomla2.5 bi-lingual

No comments:

Post a Comment