- Timestamp:
- Nov 24, 2010, 7:13:21 PM (13 years ago)
- Location:
- en/dev/translation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
en/dev/translation/editor.js
r216 r218 157 157 // make topbox being fixed at top scrolling 158 158 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() { 160 160 var now_fixed = $(this).scrollTop() >= top; 161 161 // since topbox was embedded in content (not sidebar), place is … … 164 164 (p=t29.tr.topbox.parent()).css('height', now_fixed ? p.height() : ''); 165 165 t29.tr.topbox.toggleClass('fixed', now_fixed); 166 }) ;166 }).scroll(); // fire it 167 167 168 168 // create all event handlers in the topbox … … 184 184 t29.tr.settings[$(this).attr('name')] = $(this).val(); 185 185 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'); 187 187 }); 188 t29.tr.topbox.find(".name .stored").click(hideall_tabs); 188 189 189 190 // Edit whole page button -
en/dev/translation/messages.xml
r216 r218 91 91 <br/>Your Name: <input id="tr-username" type="text" name="name" class="defaultvalue" value="e.g. H. Omaba" />, 92 92 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> 94 94 </div> 95 95 <div class="feedback">
Note: See TracChangeset
for help on using the changeset viewer.