473,406 Members | 2,371 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.

safari onmouseover/out problems

Hi there,

I've created the following demo to illustrate a problem I've been
having with Safari (2.0.3 in my case) firing onmouseout events when the
onmouseover event should be being triggered. Is this a well documented
bug and, if so, what are the workarounds?

Demo here: http://www.cbjdigital.com/test.htm

Source:

<html>
<head><title>test</title></head>
<body>
<p>
<a href="#" onmouseover="input1.value='mouseover' ; "
onmouseout="input1.value='mouseout' ; ">change on mouseover and
mouseout</a><br/>
<input type="text" id="input1" value="" />
</p>
<p>
<a href="#" onmouseout="input2.value='mouseout' ; ">change on mouseout
only</a><br/>
<input type="text" id="input2" value="" />
</p>
<p>
<input type="button" onclick="input1.value='' ; input2.value='' ;"
value="Reset" />
</p>
</body>
</html>

On the demo, in Firefox everything works as it should with the value of
the second text input changing only when the cursor is moved off the
link. Safari however triggers the mouseout event when the cursor is
moved *onto* the link. Why is this?

Thanks in anticipation.

Mike

Apr 21 '06 #1
1 6053
ASM
mi************@gmail.com a écrit :
Hi there,

I've created the following demo to illustrate a problem I've been
having with Safari (2.0.3 in my case) firing onmouseout events when the
onmouseover event should be being triggered. Is this a well documented
bug and, if so, what are the workarounds?
my Safari 1.3.2 (v312.5) runs as Firefox

workaround : back with Mac OS 10.3 and Safari 1.3 :-)

onmouseover="" onmouseout="alert('hello')"
? ? ?

or/and with a doctype ?
Safari however triggers the mouseout event when the cursor is
moved *onto* the link. Why is this?


it knows only frontieres, borders ?
events are only oncrossover ? in(to) always before out(from)
--
Stephane Moriaux et son [moins] vieux Mac
Apr 22 '06 #2

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

Similar topics

2
by: Steve Lockridge | last post by:
We have recently created simple javascript rollovers on a site using Macromedia Fireworks. What is weird is that four of them work and one doesn't on the Mac platform using Safari and IE. The NN...
3
by: Roger Withnell | last post by:
My simple popup menu code works in IE (Windows and Mac) but not in Safari. I use a onmouseover ShowMenu function and a onmouseout HideMenu function. Because Safari, unlike IE, recognises...
3
by: Shiva | last post by:
This is my HTML Page containing javascript --------------------------------------------------- <html> <head> <script language="JavaScript"> var isSafari = (agent.indexOf("Safari") != -1);...
4
by: zoookapi | last post by:
I'm attempting to dynamically add a link so I can take a mouseover action on it and am having problems in Safari (this works fine in Firefox and IE (Windows version of IE)). When I add the img...
2
by: cbjewelz | last post by:
Hey all. So I'm having problems with cross browser alignments. I'm looking at Safari and Mozilla Firefox. I develop in Safari and so it looks perfect there however in Firefox my vertical...
1
by: pintoamanda | last post by:
Can someone tell me why the following code: <table width="449" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><img src="images/whitespace.gif" alt="" border="0"><a...
7
by: ja | last post by:
Hi, I've made an pseudo-select, wich using DOM functions like: document.createElement() appendChild() document.getElementById() with(obj){
5
by: loveshack | last post by:
Can anyone help me please (i am quite a novice, but having fun learning). Im not sure if this is an ASP problem, a javascript problem or a browser problem. Firstly, everything i have written...
3
by: linuskamb | last post by:
It seems, at least as far as my tests show, that Safari does not fire onmouseover for select options. with the code below, I can get all the messages in Firefox, but none in Safari. If I attach a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.