Change main window href from IE search panel, after user has left my main page?

R

Robert Oschler

I know how to load a document into the "Search" panel/sidebar in Internet
Explorer. I also know that I can use the "window.opener" property, from the
"Search" sidebar document, to change the main window's URL *as long as the
user has not navigated away from my web page* that loaded the document into
the "Search" sidebar.

But I would like to know if there is a way to change the main window's URL
even *after* the user has navigated away from my main web page, which means
that for the "Search" sidebar document, the "window.opener" property is now
invalid. Otherwise, the links in the "Search" sidebar won't be very useful,
now that the user has left my main web page (but the "Search" Sidebar still
shows my "Search" sidebar document).

Thanks.
 
I

Ivo

I know how to load a document into the "Search" panel/sidebar in Internet
Explorer. I also know that I can use the "window.opener" property, from the
"Search" sidebar document, to change the main window's URL *as long as the
user has not navigated away from my web page* that loaded the document into
the "Search" sidebar.

You do not need window.opener. You do not even need Javascript. Just specify
target="_main" in the Search pane's document's links...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top