layout tweaks, enable hotkeys

This commit is contained in:
Andrew Dolgov 2006-09-28 13:53:11 +01:00
parent 5b06472138
commit 9251df443c
3 changed files with 9 additions and 6 deletions

View File

@ -162,8 +162,6 @@ function hotkey_handler(e) {
var keycode; var keycode;
if (!hotkeys_enabled) return; if (!hotkeys_enabled) return;
return; //fixme disables for now
if (window.event) { if (window.event) {
keycode = window.event.keyCode; keycode = window.event.keyCode;
@ -193,7 +191,7 @@ function hotkey_handler(e) {
return m_ctx.toggleDispRead(); return m_ctx.toggleDispRead();
} }
var f_doc = m_ctx.frames["feeds-frame"].document; var f_doc = document;
var feedlist = f_doc.getElementById('feedList'); var feedlist = f_doc.getElementById('feedList');
if (keycode == 74) { // j if (keycode == 74) { // j

View File

@ -1231,6 +1231,11 @@ div.loadingPrompt {
font-weight : bold; font-weight : bold;
} }
div.whiteBox {
background-color : white;
margin-left : 1px;
}
/* layout */ /* layout */
#header { #header {
@ -1259,7 +1264,7 @@ div.loadingPrompt {
#toolbar { #toolbar {
position : absolute; position : absolute;
left : 261px; left : 261px;
padding : 5px 10px 5px 5px; padding : 5px 10px 5px 10px;
top : 50px; top : 50px;
right : 0px; right : 0px;
white-space: nowrap; white-space: nowrap;

View File

@ -203,10 +203,10 @@ window.onload = init;
</div> </div>
<?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?> <?php if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
<div id="headlines-frame" class="headlines_normal">&nbsp;</div> <div id="headlines-frame" class="headlines_normal"><div class="whiteBox">&nbsp;</div></div>
<div id="content-frame">&nbsp;</div> <div id="content-frame">&nbsp;</div>
<?php } else { ?> <?php } else { ?>
<div id="headlines-frame" class="headlines_cdm">&nbsp;</div> <div id="headlines-frame" class="headlines_cdm"><div class="whiteBox">&nbsp;</div></div>
<?php } ?> <?php } ?>
<?php if (get_pref($link, 'DISPLAY_FOOTER')) { ?> <?php if (get_pref($link, 'DISPLAY_FOOTER')) { ?>