:: Forum >>
Header enumeration
How would I go about enumerating header objects? I've been surfing through the documentation but can't seem to figure this one out.
Thanks in advance.
Chad
Friday, February 17, 2006
You know, I do this all the time. Spend hours trying things then finally post to the forum for help, only to find my solution moments afterwards....
var headersDiv = document.getElementById(obj.getId()+".layout/top");
var offsetObj = headersDiv;
var offsetX = 0;
while(offsetObj.offsetParent.tagName!='BODY') {
offsetX += offsetObj.offsetLeft
offsetObj = offsetObj.offsetParent
}
var headers = headersDiv.childNodes;
Chad
Friday, February 17, 2006
This topic is archived.
Back to support forum
Forum search