On May 22, 2:43 pm, dnagir <dna...@gmail.com> wrote:
> Hi,
>
> Just wondering if there's some effect in JQ that we can use to
> simulate rollover.
It doesn't require any javascript at all.
> Usually when user hovers a mouse over a link/image it changes its src/
> background to another one (for example arrow.png -> arrow_o.png).
Modern rollovers use a single image, not multiple images (you can use
a single image for all rollovers if you want).
> So users feels like it is highlighted or similar.
>
> But we always must have 2 images (similar ones).
No, you don't.
> Maybe there's some
> effect that can simulate this highligting/hover for user so we don't
> need to have 2 images.
Google "CSS rollovers" - no script required.
>
> I understand it will never be as good as alternative image, but still.
"Good" is subjective, but most believe that CSS rollovers are
significantly better than script-driven rollovers.
--
Rob