Vergleich jscripts/general.js - 1.2.8 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 424Zeile 424
		}
var arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight);
return arrayPageSize;

		}
var arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight);
return arrayPageSize;

	}

	},





 
	getStyle: function(e, prop)
{
var e = $(e);
if(e.currentStyle)
{
return e.currentStyle[prop];
}
else if(document.defaultView && document.defaultView.getComputedStyle)
{
prop = prop.replace(/([A-Z])/g,"-$1");
prop = prop.toLowerCase();
return document.defaultView.getComputedStyle(e, "").getPropertyValue(prop);
}
}

}

var expandables = {

}

var expandables = {

Zeile 441Zeile 455
				if(!expander.id)
{
continue;

				if(!expander.id)
{
continue;

				}

				}

				Event.observe(expander, "click", this.expandCollapse.bindAsEventListener(this));
if(MyBB.browser == "ie")

				Event.observe(expander, "click", this.expandCollapse.bindAsEventListener(this));
if(MyBB.browser == "ie")

				{

				{

					expander.style.cursor = "hand";

					expander.style.cursor = "hand";

				}

				}

				else

				else

				{

				{

					expander.style.cursor = "pointer";

					expander.style.cursor = "pointer";

				}

				}

				expander.controls = expander.id.replace("_img", "");
var row = $(expander.controls);
if(row)
{
Event.observe(row, "dblclick", this.expandCollapse.bindAsEventListener(this));
row.controls = expander.id.replace("_img", "");

				expander.controls = expander.id.replace("_img", "");
var row = $(expander.controls);
if(row)
{
Event.observe(row, "dblclick", this.expandCollapse.bindAsEventListener(this));
row.controls = expander.id.replace("_img", "");

				}
}
}

				}
}
}

	},

expandCollapse: function(e)

	},

expandCollapse: function(e)

Zeile 495Zeile 509
				element.src = element.src.replace("collapse_collapsed.gif", "collapse.gif");
element.alt = "[-]";
this.saveCollapsed(element.controls);

				element.src = element.src.replace("collapse_collapsed.gif", "collapse.gif");
element.alt = "[-]";
this.saveCollapsed(element.controls);

			}

			}

			else
{
expandedItem.style.display = "none";

			else
{
expandedItem.style.display = "none";

Zeile 513Zeile 527
		var newCollapsed = new Array();
var collapsed = Cookie.get("collapsed");
if(collapsed)

		var newCollapsed = new Array();
var collapsed = Cookie.get("collapsed");
if(collapsed)

		{

		{

			saved = collapsed.split("|");
for(var i=0;i<saved.length;i++)
{

			saved = collapsed.split("|");
for(var i=0;i<saved.length;i++)
{

Zeile 568Zeile 582
				top += element.offsetTop || 0;
left += element.offsetLeft || 0;
element = element.offsetParent;

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

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

			} while(element);

left += owner.offsetWidth;

			} while(element);

left += owner.offsetWidth;