A
Alder
I'm trying to tighten up my browsing security by following the
recommendations at http://www.infinisource.com/techfiles/surf-safe.html.
I've locked down the Internet Zone and moved several sites into the
Trusted Zone. One site now in the Trusted Zone will load and display
its opening page, but the tabs, which used to fire some scripts and
load different pages, no longer work.
My Trusted Zone custom settings are very liberal. I've enabled
everything in sight, including my custom Java settings. The only way
to get these tabs working again is to return my Internet Zone settings
to the default Medium level, and remove the site from the Trusted
Zone, which defeats the whole purpose of this exercise.
I know next to nothing about HTML and Javascript, but since the
offending tabs seem to be defined in the HTML source for the site's
opening page, I thought I'd post the Javascript function they appear
in in the hopes that someone with a lot more savvy can spot the
problem. Here's the function:
function finishnavControlSetupPrototype() {
var tmpPtr;
this.winStatButton.document.body.insertAdjacentHTML ("beforeEnd",
'<table style="background-color: transparent; border-collapse:
collapse;" border=0 cellpadding=0 cellspacing=0></table>');
this.tblStatButton =
this.winStatButton.document.body.children(this.winStatButton.document.body.children.length
- 1);
this.trStatButton = this.tblStatButton.insertRow();
this.winDynButton.document.body.insertAdjacentHTML ("beforeEnd",
'<table style="background-color: transparent; border-collapse:
collapse; width: auto;" cellpadding=0 cellspacing=0></table>');
this.tblDynButton =
this.winDynButton.document.body.children(this.winDynButton.document.body.children.length
- 1);
this.trDynButton = this.tblDynButton.insertRow();
this.winIframe.document.body.insertAdjacentHTML ("beforeEnd", '<table
border=0 cellpadding=0 cellspacing=0 style="width: 100%; height:
100%;"></table>');
this.tblIframe = this.winIframe.document.body.children(this.winIframe.document.body.children.length
- 1);
this.trIframe = this.tblIframe.insertRow();
this.AddTabPage ('1','Start','Start with forms.','/Start/Start.stm',
false, null, false);
this.AddTabPage ('2','Forms','Work with existing
forms.','/Forms/List.asp', false, null, false);
this.AddTabPage ('3','Profiles','Work with
profiles.','/Profiles/List.asp', false, null, false);
this.AddTabPage ('4','Delegations','Work with
delegations.','/Delegations/List.asp', false, null, false);
if (this.oShowUtilitiesTabs.blnShowReportsTab) {
this.AddTabPage ('5','Reports','','/SecuredTabs/Start.asp?U=R',
false, null, false);
}
if (this.oShowUtilitiesTabs.blnShowToolsTab) {
this.AddTabPage ('6','Tools','','/SecuredTabs/Start.asp?U=T', false,
null, false);
}
// this.AddTabPage ('7','Links','','/Links/Start.stm', false, null,
false);
// this.AddTabPage ('8','Help','','/Help/Start.stm', false, null,
false);
//tmpPtr = this.trStatButton.children(0).children(0).LLPtr;
//blah don't like doing this
iStartPage = window.setInterval("navControl.chkreadyStart ()", 200);
//this.ActivateExistingPage (tmpPtr);
//tmpPtr.numHistory = this.SetHistory ();
}
Your insights are appreciated...
Terry
recommendations at http://www.infinisource.com/techfiles/surf-safe.html.
I've locked down the Internet Zone and moved several sites into the
Trusted Zone. One site now in the Trusted Zone will load and display
its opening page, but the tabs, which used to fire some scripts and
load different pages, no longer work.
My Trusted Zone custom settings are very liberal. I've enabled
everything in sight, including my custom Java settings. The only way
to get these tabs working again is to return my Internet Zone settings
to the default Medium level, and remove the site from the Trusted
Zone, which defeats the whole purpose of this exercise.
I know next to nothing about HTML and Javascript, but since the
offending tabs seem to be defined in the HTML source for the site's
opening page, I thought I'd post the Javascript function they appear
in in the hopes that someone with a lot more savvy can spot the
problem. Here's the function:
function finishnavControlSetupPrototype() {
var tmpPtr;
this.winStatButton.document.body.insertAdjacentHTML ("beforeEnd",
'<table style="background-color: transparent; border-collapse:
collapse;" border=0 cellpadding=0 cellspacing=0></table>');
this.tblStatButton =
this.winStatButton.document.body.children(this.winStatButton.document.body.children.length
- 1);
this.trStatButton = this.tblStatButton.insertRow();
this.winDynButton.document.body.insertAdjacentHTML ("beforeEnd",
'<table style="background-color: transparent; border-collapse:
collapse; width: auto;" cellpadding=0 cellspacing=0></table>');
this.tblDynButton =
this.winDynButton.document.body.children(this.winDynButton.document.body.children.length
- 1);
this.trDynButton = this.tblDynButton.insertRow();
this.winIframe.document.body.insertAdjacentHTML ("beforeEnd", '<table
border=0 cellpadding=0 cellspacing=0 style="width: 100%; height:
100%;"></table>');
this.tblIframe = this.winIframe.document.body.children(this.winIframe.document.body.children.length
- 1);
this.trIframe = this.tblIframe.insertRow();
this.AddTabPage ('1','Start','Start with forms.','/Start/Start.stm',
false, null, false);
this.AddTabPage ('2','Forms','Work with existing
forms.','/Forms/List.asp', false, null, false);
this.AddTabPage ('3','Profiles','Work with
profiles.','/Profiles/List.asp', false, null, false);
this.AddTabPage ('4','Delegations','Work with
delegations.','/Delegations/List.asp', false, null, false);
if (this.oShowUtilitiesTabs.blnShowReportsTab) {
this.AddTabPage ('5','Reports','','/SecuredTabs/Start.asp?U=R',
false, null, false);
}
if (this.oShowUtilitiesTabs.blnShowToolsTab) {
this.AddTabPage ('6','Tools','','/SecuredTabs/Start.asp?U=T', false,
null, false);
}
// this.AddTabPage ('7','Links','','/Links/Start.stm', false, null,
false);
// this.AddTabPage ('8','Help','','/Help/Start.stm', false, null,
false);
//tmpPtr = this.trStatButton.children(0).children(0).LLPtr;
//blah don't like doing this
iStartPage = window.setInterval("navControl.chkreadyStart ()", 200);
//this.ActivateExistingPage (tmpPtr);
//tmpPtr.numHistory = this.SetHistory ();
}
Your insights are appreciated...
Terry