1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 03:57:58 +01:00

valign=top for cells

This commit is contained in:
Martin Stubenschrott
2007-04-21 02:05:00 +00:00
parent 083aa0ae4a
commit 33de3f2966
3 changed files with 11 additions and 7 deletions

View File

@@ -1678,7 +1678,7 @@ table.settings th {\
'<p align=center bgcolor=blue borderwidth=1><b>First there was a Navigator, then there was an Explorer. Later it was time for a Konqueror. Now it\'s time for an Imperator, the VIMperator :)</b></p>' '<p align=center bgcolor=blue borderwidth=1><b>First there was a Navigator, then there was an Explorer. Later it was time for a Konqueror. Now it\'s time for an Imperator, the VIMperator :)</b></p>'
var introduction = '<h2>Introduction</h2>' + var introduction = '<h2>Introduction</h2>' +
'<p><a href="http://vimperator.mozdev.net">Vimperator</a> is a free browser add-on for Firefox, which makes it look and behave like the <a href="http://www.vim.org">Vim</a> text editor. ' + '<p><a href="http://vimperator.mozdev.org">Vimperator</a> is a free browser add-on for Firefox, which makes it look and behave like the <a href="http://www.vim.org">Vim</a> text editor. ' +
'It has similar key bindings, and you could call it a modal webbrowser, as key bindings differ according to which mode you are in.</p>' + 'It has similar key bindings, and you could call it a modal webbrowser, as key bindings differ according to which mode you are in.</p>' +
'<p><font color=red><b>Warning:</b></font> To provide the most authentic Vim experience, the Firefox menubar and toolbar were hidden. If you really need them, type: <code class=command>:set guioptions=mT</code> to get it back. ' + '<p><font color=red><b>Warning:</b></font> To provide the most authentic Vim experience, the Firefox menubar and toolbar were hidden. If you really need them, type: <code class=command>:set guioptions=mT</code> to get it back. ' +
@@ -1713,7 +1713,7 @@ table.settings th {\
var ret = ""; var ret = "";
for (var i=0; i < commands.length; i++) for (var i=0; i < commands.length; i++)
{ {
ret += '<tr>'; ret += '<tr valign="top">';
var command = "<td>"; var command = "<td>";
for (var j=0; j < commands[i][0].length; j++) for (var j=0; j < commands[i][0].length; j++)
{ {

View File

@@ -212,9 +212,13 @@ function hit_a_hint()
if (linkCount == 0 && hintmode != HINT_MODE_ALWAYS) if (linkCount == 0 && hintmode != HINT_MODE_ALWAYS)
{ {
beep(); beep();
linkNumString = ''; alert('h');
hintedElems = []; this.disableHahMode(win);
isHahModeEnabled = false; alert('g');
// setCurrentMode(MODE_NORMAL);
// linkNumString = '';
// hintedElems = [];
// isHahModeEnabled = false;
return; return;
} }

View File

@@ -125,8 +125,8 @@ nsBrowserStatusHandler.prototype =
}, },
onLocationChange:function (aWebProgress, aRequest, aLocation) onLocationChange:function (aWebProgress, aRequest, aLocation)
{ {
// firefox 3.0 doesn't seem to have them anymore // firefox 3.0 doesn't seem to have this function anymore
if (UpdateBackForwardButtons) if (typeof UpdateBackForwardButtons == "function")
UpdateBackForwardButtons(); UpdateBackForwardButtons();
var url = aLocation.spec; var url = aLocation.spec;