Explorer bar is not showing for pop up.

Add-in Express™ Support Service
That's what is more important than anything else

Explorer bar is not showing for pop up.
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

I have developed plugin containing IE bar.
When open page containing following source code it shows me IE bar.
When I click on POP button, new tab opens and it also shows IE bar.
When I click on POP2 button, new window opens and IE bar is not showing.

Please help.


Html source code of page:

<head>
<script type="text/javascript">
<!--
function myPopup() {
window.open( "http://www.google.com/" )
}

function myPopup2() {
window.open( "http://www.google.com/", "myWindow",
"status = 1, height = 600, width = 800, resizable = 1" )
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onClick="myPopup()" value="POP!">
<input type="button" onClick="myPopup2()" value="POP2!">
</form>
<p onClick="myPopup2()">CLICK ME TOO!</p>
</body>
Posted 12 Dec, 2012 03:43:50 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Ravi,

I think that it is by design in IE. Please try to use the code below to display the bar programmatically.
You can use in the OnConnect event handler of iemodule:

object g = typeof(<Type Name of the Bar).GUID.ToString("B");
object show = true;
object dummy = null;

IEApp.ShowBrowserBar(ref g, ref show, ref dummy);
Posted 12 Dec, 2012 05:12:59 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Sergey,

Thanks for the prompt reply.
It works great.

Regards
Posted 12 Dec, 2012 05:29:50 Top