Changeset 205 in t29-www for en/dev


Ignore:
Timestamp:
Oct 17, 2010, 7:15:29 PM (13 years ago)
Author:
sven
Message:
  • Translation system: CSS nicht mehr staendig laden (einfacheren Button eingefuehrt, CSS kann jetzt automatisch geladen werden)
Location:
en/dev/translation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • en/dev/translation/editor.css

    r191 r205  
    109109        top: 0;
    110110        width: 0;
     111        display: none;
    111112}
    112113
     
    124125body .tr-disabled { display: block; }
    125126
     127/*
    126128#sidebar-tr .tr-disabled h3 { margin: 0; font-size: 100%; }
    127129#sidebar-tr .tr-disabled p {    margin: 5px 0; font-size: 90%; }
    128130#sidebar-tr .tr-disabled { color: #444;}
    129131#sidebar-tr .tr-disabled a { opacity: .8; }
     132*/
    130133
    131134#sidebar-tr .tr-enabled  h3 {
  • en/dev/translation/editor.js

    r191 r205  
    4343
    4444// helper: foobar.click(t29.tr.call(anything, value)); is shorthand for
    45 //             """.call(function(){ t29.tr.anything(value); });
     45//         foobar.call(function(){ t29.tr.anything(value); });
    4646t29.tr.call = function(f, v){ return function(){ t29.tr[f](v);} };
    4747t29.tr.arrow = function() {
    48         // update the nice arrow in the sidebar =)
    49         t29.tr.sidebar.find(".arrow").css({ "border-bottom-width": (a=Math.floor(t29.tr.sidebar.outerHeight()/2-1)),
    50                 "border-top-width": a });
     48        // update the nice arrow in the sidebar =) (some timeout for slow startups)
     49        setTimeout(function(){
     50                t29.tr.sidebar.find(".arrow").css({ "border-bottom-width":
     51                        (a=Math.floor(t29.tr.sidebar.outerHeight()/2-1)),"border-top-width": a }).show();
     52        }, 1000);
    5153};
    5254
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License