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=areaActivityHistory";
}
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.

RE: Showing entities in an iFrame by JoSavidge

JoSavidge
Tue Jul 11 02:58:02 CDT 2006

The navActivityHistory hides the Activity History navigation bar - this code
will add the activity history screen to the contacts general screen when
added to an onload event.

"Chaitanya" wrote:

> 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=areaActivityHistory";
> }
> 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.

RE: Showing entities in an iFrame by Chaitanya

Chaitanya
Tue Jul 11 04:54:01 CDT 2006

Hi Savidge,

Thanks for the reply...!!!
I would also like to know how to use a variable in other
circumstances.Like...if i want to display contacts...i used "navContacts" and
it worked.But,when i used "navOpportunityProducts" to display products in an
iFrame in the "Opportunity" window...it failed.So,plzz give me the exact way
of using that variable.And,also tell us something about "tabset".


"Jo Savidge" wrote:

> The navActivityHistory hides the Activity History navigation bar - this code
> will add the activity history screen to the contacts general screen when
> added to an onload event.
>
> "Chaitanya" wrote:
>
> > 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=areaActivityHistory";
> > }
> > 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.