find window disappears if I call "navigate" in javascript with web browser control

A

ari

I have a vb.net program that uses the web browser for display purposes.
I have implemented a type of "tooltip" pop up window that works as
follows:

in the html I have defined:

<SPAN id="1" _tip="" onmouseover="hover(this,'1')"
onmouseout="hoveroff(this,'1')" </SPAN>


[Sorry for the < - if I put the actual text in, google groups gets
unhappy....]

where the hover function does:

function hover(curobj,hotspot_num)
{
if (curobj._tip == "")
{
navigate("genhotspot:" + hotspot_num);
}
if (curobj._tip != "")
{
displayTip(curobj) //displays the popup window
}
}



this calls the BeforeNavigate2 which in turn sets the value of "_tip"

All this works very nicely - EXCEPT if I have the "find" window open
after pressing ^F. It makes the find window disappear. Any body have
any idea why - or better yet - how to make it not do that?
 
H

Herfried K. Wagner [MVP]

ari said:
I have a vb.net program that uses the web browser for display purposes.
I have implemented a type of "tooltip" pop up window that works as
follows:

Your question doesn't seem to be related to VB.NET programming -- I suggest
to post it to either a JavaScript or Internet Explorer newsgroup.
 

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

Top