Changeset 218 in t29-www for en/dev


Ignore:
Timestamp:
Nov 24, 2010, 7:13:21 PM (13 years ago)
Author:
sven
Message:
  • punchcard.shtm: korrigiert
  • translation system: topbox design fix
Location:
en/dev/translation
Files:
2 edited

Legend:

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

    r216 r218  
    157157                // make topbox being fixed at top scrolling
    158158                var top = t29.tr.topbox.offset().top; // - parseFloat($('#comment').css('marginTop').replace(/auto/, 0))
    159                 $(window).bind("scroll.t29tr", function(e) {
     159                $(window).bind("scroll.t29tr", topboxscrollf=function() {
    160160                        var now_fixed = $(this).scrollTop() >= top;
    161161                        // since topbox was embedded in content (not sidebar), place is
     
    164164                        (p=t29.tr.topbox.parent()).css('height', now_fixed ? p.height() : '');
    165165                        t29.tr.topbox.toggleClass('fixed', now_fixed);
    166                 });
     166                }).scroll(); // fire it
    167167               
    168168                // create all event handlers in the topbox
     
    184184                        t29.tr.settings[$(this).attr('name')] = $(this).val();
    185185                        t29.tr.topbox.find('.name .feedback').html("<b>"+t29.tr.settings.name+"</b> from <b>"+t29.tr.settings.location+"</b>");
    186                         t29.tr.topbox.find('.name .stored').text(' - Thank you');
     186                        t29.tr.topbox.find('.name .stored').text('Thank you');
    187187                });
     188                t29.tr.topbox.find(".name .stored").click(hideall_tabs);
    188189               
    189190                // Edit whole page button
  • en/dev/translation/messages.xml

    r216 r218  
    9191                                        <br/>Your Name: <input id="tr-username" type="text" name="name" class="defaultvalue" value="e.g. H. Omaba" />,
    9292                                        your Location: <input id="tr-userlocation" type="text" name="location" class="defaultvalue" value="e.g. Chicago, IL" />
    93                                         <span class="stored"></span>
     93                                        <span class="button red cancel">Cancel</span>
    9494                                </div>
    9595                                <div class="feedback">
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