Email conversation
From | Karen Sloan |
To | Me |
Subject | The Mozilla browser reacts strangely when mousing over |
Date | 17 July 2004 11:12 |
Hi,
I don't know if you are able to help me with a Javascript problem. I am
part of a non-profit organisation who has a web site which tries to raise
support via sponsorship to produce a short film. If you want to check on
what we do, our current site is located at www.SnowgumFilms.com.
I am currently trying to revamp the site, but my Javascript knowledge is a
bit limited. I have been given an image which will act as a frame for the
site and as such I need to determine what resolution a visitor to the site
has. So far so good, what I have done seems to work. My problem is that
when I view the site in Mozilla Firefox, or Netscape, the mouse is very
jerky and hard to control. I've still got a bit of work to do to get the
basics right, but I do not want to keep working on it if I am still going
to end up with a jerky mouse. I have uploaded the files to the following
address: http://xxxxx.xxxxxxxxxx.xxx.xx/xxxxx/ Would you be able to look
at this for me please and let me know if there is a work around, or if I am
going to be stuck with this weird behaviour? Or, can you direct me
somewhere where I might be able to get an answer to this problem? I've
tried coding in different ways and spent ages on it - all to no avail.
By the way I think you have got a great site there ... very informative.
Regards
Karen Sloan
From | Me |
To | Karen Sloan |
Subject | Re: The Mozilla browser reacts strangely when mousing over |
Date | 17 July 2004 14:12 |
Karen,
funny, no matter what I try, I cannot replicate this behaviour. The mouse
seems to work perfectly in Mozilla, Netscape, Firefox, Opera, Safari and IE
Win/Mac. In all of them, the mouse behaved normally, but scrolling was just
a little slow. In IE 5.5/win, the main content actually disappeared ... :)
Both of the test machines I used are fairly slow - win98/500MHz, Mac OS
X/400 MHz, so I have no idea why you would see these problems, but, here
are some pointers. Gecko (NS/Mozilla/Firefox) becomes slower - in
particular in response to the mouse, under the following conditions:
- If you make elements move when the mouse moves (mouse trails)
- If you make elements move and change size repeatedly (snow effects etc.)
- If you run multiple javascript interval or timeout timers simultaneously
- If you have lots of scrolling elements on the page
- If lots of (especially scollable) elements have transparent backgrounds
- If your page contains animated gifs
- If your page uses lots of plugins
- If you apply lots of :hover CSS effects (particularly within heavily
styled elements)
Since you do not seem to be doing too much of any of these, I cannot see
what might be causing it - but you could try disabling various CSS
declarations to see which has a good effect.
Not really much of a help I guess, but I really do not see any problem on
here (I see from the email headers that you are using Netscape 7.1 [the
same version as I tested] on Windows XP - maybe it is XP that makes the
difference. I do not have XP here to test).
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Karen Sloan |
To | Me |
Subject | Re: The Mozilla browser reacts strangely when mousing over |
Date | 18 July 2004 05:28 |
Hi Mark,
Thank you so much for having a look and for replying so promptly. This has
got me totally stumped. I've tried:
- Removing the reference to the external style sheet
- Disenabling all security such as Nortons, Zone Alarms and other various
things I've got running.
- Installed it on my partners system who is running XP and has a 500MHz
processor (Naturally it scrolled slowly, but not as bad as on mine - I've
got a 2.5 ghz processor!).
The page reacts as if there is something running on it all the time - there
are no errors in the JavaScript console. Yet it seems to work without a
problem in IE 6.0.
I guess my next step now would be to ask around family and friends with XP
to have a look and see what reaction they get.
Anyway, thanks once again for your response. If I ever manage to work it
out I'll let you know if you're interested for future reference.
Cheers
Karen