PDA

View Full Version : Is the IE5/6 Search pane exposed in the DOM, and can Javascript be used to close it


cbiba
12-17-2002, 05:32 PM
I have an application that involves intercepting a user's browser session and directing the user to a custom page. This works.

Unfortunately, if the user has the IE search pane open, the custom page appears twice -- once in the main panel, and once in the search panel.

I would like to be able to detect if the panel is open, and close it using javascript. Is this possible?

brothercake
12-17-2002, 05:52 PM
It's not polite to mess with people's window set up. Leave my panes alone ....



I don't actually know if it's possible. How are you redirecting that makes the page show up in the document and search pane ?? Can you show us that code

cbiba
12-17-2002, 06:56 PM
I'm just the technical writer doing some UI on the project so I am not familiar with the details. But it is pretty cool to type www.cnn.com into the address bar and end up at www.altavista.com.

This however is not the purpose, and this is being used internally to divert browsers during important corporate events. Basically the destination page is HTML under our control, so the browsers inside our network get redirected to our custom corporate page.

The HTML inside that custom page is all I have to work with.