Closed
Bug 234429
Opened 21 years ago
Closed 21 years ago
mouse-driven javascript jpg image animation on page doesn't work properly
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: john, Unassigned)
References
()
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040214
The Komodo dragon image should rotate of its own accord, and be turned around by
the mouse. This works in IE6 but in Mozilla it does not self-rotate and only
displays part of the animation in response to mouse movements. Follow links to
the javascript source code and another animation (a teapot) which doesn't work
at all in Mozilla.
Reproducible: Always
Steps to Reproduce:
1. visit http://www.panoramafactory.com/komodo.html
2. observe, without moving mouse: image should appear to rotate
3. move mouse over image: image should appear to rotate through 360 degrees
depending on mouse position.
Actual Results:
see above
Expected Results:
see above
Occurred with classic theme on Moz 1.6 and Modern in 1.7.
Apologies if this report is misfiled or a duplicate etc: I have checked the bugs
list and tried to find something similar, and couldn't, but I'm new to Mozilla
and its bug reporting so hope you'll bear with me :-)
Comment 1•21 years ago
|
||
Not JS engine... either dom or evang; someone needs to look through the code and
figure out what's breaking in this script (which tries to work in NS4 and IE
both, and the NS4 branch _should_ sorta work for Mozilla....)
Assignee: general → general
Component: JavaScript Engine → DOM
OS: Windows 2000 → All
QA Contact: pschwartau → ian
Hardware: PC → All
Comment 2•21 years ago
|
||
It would take considerably a lot of time to examine carefully the whole
http://www.panoramafactory.com/PFObj.js
file and understand its differential logic for PFisIE (MSIE) and PFisNav6. The
author of the script would be in the best position to do that.
I personally doubt that there is a real bug in Mozilla 1.6 or 1.7alpha here as I
have extensively tested DOM extension properties and methods supported by
Mozilla. Right now, as worded, the summary only claims that the mouse-driven
image animation script does not work accordingly for Mozilla: in no way it does
mean that there is actually a bug in Mozilla's support for one or some DHTML
properties or event properties.
| Reporter | ||
Comment 3•21 years ago
|
||
I've emailed and had a reply from the author of the script and had a poke around
with it myself and it seems that the problem is with the script's browser
sniffer code thinking Mozilla is Netscape 6.
FWIW the script has to find out the coordinates of the image which it does
differently for IE, Nav and Nav6. What it really needs is a way to find out
where the mouse is in relation to the image area and to do so without browser
sniffing. Can anyone point to a way to do this?
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•