473,387 Members | 1,536 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,387 software developers and data experts.

mouse over and new page

NH
Hi,

I have a mouseover event on a control, is there a way of opening another
asp.net webform and having it close automatically when the mouseoff even
occurs?

I can easily open a new window but cant figure out how to make it close
automatically on the mouseoff event. I think I need to wrap the page in a div
and dynamically hide and display it.

Any ideas?

Thanks
Sep 15 '06 #1
4 1398
"NH" <NH@discussions.microsoft.comwrote in message
news:F1**********************************@microsof t.com...
I can easily open a new window but cant figure out how to make it close
automatically on the mouseoff event. I think I need to wrap the page in a
div
and dynamically hide and display it.
You can't "wrap a page in a div"... pages can contain divs, divs can't
contain pages...

You could certainly copy all of the controls from the second page into a div
on your first page and then use DHTML to hide and unhide it. This will give
the appearance of a popup without actually being one...
Sep 15 '06 #2
NH
Yes sorry, that was a stupid statement.

The problem I think I will have is that the pop up page needs to retrieve
data from the database based on parameters I pass into it. So I dont think
this will work from what you suggest.

"Mark Rae" wrote:
"NH" <NH@discussions.microsoft.comwrote in message
news:F1**********************************@microsof t.com...
I can easily open a new window but cant figure out how to make it close
automatically on the mouseoff event. I think I need to wrap the page in a
div
and dynamically hide and display it.

You can't "wrap a page in a div"... pages can contain divs, divs can't
contain pages...

You could certainly copy all of the controls from the second page into a div
on your first page and then use DHTML to hide and unhide it. This will give
the appearance of a popup without actually being one...
Sep 15 '06 #3
"NH" <NH@discussions.microsoft.comwrote in message
news:CC**********************************@microsof t.com...
The problem I think I will have is that the pop up page needs to retrieve
data from the database based on parameters I pass into it. So I dont think
this will work from what you suggest.
That's correct, and if you had mentioned that in your original post, I would
not have suggested it...
Sep 15 '06 #4
you could use an absolutely positioned IFRAME. set the source of it when
you mouse-over, with your database parameter (or whatever), and update its
Top and Left position at the same time so that it appears correctly on the
page. the mouse-off event can hide the iframe.
not great for Mac/Linux compatibility but that may not matter to you.

tim

"NH" <NH@discussions.microsoft.comwrote in message
news:CC**********************************@microsof t.com...
Yes sorry, that was a stupid statement.

The problem I think I will have is that the pop up page needs to retrieve
data from the database based on parameters I pass into it. So I dont think
this will work from what you suggest.

"Mark Rae" wrote:
>"NH" <NH@discussions.microsoft.comwrote in message
news:F1**********************************@microso ft.com...
I can easily open a new window but cant figure out how to make it close
automatically on the mouseoff event. I think I need to wrap the page in
a
div
and dynamically hide and display it.

You can't "wrap a page in a div"... pages can contain divs, divs can't
contain pages...

You could certainly copy all of the controls from the second page into a
div
on your first page and then use DHTML to hide and unhide it. This will
give
the appearance of a popup without actually being one...

Sep 15 '06 #5

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

Similar topics

3
by: Csaba2000 | last post by:
I have set onmousedown to change the cursor, but this setting is ignored (IE 5.5; NN 6.1 on Win 2K Pro) until the mouse is either moved or the mouse button is released. On Opera 7.01, the setting...
9
by: punkin | last post by:
I am trying to catch mouse position on the entire screen by dynamically generating mouse click event at every 100 ms. My code only works for IEs but not any Netscape or Gecko-based browsers. The...
1
by: DJ WIce | last post by:
Hi, I have a function on my page to zoom in (for people who have not very good eyes for example): var zoom_factor=100; function zoom(how) { var bodyStyle = document.body.style; zoom_factor...
4
by: Videos 4 Sale | last post by:
Would you know how to change the look of a mouse pointer on a web page. On the page I have the mouse pointer is exactly as I have at work.... white. But what I want to do is change the look of it...
1
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this...
4
by: Prateek | last post by:
Hi All, I have created an ASP.NET page that basically consists of a table having text boxes in all cells. The table is created using client side java script. There are some calculations being...
0
by: lechatthierry | last post by:
Is it possible to block a mouse event on an Hyperlink with a general script event? This is quite troublesome for me. I am trying to find a way to block the windows shortcut SHIFT + MOUSE LEFT...
1
by: Neko | last post by:
Is it possible to block a mouse event on an Hyperlink with a general script event? This is quite troublesome for me. I am trying to find a way to block the windows shortcut SHIFT + MOUSE LEFT...
19
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up...
1
by: kallol | last post by:
I have a simple HTML page where I have a form with in a <div style="height: 600px; width: 100%; overflow: auto;">. The mentioned div styles are mandatory to get the expected behavior of the div. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.