I am using this script to open sidepanels in IE:
<script language="VBScript">
set objShell = CreateObject("Shell.Application")
bReturn = objShell.ShowBrowserBar("{FF059E31-CC5A-4E2E-BF3B-96E929D65503}",
true)
</script>
but I can only open panels, not close them, because I don't know how to
detect whether a panel is already open. I'd like to have it this way:
if panel=open then
objShell.ShowBrowserBar("{FF059E31-CC5A-4E2E-BF3B-96E929D65503}", true)
else
objShell.ShowBrowserBar("{FF059E31-CC5A-4E2E-BF3B-96E929D65503}", false)
end if
Is it possible to detect the state of side bars in IE? If yes, please
provide the necessary code.