diff --git a/mozilla/xpfe/browser/samples/collapsing.css b/mozilla/xpfe/browser/samples/collapsing.css index 51c78dd5c12..8ca8c885889 100644 --- a/mozilla/xpfe/browser/samples/collapsing.css +++ b/mozilla/xpfe/browser/samples/collapsing.css @@ -1,9 +1,9 @@ -window[sitemode="hideAOL"] box#AOLBox +window[sitemode="hideSiteOne"] box#SiteOneBox { visibility:collapse; } -window[sitemode="hideNetcenter"] box#NetcenterBox +window[sitemode="hideSiteTwo"] box#SiteTwoBox { visibility:collapse; } \ No newline at end of file diff --git a/mozilla/xpfe/browser/samples/collapsing.xul b/mozilla/xpfe/browser/samples/collapsing.xul index b803cb2d792..d76ded26f60 100644 --- a/mozilla/xpfe/browser/samples/collapsing.xul +++ b/mozilla/xpfe/browser/samples/collapsing.xul @@ -12,36 +12,36 @@ verifyControls(); } function verifyControls() { - var aolSite = window.frames["AOLSite"]; - var nsSite = window.frames["NetcenterSite"]; - if(aolSite==null) - window.alert("Our AOL Frame isn't in the DOM!"); - if(nsSite == null) - window.alert("Our Netcenter Frame isn't in the DOM!"); + var siteOne = window.frames["SiteOne"]; + var siteTwo = window.frames["SiteTwo"]; + if(siteOne==null) + window.alert("Our SiteOne Frame isn't in the DOM!"); + if(siteTwo == null) + window.alert("Our SiteTwo Frame isn't in the DOM!"); } - function cmdHideAOL(){ + function cmdHideSiteOne(){ verifyControls(); - window.document.getElementById("ShowSite").setAttribute("sitemode", "hideAOL"); + window.document.getElementById("ShowSite").setAttribute("sitemode", "hideSiteOne"); verifyControls(); } - function cmdHideNetcenter() { + function cmdHideSiteTwo() { verifyControls(); - window.document.getElementById("ShowSite").setAttribute("sitemode", "hideNetcenter"); + window.document.getElementById("ShowSite").setAttribute("sitemode", "hideSiteTwo"); verifyControls(); } - + - - - + + + - - - + + +