Vergleich jscripts/popup_menu.js - 1.2.9 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 44Zeile 44
			offsetTop += element.offsetTop || 0;
offsetLeft += element.offsetLeft || 0;
element = element.offsetParent;

			offsetTop += element.offsetTop || 0;
offsetLeft += element.offsetLeft || 0;
element = element.offsetParent;

 
			if(element)
{
if(DomLib.getStyle(element, 'position') == 'relative' || DomLib.getStyle(element, 'position') == 'absolute') break;
}

		} while(element);
element = $(this.id);
this.menu.style.position = "absolute";

		} while(element);
element = $(this.id);
this.menu.style.position = "absolute";

Zeile 83Zeile 87
	
closeMenu: function()
{

	
closeMenu: function()
{

		menu = document.currentMenu;

		var menu = document.currentMenu;

		menu = $(menu+"_popup");
this.menu.style.display = "none";
document.currentMenu = "";

		menu = $(menu+"_popup");
this.menu.style.display = "none";
document.currentMenu = "";