Brian Angliss wrote:
[color=blue]
> I'm relatively new to scripting in JavaScript, so I'm not too
> surprised I'm having difficulty scripting up an animation effect for
> my personal site.
>
> What I'm trying to do is the following: When I go onMouseOver on a
> button in a nav bar, I want that button to switch to a different image
> while at the same time another blank image changes as an animation to
> an associated image. When I go onMouseOut, the bar image reverts back
> to the original and the blank area image steps back through the
> animation to the original, blank image.
>
> I can get this to work for a single nav bar button, but when I attempt
> to generalize the functions to work for the second nav bar button (and
> a second, different animation that occurs in the same blank area), it
> fails.
>
> I can get the second nav button to work correctly on rollover by
> splitting the simple rollover function out from the animation
> function, but I cannot get the second animation to work regardless.
>
> Any suggestions on how I might solve this problem? I can post code if
> necessary.
>
> Thanks a lot.
>
> Brian[/color]
I know it's possible (even easy) to do rollover effects on 2 groups of
objects.
Without being able to see any code out of your post and no url, it's
extremely difficult to suggest anything concrete (furthermore if your
code is complex according to you)... just general not-too-commital
guesswork. Is your webpage markup syntax valid, validated?
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunc...e7Section.html