- Showing entities in an iFrame
- Posted by Chaitanya on July 13th, 2006
var navActivityHistory;
navActivityHistory =
document.all.navActivityHistory;
if (navActivityHistory != null)
{
navActivityHistory.style.display = "none";
document.all.IFRAME_HistoryFrame.src="/sfa/conts/areas.aspx?oId=" +
crmForm.ObjectId +
"&oType=2&security=852023&tabSet=areaActivityHisto ry";
}
else
{
alert("navHistory Not Found");
}
The above code is used to retrieve specific information into an iFrame.Can
anyone tell me what the variable "navActivityHistory" is used for?? Is it a
pre-defined variable in CRM?? why r we using it in "document.all.*".
And,what is tabset...can u give a brief description about this!!!
Thank You
Chaitanya.
- Posted by Niths on July 13th, 2006
navactivityhistory is the navigation link to the history of activities
related to a particular entity.
document.all.* is used because thats the hierarchy to be followed to access
an element inside a document. you can also write this as
document.crmForm.all.*
HTH,
Niths
"Chaitanya" wrote:
- Error creating new entities and editing existing entities (Windows CRM) by Howie
- Showing entities in an iFrame (Windows CRM) by Chaitanya
- CRM 3.0 IFrame (Windows CRM) by RG
- frameset/iframe (Programming) by KH
- xhtml iframe (Programming) by m.mocha@gmail.com

