rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
debug( "ny=" + ny + "\n" ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - hop_element_x( win ); var dy = event.clientY - hop_element_y( win ); var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidt... | |
if( event == undefined ) event = window.event; document.onmousemove = false; | hop_remove_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - hop_element_x( win ); var dy = event.clientY - hop_element_y( win ); var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidt... |
event.preventDefault(); event.stopPropagation(); | hop_stop_propagation( event ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - hop_element_x( win ); var dy = event.clientY - hop_element_y( win ); var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidt... |
var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; | var dx = hop_mouse_x( event ) - win.offsetLeft; var dy = hop_mouse_y( event ) - win.offsetTop; | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... | |
win.el_body.style.visibility = "hidden"; win.el_handle.style.cursor = "move"; | hop_style_set( win.el_main, "height", win.el_main.offsetHeight ); hop_style_set( win.el_main, "width", win.el_main.offsetWidth ); hop_style_set( win.el_body, "visibility", "hidden" ); hop_style_set( win.el_handle, "cursor", "move" ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
var nx = (event.clientX - dx); var ny = (event.clientY - dy); | var nx = (hop_mouse_x( event ) - dx); var ny = (hop_mouse_y( event ) - dy); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
win.style.left = nx; | hop_style_set( win, "left", nx ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
win.style.top = ny; | hop_style_set( win, "top", ny ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
if( nx > 0 ) win.style.left = nx; if( ny > 0 ) win.style.top = ny; | if( nx > 0 ) hop_style_set( win, "left", nx ); if( ny > 0 ) hop_style_set( win, "top", ny ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
hop_add_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... | |
document.onmouseup = function( event ) { | var mouseup = function( event ) { | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
win.el_handle.style.cursor = ocursor; win.el_body.style.visibility = "visible"; | hop_remove_event_listener( document, "mouseup", mouseup ); hop_style_set( win.el_handle, "cursor", ocursor ); hop_style_set( win.el_body, "visibility", "visible" ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... |
hop_add_event_listener( document, "mousemove", mousemove ); hop_add_event_listener( document, "mouseup", mouseup ); | function hop_iwindow_drag( event, win ) { var dx = event.clientX - win.offsetLeft; var dy = event.clientY - win.offsetTop; var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidth; win.el_b... | |
if( event == undefined ) event = window.event; | function hop_iwindow_drag( event, win ) { var dx = event.clientX - hop_element_x( win ); var dy = event.clientY - hop_element_y( win ); var ocursor = win.el_handle.style.cursor; hop_iwindow_raise( win ); win.el_main.style.height = win.el_main.offsetHeight; win.el_main.style.width = win.el_main.offsetWidt... | |
win.iconify( win ); | win.iconify(); | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconify ) { win.iconify( win ); } else { /* nothing yet */ }} |
if( win.iconifiedp ) { if( win.ondeiconify ) win.ondeiconify(); win.iconifiedp = false; } else { if( win.oniconify ) win.oniconify(); win.iconifiedp = true; } | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconify ) { win.iconify( win ); } else { /* nothing yet */ }} | |
win.style.top = old + window.pageYOffset; | hop_style_set( win, "top", old + window.pageYOffset ); | function hop_iwindow_iconify( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style.position == "fixed" ) { var old = win.offsetTop; // MS 3may20... |
win.style.top = old - window.pageYOffset; | hop_style_set( win, "top", old - window.pageYOffset ); | function hop_iwindow_iconify( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style.position == "fixed" ) { var old = win.offsetTop; // MS 3may20... |
var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); | var win = hop_isHTMLElement( id ) ? id : document.getElementById( id ); | function hop_iwindow_iconify( id ) { var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); }... |
var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); | var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style.position == "fixed" ) { var old = win.offsetTop; // MS 3may... |
if( win.style.position != "absolute" ) { | if( win.style.position == "fixed" ) { | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style.position != "absolute" ) { var old = win.offsetTop; // MS 3... |
if( win.style[ "position" ] == "fixed" ) | if( win.style[ "position" ] == "fixed" ) { var old = win.offsetTop; win.style.top = old + window.pageYOffset; | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style[ "position" ] == "fixed" ) win.style.setProperty( "position... |
else | } else { var old = win.offsetTop; win.style.top = old - window.pageYOffset; | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style[ "position" ] == "fixed" ) win.style.setProperty( "position... |
} | function hop_iwindow_iconify( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.iconifiedp ) { win.iconifiedp = false; } else { } if( win.iconify ) { win.iconify(); } else { if( win.style[ "position" ] == "fixed" ) win.style.setProperty( "position... | |
win.maximize( win ); | win.maximize(); | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize( win ); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; wi... |
win.el_main.style.width = window.innerWidth; win.el_main.style.height = window.innerHeight; | win.el_main.style.width = window.innerWidth - win.el_shadow_box.offsetWidth; win.el_main.style.height = window.innerHeight - win.el_shadow_box.offsetHeight; | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize( win ); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; wi... |
if( win.onresize ) win.onresize(); | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize( win ); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; wi... | |
win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style.top = win.oldtop; win.style.left = win.oldleft; | hop_style_set( win.el_main, "width", win.oldwidth ); hop_style_set( win.el_main, "height", win.oldheight ); hop_style_set( win.style, "top", win.oldtop ); hop_style_set( win.style, "left", win.oldleft ); | function hop_iwindow_maximize( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style... |
win.el_main.style.width = p.offsetWidth - win.el_shadow_box.offsetWidth; win.el_main.style.height = p.offsetHeight - win.el_shadow_box.offsetHeight; | function hop_iwindow_maximize( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style... | |
win.style.top = hop_element_y( p ) + 1; win.style.left = hop_element_x( p ) + 1; | hop_style_set( win.el_main, "width", p.offsetWidth - win.el_shadow_box.offsetWidth ); hop_style_set( win.el_main, "height", p.offsetHeight - win.el_shadow_box.offsetHeight ); hop_style_set( win, "top", hop_element_y( p ) + 1 ); hop_style_set( win, "left", hop_element_x( p ) + 1 ); | function hop_iwindow_maximize( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style... |
win.el_main.style.width = window.innerWidth - win.el_shadow_box.offsetWidth - 2; win.el_main.style.height = window.innerHeight - win.el_shadow_box.offsetHeight - 2; | hop_style_set( win.el_main, "width", window.innerWidth - win.el_shadow_box.offsetWidth - 2 ); hop_style_set( win.el_main, "height", window.innerHeight - win.el_shadow_box.offsetHeight - 2 ); | function hop_iwindow_maximize( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style... |
win.style.top = 0; win.style.left = 0; | hop_style_set( win, "top", 0 ); hop_style_set( win, "left", 0 ); | function hop_iwindow_maximize( id ) { var win = hop_is_html_element( id ) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.style... |
var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); | var win = hop_isHTMLElement( id ) ? id : document.getElementById( id ); | function hop_iwindow_maximize( id ) { var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win... |
var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); | var win = ((id instanceof HTMLElement) || (id instanceof Object && id.propertyIsEnumerable( "innerHTML" ))) ? id : document.getElementById( id ); | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.sty... |
win.el_main.style.width = window.innerWidth - win.el_shadow_box.offsetWidth; win.el_main.style.height = window.innerHeight - win.el_shadow_box.offsetHeight; | if( win.user_parent ) { var p = win.parentNode; win.el_main.style.width = p.offsetWidth - win.el_shadow_box.offsetWidth; win.el_main.style.height = p.offsetHeight - win.el_shadow_box.offsetHeight; | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.sty... |
win.style.top = 0; win.style.left = 0; | win.style.top = hop_element_y( p ) + 1; win.style.left = hop_element_x( p ) + 1; } else { win.el_main.style.width = window.innerWidth - win.el_shadow_box.offsetWidth - 2; win.el_main.style.height = window.innerHeight - win.el_shadow_box.offsetHeight - 2; win.style.top = 0; win.style.left = 0; } | function hop_iwindow_maximize( id ) { var win = (id instanceof HTMLElement) ? id : document.getElementById( id ); if( win.maximize ) { win.maximize(); } else { if( win.maximized ) { win.maximized = false; win.el_main.style.width = win.oldwidth; win.el_main.style.height = win.oldheight; win.sty... |
function hop_iwindow_open( id, title, class, obj, width, height, x, y ) { | function hop_iwindow_open( id, obj, title, class, width, height, x, y ) { | function hop_iwindow_open( id, title, class, obj, width, height, x, y ) { |
function hop_iwindow_open( id, obj, title, class, width, height, x, y, parent ) { | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? klass : "hop-iwindow"; if( !win ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.style.display = "block"; } win.el_body.style.displ... | function hop_iwindow_open( id, obj, title, class, width, height, x, y, parent ) { |
win.style.display = "block"; | hop_style_set( win, "display", "block" ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
win.el_body.style.display = "none"; | hop_style_set( win.el_body, "display", "none" ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
if( x ) win.style.left = x; if( y ) win.style.top = y; | if( x ) hop_style_set( win, "left", x ); if( y ) hop_style_set( win, "top", y ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
win.el_main.style.width = width; win.el_content.style.width = "100%"; | hop_style_set( win.el_main, "width", width ); hop_style_set( win.el_content, "width", "100%" ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
win.el_main.style.height = height; | hop_style_set( win.el_main, "height", height ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
win.el_body.style.top = 0; | hop_style_set( win.el_body, "top", 0 ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
win.el_body.style.display = "block"; | hop_style_set( win.el_body, "display", "block" ); | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? ("hop-iwindow " + klass) : "hop-iwindow"; if( win == null ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.sty... |
if( (obj instanceof HTMLElement) || (obj instanceof Object && obj.propertyIsEnumerable( "innerHTML" )) ) { | if( hop_isHTMLElement( obj ) ) { | function hop_iwindow_open( id, obj, title, klass, width, height, x, y, parent ) { var win = document.getElementById( id ); var isnew = false; klass = klass ? klass : "hop-iwindow"; if( !win ) { win = make_hop_iwindow( id, klass, parent ); isnew = true; } else { win.style.display = "block"; } ... |
if( w[ i ].style[ "z-index" ] > 0 ) w[ i ].style[ "z-index" ]--; | if( w[ i ].style[ "z-index" ] > 0 ) hop_style_set( w[ i ], "z-index", w[ i ].style[ "z-index" ] - 1 ); | function hop_iwindow_raise( win ) { if( hop_iwindow_zindex < 1000 ) { hop_style_set( win, "z-index", ++hop_iwindow_zindex ); } else { var w = document.getElementsByName( "hop-iwindow" ); var i; for( i = 0; i < w.length; i++ ) { if( w[ i ].style[ "z-index" ] > 0 ) w[ i ].style[ "z-index" ]--; ... |
var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); | var x0 = hop_event_mouse_x( event ); var y0 = hop_event_mouse_y( event ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; hop_style_set( win.el_body, "display", "none" ); if( widthp && heightp ) { mousemove = func... |
hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | hop_style_set( win.el_main, "width", w0 + (hop_event_mouse_x( event ) - x0) ); hop_style_set( win.el_main, "height", h0 + (hop_event_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; hop_style_set( win.el_body, "display", "none" ); if( widthp && heightp ) { mousemove = func... |
hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); | hop_style_set( win.el_main, "width", w0 + (hop_event_mouse_x( event ) - x0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; hop_style_set( win.el_body, "display", "none" ); if( widthp && heightp ) { mousemove = func... |
hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | hop_style_set( win.el_main, "height", h0 + (hop_event_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; hop_style_set( win.el_body, "display", "none" ); if( widthp && heightp ) { mousemove = func... |
var w = w0 + (x0 - hop_mouse_y( event )); | var w = w0 + (x0 - hop_event_mouse_y( event )); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; hop_style_set( win.el_body, "display", "none" ); if( widthp && heightp ) { mousemove = func... |
if( win.onresize ) win.onresize(); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; if( widthp && heightp ) { document.onmousemove = function( event ) { win.el_main.style.width = w0 + (event.clientX - x0); win... | |
document.onmousemove = function( event ) { if( event == undefined ) event = window.event; | mousemove = function( event ) { | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... |
} | }; hop_add_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... |
if( event == undefined ) event = window.event; | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... | |
document.onmousemove = false; | hop_remove_event_listener( document, "mousemove", mousemove ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... |
event.preventDefault(); event.stopPropagation(); | hop_stop_propagation( event ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { if( event == und... |
var x0 = event.clientX; var y0 = event.clientY; | var x0 = hop_mouse_x( event ); var y0 = hop_mouse_y( event ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
win.el_body.style.display = "none"; | hop_style_set( win.el_body, "display", "none" ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
win.el_main.style.width = w0 + (event.clientX - x0); win.el_main.style.height = h0 + (event.clientY - y0); | hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
win.el_main.style.width = w0 + (event.clientX - x0); | hop_style_set( win.el_main, "width", w0 + (hop_mouse_x( event ) - x0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
win.el_main.style.height = h0 + (event.clientY - y0); | hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
var w = w0 + (x0 - event.clientX); win.style.left = (l0 + w0) - w; win.el_main.style.width = w; win.el_main.style.height = h0 + (event.clientY - y0); | var w = w0 + (x0 - hop_mouse_y( event )); hop_style_set( win ,"left", (l0 + w0) - w ); hop_style_set( win.el_main, "width", w ); hop_style_set( win.el_main, "height", h0 + (hop_mouse_y( event ) - y0) ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
document.onmouseup = function( event ) { win.el_body.style.display = "block"; | var mouseup = function( event ) { hop_style_set( win.el_body, "display", "block" ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... |
hop_add_event_listener( document, "mouseup", mouseup ); | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; var mousemove; win.el_body.style.display = "none"; if( widthp && heightp ) { mousemove = function( event ) { win.el_mai... | |
if( event == undefined ) event = window.event; | function hop_iwindow_resize( event, win, widthp, heightp ) { var x0 = event.clientX; var y0 = event.clientY; var w0 = win.el_main.offsetWidth; var h0 = win.el_main.offsetHeight; win.el_body.style.display = "none"; if( widthp && heightp ) { document.onmousemove = function( event ) { win.el_main.styl... | |
return hop_node_eval( node ); | return hop_node_eval( node, http.responseText ); | function hop_js_eval( http ) { if( http.responseText != null ) { var node = document.createElement( "div" ); /* I don't why yet, IE 7 does not include SCRIPT nodes */ /* in the resulting node! */ node.innerHTML = http.responseText; return hop_node_eval( node ); ... |
paned.style.height = "inherit"; | hop_style_set( paned, "height", "inherit" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... |
cursor.style.width = "100%"; cursor.style.height = "100%"; | hop_style_set( cursor, "width", "100%" ); hop_style_set( cursor, "height", "100%" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... |
pan1.style.visibility = "visible"; pan2.style.visibility = "visible"; | hop_style_set( pan1, "visibility", "visible" ); hop_style_set( pan2, "visibility", "visible" ); | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... |
if( e == undefined ) e = window.event; | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | |
cursor.onmouseover = function( e ) { cursor.className = "hop-paned-cursoron"; }; cursor.onmouseout = function( e ) { cursor.className = "hop-paned-cursoroff"; }; cursor.onmousedown = function( e ) { | var mousedown = function( e ) { | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... |
hop_add_event_listener( cursor, "mousedown", mousedown ); var mouseover = function( e ) { cursor.className = "hop-paned-cursoron"; }; var mouseout = function( e ) { cursor.className = "hop-paned-cursoroff"; }; hop_add_event_listener( cursor, "mouseover", mouseover ); hop_add_event_listener( cursor, "mouseout", mouseo... | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | |
if( e == undefined ) e = window.event; | function hop_make_hpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var td1, td2, pcursor, cursor; var tr1, tr2, tr3; // the paned var paned = document.createElement( "div" ); paned.className = klass, paned.style.height = "inherit"; // the cur... | |
val = ((e.clientX - hop_element_x( slider )) / slider.offsetWidth) * 100; | val = ((hop_event_mouse_x( e ) - hop_element_x( slider )) / slider.offsetWidth) * 100; | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... |
cursor.onmouseover = function( e ) { | var onmouseover = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... |
cursor.onmouseout = function( e ) { | var onmouseout = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... |
cursor.onmousedown = function( e ) { | var onmousedown = function( e ) { | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... |
line1.onclick = onlineclick; line2.onclick = onlineclick; | hop_add_event_listener( line1, "click", onlineclick ); hop_add_event_listener( line2, "click", onlineclick ); | function hop_make_slider( parent, id, min, max, step, value, cap, curw, curh ) { var doc = (parent == undefined ? document : parent.ownerDocument || parent.document); var slider, tbody, tr, tr2; var line1, line2, cursor; var td1, td3; var div; var caption; if( curw == undefined ) curw = 4; if( curh... |
table.setAttribute( "rules", "none" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
table.setAttribute( "border", 0 ); table.setAttribute( "rules", "none" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
join.className = "hop-tree-openclose"; | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
folder.setAttribute( "align", "absbottom" ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
row.appendChild( td2 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
row.appendChild( td2 ) | row.appendChild( td2 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... |
table.setAttribute( "border", 0 ); | function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) { var tree = document.createElement( "div" ); /* safety check */ if( parent == null ) { alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id ); } /* the tree first line */ var ta... | |
td2.setAttribute( "valign", "top" ); | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); var tb = document.createElement( "tbody" ); var row = document.createElement( "tr" ); row.cla... | |
var level = tree.level + 1; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | |
leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); | leaf.className = "hop-tree-leaf"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... |
join.className = "hop-tree"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | |
fimg.setAttribute( "align", "absbottom" ); | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | |
leaf.className = "hop-tree-leaf"; | function hop_make_tree_leaf( tree, content, value, icon ) { var leaf = document.createElement( "table" ); var level = tree.level + 1; leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.setAttribute( "border", 0 ); leaf.setAttribute( "rules", "none" ); var tb = document.crea... | |
leaf.setAttribute( "border", 0 ); | function hop_make_tree_leaf( tree, content, value, icon ) { var level = tree.level + 1; var leaf = document.createElement( "table" ); leaf.setAttribute( "cellpadding", 0 ); leaf.setAttribute( "cellspacing", 0 ); leaf.className = "hop-tree-leaf"; var tb = document.createElement( "tbody" ); var row = docume... | |
if( e == undefined ) e = window.event; | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... | |
cursor.onmouseover = function( e ) { div.className = "hop-paned-cursoron"; }; cursor.onmouseout = function( e ) { div.className = "hop-paned-cursoroff"; }; cursor.onmousedown = function( e ) { | var mousedown = function( e ) { | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... |
pan1.style.visibility = "visible"; pan2.style.visibility = "visible"; | hop_style_set( pan1, "visibility", "visible" ); hop_style_set( pan2, "visibility", "visible" ); | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... |
e.preventDefault(); e.stopPropagation(); | hop_stop_propagation( e ); | function hop_make_vpaned( parent, id, klass, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = klass; paned.id = id; paned.setAttribute( "onresize", undefin... |
e.preventDefault(); e.stopPropagation(); | function hop_make_vpaned( parent, id, fraction, pan1, pan2 ) { var document = parent.ownerDocument || parent.document; var paned, tbody, tr, td1, td2, cursor, div; // the paned paned = document.createElement( "table" ); paned.className = "hop-vpaned" paned.id = id; paned.onresize = undefined; paned.p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.