Open link in main IE window


I've got an Explorer Bar in Internet Explorer which hosts an HTML page.
This explorer bar shows in the left side of the window.

I want to be able to open any URL's clicked from that bar, in the main browser window.
I've tried in my HTML page to put for the link target="_main" , target="_top" but it still doesn't work.
When I set target = "main" it opened the link in the right side of the window, but in a new window.

How does one do this?

Thanks in advance!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try to use "_self", maybe usefull
travelgrAuthor Commented:
"_self" opens the link in the explorer bar
Did you try target="_parent"?
Else, you have to put target="frameName" where frameName is the name of the frame defined in your frameset.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

how about "_parent"?
travelgrAuthor Commented:
"_parent" doesn't work either . i don't use frames. the html in explorer bar is one window and the main window is something different.. is external
did you try _content?
Are you sure "_main" does NOT work? According to

"_main" should be the target.
(the info is somewhere in the "IMPORTANT:" subsection)
Page 1: main page that contains all useful information
Page 2: page that contains links that need to go to page1

so far so good

You also need a 3rd page, so your schema goes something like this:

Page1: Opens a new window, giving it a name, something like (<a href="newWindow.html" target="myMainPage" href="link">some text</a>)
or ""page2.html","myMainPage","");"

Page2: The page you just opened, you can now do away with Page1, you don't need it anymore
page3: Page with links, set your target on each link to "myMainPage"

you can also forcibly close some browsers, depending on what security settings they have installed. (code below)


OK , i found the problem

Try to use "_main" (main and _main is have some diffrences)

when you use an html page instead of IE search bar you  have two option in your link's open. "_self" open link in search bar and "_main" open link in main IE page
And in other hand you can use this code:
and the search bar html code maybe like this

<base target=_main>
<form method=ANYTHING action=ANYTHING target=_self >
  any input box and button to submit

Your links come here and not need to set target=_main for any HREF anymore

"I use this code and test it to create a temp search bar and it's work correctly in IE6"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.