Changeset 205 in t29-www for en


Ignore:
Timestamp:
Oct 17, 2010, 7:15:29 PM (12 years ago)
Author:
sven
Message:
  • Translation system: CSS nicht mehr staendig laden (einfacheren Button eingefuehrt, CSS kann jetzt automatisch geladen werden)
Location:
en
Files:
4 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
  • en/inc/head.inc.shtm

    r189 r205  
    2121    <script type="text/javascript" src="/shared/js/tools.js"></script>
    2222    <script type="text/javascript" src="/shared/js/common.js"></script>
    23         <!-- translation system -->
    24         <!--<script type="text/javascript" src="/en/dev/translation/editor.js"></script>-->
    25         <link rel="stylesheet" type="text/css" href="/en/dev/translation/editor.css" />
    26         <!-- translation end -->
    2723
    2824    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
  • en/inc/menu.inc.shtm

    r191 r205  
    8383                <p>This site was trans&shy;lated by nonprofessional voluntary project members.
    8484                   We'd love to get your help!</p>
    85                 <a class="button white medium" href="/en/dev/translation/editor.php?page=<!--#echo var="DOCUMENT_URI" -->"
     85                <a href="/en/dev/translation/editor.php?page=<!--#echo var="DOCUMENT_URI" -->"
    8686                        title="Edit sentences directly inline!">Improve this page</a>
    8787        </div>
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