Changeset b8d4feb in github
- Timestamp:
- Jun 30, 2010 7:17:51 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 3e91f08
- Parents:
- 9ed374b
- Files:
-
- 4 edited
-
program/js/googiespell.js (modified) (6 diffs)
-
skins/default/functions.js (modified) (1 diff)
-
skins/default/googiespell.css (modified) (2 diffs)
-
skins/default/mail.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/js/googiespell.js
r087c7dc rb8d4feb 112 112 this.checkSpellingState(); 113 113 } 114 else 115 if (this.report_ta_not_found) 116 alert('Text area not found'); 114 else if (this.report_ta_not_found) 115 alert('Text area not found'); 117 116 }; 118 117 … … 394 393 list = document.createElement('tbody'); 395 394 396 pos.top -= this.edit_layer.scrollTop; 397 398 $(this.error_window).css({'visibility': 'visible', 399 'top': (pos.top+20)+'px', 'left': (pos.left)+'px'}).html(''); 400 395 $(this.error_window).html(''); 401 396 $(table).addClass('googie_list').attr('googie_action_btn', '1'); 402 397 … … 542 537 this.error_window.appendChild(table); 543 538 539 // calculate and set position 540 var height = $(this.error_window).height(), 541 width = $(this.error_window).width(), 542 pageheight = $(document).height(), 543 pagewidth = $(document).width(), 544 top = pos.top + height + 20 < pageheight ? pos.top + 20 : pos.top - height, 545 left = pos.left + width < pagewidth ? pos.left : pos.left - width; 546 547 $(this.error_window).css({'visibility': 'visible', 'top': top+'px', 'left': left+'px'}); 548 544 549 // Dummy for IE - dropdown bug fix 545 550 if ($.browser.msie) { … … 562 567 this.createEditLayer = function(width, height) { 563 568 this.edit_layer = document.createElement('div'); 564 $(this.edit_layer).addClass('googie_edit_layer').width(width-10).height(height); 569 $(this.edit_layer).addClass('googie_edit_layer').attr('id', 'googie_edit_layer') 570 .width(width).height(height); 565 571 566 572 if (this.text_area.nodeName.toLowerCase() != 'input' || $(this.text_area).val() == '') { … … 622 628 623 629 $(elm).html(text).addClass('googie_link').bind('click', d) 624 .attr({'googie_action_btn' : '1', 'g_id' : id, 'is_corrected' : false});630 .attr({'googie_action_btn' : '1', 'g_id' : id, 'is_corrected' : false}); 625 631 626 632 return elm; … … 703 709 this.language_window = document.createElement('div'); 704 710 $(this.language_window).addClass('googie_window') 705 .width(100).attr('googie_action_btn', '1');711 .width(100).attr('googie_action_btn', '1'); 706 712 707 713 // Build up the result list -
skins/default/functions.js
r3940ba6 rb8d4feb 345 345 $('#compose-body_ifr').width((w+2)+'px').height((h-54)+'px'); 346 346 } 347 else { 348 $('#googie_edit_layer').width(w-(bw.ie || bw.opera || bw.safari ? 2 : 0)+'px').height(h+'px'); 349 } 347 350 }, 348 351 -
skins/default/googiespell.css
r0f8ff20 rb8d4feb 14 14 15 15 .googie_edit_layer { 16 border: 1px solid #666666;17 16 background-color: #ffffff; 18 padding: 1px 4px; 19 margin: 1px 0px; 17 padding: 0 4px; 20 18 font-size: 9pt; 21 19 font-family: monospace; … … 76 74 text-decoration: underline; 77 75 cursor: pointer; 76 font-size: 9pt; 77 font-family: monospace; 78 78 } 79 79 -
skins/default/mail.css
r087c7dc rb8d4feb 138 138 } 139 139 140 #messagetoolbar select, 141 #compose-container select 140 #messagetoolbar select 142 141 { 143 142 font-size: 11px;
Note: See TracChangeset
for help on using the changeset viewer.
