Changeset 3684

Show
Ignore:
Timestamp:
07/02/07 22:21:32 (1 year ago)
Author:
timothy
Message:

A better way to pan the window up to go full-screen.

Files:

Legend:

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

    r3678 r3684  
    1515</head> 
    1616<body> 
    17 <div id="pandown"> 
    18 <a href="#bottom">Touch to show full screen.</a> 
    19 </div> 
    2017<div id="main"> 
    2118<div class="header"><div id="back" class="back">Colloquy</div><div id="join" class="button">+</div><div id="members" class="button"><img></div><div id="main-title">Colloquy</div><div id="colloquy-title">webkit</div></div> 
    2219<div id="colloquies"></div> 
    2320</div> 
    24 <a name="bottom"></a> 
    2521</body> 
    2622</html> 
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.css

    r3680 r3684  
    33        padding: 0; 
    44        width: 320px; 
    5         height: 476px; 
     5        height: 416px; 
    66        font-family: Helvetica; 
    77        -webkit-user-select: none; 
    88        cursor: default; 
    99        -webkit-text-size-adjust: none; 
    10 } 
    11  
    12 #pandown { 
    13         background-color: gray; 
    14         background-image: url(images/bottomShadow.png); 
    15         background-repeat: repeat-x; 
    16         background-position: bottom; 
    17         height: 60px; 
    18         color: white; 
    19         text-align: center; 
    20         line-height: 60px; 
    21         font-size: 14px; 
    22         font-weight: bold; 
    23         text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0; 
    24 } 
    25  
    26 #pandown a { 
    27         display: block; 
    28         color: inherit; 
    29         text-decoration: none; 
    30         width: 100%; 
    31         height: 100%; 
    3210} 
    3311 
  • trunk/Plug-Ins/Web Interface/Resources/iphone/iphone.js

    r3683 r3684  
    3030        new Image().src = "images/highlightsNormalLarge.png"; 
    3131 
    32         window.location.hash = "bottom"; // pan to the bottom, hides the location bar 
     32        // pan to the bottom, hides the location bar 
     33        setTimeout(function() { window.scrollTo(0, 1) }, 100); 
    3334 
    3435        new Ajax.Request( "/command/setup?overrideStyle=info.colloquy.style.xml", {