jQuery: The Write Less, Do More JavaScript Library

Rolla Imagehover

Average rating
(1 vote)

Rolla makes automatically a crossfading image rollover only with a link.

Example: (with default options here)

$.rollaHover({
  imgDir: 'images',
  onFade: 'fast',
  outFade: 'fast',
  mainOpacity: "1",
  css: 'rolla'
  });

HTML
From:

<a href="http://jquery.com/" class="rolla">jquery</a>

To:
<a href="http://jquery.com"><img src="images/jquery.jpg" alt="jquery" title="jquery" class="rolla"></a>

Fade:
<a href="http://jquery.com"><img src="images/jquery-on.jpg#hover" alt="jquery" title="jquery" class="rolla"></a>

Releases