Changeset 3779

Show
Ignore:
Timestamp:
03/09/08 01:07:13 (9 months ago)
Author:
timothy
Message:

Fix the keyboar showing code so the chat and the input is visible again.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.css

    r3697 r3779  
    141141} 
    142142 
     143body.keyboard-visible #main > .header { 
     144        top: 216px; 
     145} 
     146 
     147body.keyboard-visible .colloquy-panel { 
     148        top: 260px; 
     149        height: 156px; 
     150} 
     151 
    143152.colloquy-panel-transcript { 
    144153        background-color: white; 
    145154        height: 335px; 
    146155        overflow: auto; 
     156} 
     157 
     158body.keyboard-visible .colloquy-panel-transcript { 
     159        height: 119px; 
    147160} 
    148161 
     
    185198        left: 0; 
    186199        width: 100%; 
    187         height: 417px; 
     200        height: 416px; 
    188201        background-color: white; 
    189202        display: none; 
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js

    r3706 r3779  
    143143        Colloquy.mainTitleElement.style.display = null; 
    144144 
     145        ChatController.activePanel.setKeyboardVisible(false); 
     146 
    145147        var animations = [{element: this.backElement, end: {left: document.body.offsetWidth / 4, opacity: 0}}, 
    146148                {element: this.joinElement, end: {opacity: 1}}, {element: this.membersElement, end: {opacity: 0}}, 
     
    159161                        ChatController.activePanel.lastScrollPosition = ChatController.activePanel.panelTranscriptElement.scrollTop; 
    160162                ChatController.activePanel.panelElement.style.display = null; 
    161                 ChatController.activePanel.setKeyboardVisible(false); 
    162163                ChatController.activePanel.active = false; 
    163164 
     
    537538 
    538539        if(visible) { 
    539                 this.panelTranscriptElement.style.height = "119px"
     540                document.body.addStyleClass("keyboard-visible")
    540541 
    541542                this.panelInputElement.focus(); 
     
    545546                this.panelInputElement.selectionEnd = valueLength; 
    546547        } else { 
    547                 this.panelTranscriptElement.style.height = null
     548                document.body.removeStyleClass("keyboard-visible")
    548549        } 
    549550