Simple Rollovers with Prototype 2.0 JavaScript script

SPONSORED LINKS

    Specification

  • Version: 2.0
  • File size: 0 KB
  • File name: rollovers.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: JavaScript
  • Price:Other Free / Open So
  • Company: Millstream (View more)

Simple Rollovers with Prototype 2.0 script description:




Publisher review:
Simple Rollovers with Prototype is a simple script that will create an image rollover effect. Simple Rollovers with Prototype is a simple script that will create an image rollover effect. The simple way to set it up is give an img element the class 'rollover' and make sure the rollover image has the same path and file name as the source image of the img element plus a suffix of '-rollover'.

For example if your image is tree.jpg make sure your rollover image is tree-rollover.jpg. If FastInit is present it'll use that to start it automatically, otherwise it'll add a window.onload event.

You can call Rollovers at any time before the page loads with your own custom options:
- selector : An array of CSS selectors
- srcFunction : a function that is called with two arguments, the current image and the options array. This function should return a string representing the URL of the rollover image to replace the default one.
You can add as many other options as you need to this array; because it is passed to the srcFunction you can use them within the function.

When Rollovers is called it will apply a mouseover event listener to the images selected by the CSS selectors and preload the images.
Simple Rollovers with Prototype 2.0 is a JavaScript script for Image Effects scripts design by Millstream. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Simple Rollovers with Prototype is a simple script that will create an image rollover effect.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5