var iFrame = crmForm.all.IFRAME_view;
iFrame.src = SERVER_URL + "/advancedfind/advfind.aspx?etn=contact&QueryId=%7b3882F0FA-2B3A-DE11-BFB8-0018FE7F3A64%7d&ViewType=4230&AutoRun=True";
iFrame.attachEvent( "onreadystatechange" , Ready);
function Ready()
{
var iDoc = iFrame.contentWindow.document;
if(iDoc.getElementById("crmMenuBar") != null && iDoc.getElementById("btnBack") != null)
{
iDoc.getElementById("crmMenuBar").style.display = "none"; // hide the top menu bar
iDoc.getElementById("btnBack").style.display = "none"; // hide the bottom BACK button
}
}
это из указанной вами статьи.
у меня вопрос : вот здесь мы прячем top menu bar iDoc.getElementById("crmMenuBar").style.display = "none"; // hide the top menu bar
а как таким же образом спрятать поиск? я так понимаю iDoc.getElementById(" поиск , который прячем").style.display = "none";
__________________
rurik
|