Email conversation
From | Maria |
To | Me |
Subject | Your web site |
Date | 28 June 2005 06:33 |
I'm so glad I found your site. I have benn searching
for 2 days for a solution to my problem.
basicly, my mouesover only works in IE and not in
netscape. I'v gone to help sites with no luck..no one
seems to know how to resolve this.
So, since onmouseover is not working in netscape and
since I don't know how to write the javascript for
onmouseout (trying to avoid clicking the pop-up to
exit)
I was hoping you could take a look at my code and show
me how it's done? Any help you can provide would be
appreciated!!
Maria
From | Me |
To | Maria |
Subject | Re: Your web site |
Date | 28 June 2005 10:51 |
Maria,
> basicly, my mouesover only works in IE and not in
> netscape.
Please do not ignore the other browsers. Opera, Firefox, Safari, Konqueror,
OmniWeb, iCab, etc. It is many years since IE/Netscape were the only major
browsers.
Anyway, the reason for your problem is quite simple.
onMouseOver="MM_openBrWindow
That says it all. You are trying to open a popup window when someone moves
their mouse over a link. That is an unrequested popup and so it is being
blocked. Popups should only ever be opened onclick.
> I don't know how to write the javascript for
> onmouseout (trying to avoid clicking the pop-up to
> exit)
Warning: That is bad for accessibility. Especially since your popup falls
off the side of my screen so I would not be able to read it, and if you
make it smaller, it might need scrollbars (which I would not be able to use
since you would close the popup). If you still want to do it anyway;
<a href="javascript:void(0);"
onclick="window.foo = window.open('AboutME.htm','AboutMe',
'scrollbars=yes,width=800,height=600'); return false;"
onmouseout="if( window.foo && !foo.closed ) { foo.close(); }">
<img src="Pics/tinybutton1.jpg" width="150" height="150" border="0"></a>
It is much better to stick to conventional way of closing popups.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Maria |
To | Me |
Subject | Re: Your web site |
Date | 28 June 2005 17:35 |
ok, thank you!