473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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?

Jul 9 '06 #1
2 2510
"ari" <un******@yahoo.comschrieb:
>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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jul 9 '06 #2
Because you are navigating to a new page.

ari wrote:
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:

&lt;SPAN id="1" _tip="" onmouseover="hover(this,'1')"
onmouseout="hoveroff(this,'1')" &lt;/SPAN>
[Sorry for the &lt; - 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?
Jul 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tom Meuzelaar | last post by:
Hello: I'm using VB6 in VS enterprise. I'd like to place an HTML form inside a VB container, have a user fill out the form information, click a submit button, and then have the program capture...
0
by: AlanF | last post by:
Here is my perplexing issue and I've looked EVERYWHERE for help (well almost everywhere.... probably should have started here :)) I am using a Webclient to successfully retrieve a "downloadata"...
4
by: John Bowman | last post by:
Hi, How can I disable the right click capability of the Web Browser control that's on a form? I only want it to display the HTML, w/ no popup menu. TIA, -- John C. Bowman
0
by: Navigation problem of AxWebBrowser cotrol | last post by:
I host an AxWebBrowser control in my program. At the beginning, it works well. However, sometimes, it does nothing when I call AxWebBrowser.Navigate(...) to navigate to a new web page. Since then,...
2
by: meh | last post by:
Does ne1 know where I might be able to find some examples of reading and writing new favorites using the browser control???? TIA meh
1
by: Oenone | last post by:
I've reached the conversion of a part of my application from VB6 to VB.NET which uses the COM Web Browser control to display HTML content generated by my application. The general approach used...
44
by: Viken Karaguesian | last post by:
Hello all, On occasion I want to open hyperlinks (images, etc.) in a new window. In the past, I've used target="_blank" to open the link in a new window. However, using the "target" attribute...
2
by: Lyle Fairfield | last post by:
I am using Microsoft’s Web Browser Control embedded on an Access Form to browse a specific site. I have a good reason for doing so; the pages on this site run code which aborts their display unless...
5
by: timnels | last post by:
I have a web browser control that I'd like to point at a HTML file in my installation directory. I am doing something like: string path = Path.GetDirectoryName(...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.