By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

mouseover dynamic windows appear

P: n/a
Hi expert, i have a stupid question need to ask which abt the
javascript, im doing some scripting for the web page project, i need a
feature which when mouse-in , then need a "dialog" or i donnot hwo to
name it , "windows"??? then i will add some comment, like and picture
inside the "dynamic" windows, but when mouse-out, then the windows will
auto disapper , i dont know the keyword to search for the script,
someone can give me advise ?

Oct 6 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a

ia*****@gmail.com ha scritto:

feature which when mouse-in , then need a "dialog" or i donnot hwo to
name it , "windows"??? then i will add some comment, like and picture
inside the "dynamic" windows,
make a mouseover event on the tag element you desire to
call a function that open the window:

function openW(url)
{
window.open(url,"", "width=320;heigth=200");
}

but when mouse-out, then the windows will
auto disapper , i dont know the keyword to search for the script,
someone can give me advise ?
then in the window created assing this event:
<script>
window.document.onmouseout = closeIt;

function closeIt()
{
self.close();
}
</script>

Bye

Oct 6 '06 #2

P: n/a

josh wrote:
ia*****@gmail.com ha scritto:

feature which when mouse-in , then need a "dialog" or i donnot hwo to
name it , "windows"??? then i will add some comment, like and picture
inside the "dynamic" windows,

make a mouseover event on the tag element you desire to
call a function that open the window:

function openW(url)
{
window.open(url,"", "width=320;heigth=200");
}

but when mouse-out, then the windows will
auto disapper , i dont know the keyword to search for the script,
someone can give me advise ?

then in the window created assing this event:
<script>
window.document.onmouseout = closeIt;

function closeIt()
{
self.close();
}
</script>

Bye
I'd recommend more of a floating div as a tooltip for someting like
that. You can see an example on Walter Zorn's site:
http://www.walterzorn.com/tooltip/tooltip_e.htm

HTH

Oct 6 '06 #3

P: n/a
I have done a demo of this using Javascript and CSS. Have a look at
this demo page: <a
href="http://myscwebdesign.com/articles/popups_demo.htm">Popups
Demo</a>

If that's what you want, then you can just read the article at: <a
href="http://myscwebdesign.com/articles/popups.php">Javascript and CSS
Popups</a>

Hope that helps,

kudzai

Oct 7 '06 #4

P: n/a
PLS take note for this ! problem sloved !
http://www.webdeveloper.com/forum/ar...p/t-64021.html

On Oct 7, 10:20 pm, "kudzai" <iwd.kud...@gmail.comwrote:
I have done a demo of this using Javascript and CSS. Have a look at
this demo page: <a
href="http://myscwebdesign.com/articles/popups_demo.htm">Popups
Demo</a>

If that's what you want, then you can just read the article at: <a
href="http://myscwebdesign.com/articles/popups.php">Javascript and CSS
Popups</a>

Hope that helps,

kudzai
Oct 9 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.