WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Xtree causing Infinite Loop , az, April 9, 2005

Subject: Xtree causing Infinite Loop From: az Date: April 9, 2005

I have two iframe,
iframe A  has the Xtree
iframe B is a target frame

The problem is i want to loose focus from the xtree because i have a alert or any dialog box in iframe B. The reason i want to do that is because the iframe B will go in a continusly loop and reload when you click on the alert or any dialog.
Any suggestion to fix this problem. 

Thank you,

 

WebFXTreeAbstractNode.prototype.focus = function() {
if ((webFXTreeHandler.selected) && (webFXTreeHandler.selected != this)) {
webFXTreeHandler.selected.deSelect();
}

webFXTreeHandler.selected = this;
if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) {
document.getElementById(
this.id + '-icon').src = this.openIcon;
}

document.getElementById(this.id + '-anchor').className = 'selected';
document.getElementById(
this.id + '-anchor').focus();
if (webFXTreeHandler.onSelect) {
webFXTreeHandler.onSelect(this);
}

parent.parent.header.document.getElementById("hiddentab1url").value = this.tab1url
parent.parent.header.document.getElementById("hiddentab2url").value =
this.tab2url
parent.parent.header.document.getElementById("hiddentab3url").value =
this.tab3url
parent.parent.header.document.getElementById("hiddentab4url").value =
this.tab4url
}




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX