Support » Plugins » Hacks » [Plugin: Google AJAX Translation] A bit of color

  • I just added some color and what I think of a style to this plugin.

    I changed lines 264-265 of ajaxtranslation.php to read: var $before_translate = ‘<img src=”http://www.mywebsite.com/translate2.png” border=0 align=”middle” vspace=”-20″ />’; // text to display before and after “Translate” link
    var $after_translate ='<img src=”http://www.mywebsite.com/translate1.png” border=0 align=”middle” vspace=”-20″ />’;
    var $browser_lang = ‘en’;

    –and–
    modified of the css to read:

    .translate_translate {
    float:right;
    border: 0 !important;
    font-weight: normal !important;
    margin-top: -2.2em;
    text-decoration: none !important;
    }

    You may see the results at: http://many-roads.com

    Nice plugin!!!!

    …mark

    http://wordpress.org/extend/plugins/google-ajax-translation/

  • The topic ‘[Plugin: Google AJAX Translation] A bit of color’ is closed to new replies.