-

 -

   akry

 - e-mail

 

 -

 LiveInternet.ru:
: 21.08.2007
: 4917
: 25572
: 40060

:

(0)

Google New Navigation Bar Fix

, 09 2013 . 17:42 +

. Quick-n-dirty.

Google New Nav Bar

1. Minimalist for Everything.

2. , Dashboard *google.*

Minimalist New Module

3. Edit, Add Option.

Minimalist Add Option

4. Head JS :

_min.gbar = {
    barElement: null,
    myLinks: [
        ['Calendar', 'https://www.google.com/calendar/'], //        
        ['Maps', 'https://maps.google.ru/'],
        ['YouTube', 'https://www.youtube.com/'],
        ['Drive', 'https://drive.google.com/'],
        ['Translate', 'https://translate.google.ru/']
    ],

    bootstrap: function() {
        _min.gbar.barElement = document.getElementById('gb');
        
        if (_min.gbar.barElement === null) {
            setTimeout(_min.gbar.bootstrap, 500);
        } else {
            var ch_el = _min.gbar.barElement.getElementsByTagName("div")[0].getElementsByTagName("div")[0].getElementsByTagName("div")[0];
            
            for (var i=0; i<_min.gbar.myLinks.length; ++i) {
                _min.gbar.createChildLink (ch_el, _min.gbar.myLinks[i][0], _min.gbar.myLinks[i][1], i);
            };
        }
    },
    
    createChildLink: function(base_el, title_s, href_s, no) {
    	var div_el = document.createElement ('div');
        var link_el = document.createElement ('a');
        var text_el = document.createTextNode (title_s);
        
        div_el.setAttribute ('class', 'gb_e gb_f');
        
        link_el.setAttribute ('href', href_s);
        link_el.setAttribute ('class', 'gb_b');
        link_el.setAttribute ('data-pid', no+3);
        
        link_el.appendChild(text_el);
        div_el.appendChild(link_el);
        base_el.appendChild(div_el);
	},
};

window.addEventListener('load', function(){ _min.gbar.bootstrap()});

4. : . CSS  body { background-color: #E0E0E0; },  E0E0E0 .

5. Gmail, CSS «.gb_e { display: block !important; }».

6. Save Changes.

Fck Ya Google!



:  
(2)

, 20 2010 . 13:05 +

. … , , ? , , ?

LJUsers http://www.liveinternet.ru/users/%%username%%/profile. , . . , …

— . « liveinternet MovableType MetaWeblog API ». , . , — . «, , mt.supportedMethods!». liveinternet.ru WordPress. :

Supported MT API methods

, «». API, , , . blogger.getPost («server internal error»), metaWeblog.getPost - « » . — , HTML . , HTML . . , . THIS IS RUSSIA!..

ps. WordPress, Lightroom. «infrared», « , » . . . . , .





:  

 : [1]