Displaying 4 results from an estimated 4 matches for "curtop".
Did you mean:
curop
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
...like this in an js file and loaded it after the
prototype.js .
----------------------------------------------------
Object.extend(Element, {
getWidth: function(element) {
element = $(element);
return element.offsetWidth;
},
getTop: function(element) {
element = $(element);
var curtop = 0;
if (element.offsetParent) {
while (element.offsetParent) {
curtop += element.offsetTop
element = element.offsetParent;
}
}
else if (element.y)
curtop += element.y;
return curtop;
},
getLeft: function(element) {
element = $(element);
var curleft = 0;
if (ele...
2010 May 30
1
[RFC PATCH] menu: support single key booting
....c
index 0c39264..3be1bd4 100644
--- a/com32/menu/menumain.c
+++ b/com32/menu/menumain.c
@@ -746,6 +746,7 @@ static const char *run_menu(void)
{
int key;
int done = 0;
+ int hotkey = 0;
volatile int entry = cm->curentry;
int prev_entry = -1;
volatile int top = cm->curtop;
@@ -854,7 +855,12 @@ static const char *run_menu(void)
}
this_timeout = min(min(key_timeout, timeout_left), (clock_t) CLK_TCK);
- key = mygetkey(this_timeout);
+
+ if (hotkey && me->commit)
+ key = KEY_ENTER;
+ else
+ key = mygetkey(this_timeout);
+ hotkey = 0;
if (key...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing