This plugin uses JavaScript to create a platform-agnostic rotating banner image for your website. Unlike similar Flash implementations, this feature will work even on Flash-disabled web browsers.
Note that you will need to upload your images separately using WordPress’ built-in image gallery feature.
Download
Latest version: [zip]
JS Banner Rotate has been downloaded 34164 times so far!
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload the entire
js-banner-rotate
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
[jsbrotate images=image1url|image2url... /]
on your pages/posts - Optionally, you can place the function
in your templates to call the banner
Accepted Arguments
The shortcode/template tag accepts several parameters …
Images
Specify your images in a pipe-delimited list:
images=http://blog.url/image1.jpg|http://blog.url/image2.jpg
Banner Link
Link your entire banner to a specific page on the site or to an external URL:
link=http://whateveryouwant.com
Banner Title
Give your banner a title so people know what it’s about:
titlevis=true title=Portfolio
Height and Width
Specify the dimensions of your banner. All images not already at these proportions will be stretched/scaled to fix:
height=500 width=230
Display and Fade Duration
Manage the length of time each image is displayed on the screen and the length of time it takes to fade between them:
imgdisp=8 imgfade=3
Changelog
2.0.2
- Fix a JS scope issue preventing the fade duration setting from propogating to the script.
2.0.1
- Fix an error where deprecated arguments were flagged with the wrong function.
2.0
- Refactor display system to use a pluggable template.
- Deprecate older
image1=
API.
1.4
- Switch to jQuery (issue 1)
- Fix white background image (issue 2)
- Contextual script inclusion and execution (issue 3)
- Upgrade to PHP5 OOP syntax
1.3.3
- Fix an exotic IE7 bug related to linking to images.
1.3.2
- Removes insecure Elliot RPC integration
1.3.1
- Fixed calls to deprecated functions
1.3.0
- Overhauled system to integrate advanced error reporting
- Updated and improved documentation
1.2.2
- Fixed CSS typo for .banner-container definition
- Updated documentation for PHP function call
1.2.1
- Tested to WordPress version 2.9.1
- Modified GPL references to restrict to version 2 only
1.2.0
- Eliminates the use of the OJAY javascript library
- Allows the use of more than 5 images
- Removed image numbers
1.1.1
- Fixes IE CSS display problem
1.1
- Further clean-ups to Javascript implementation
- Adds the ability to change the color of the image numbers
- Adds the ability to toggle the image numbers on and off
- Adds the ability to change the timing of the image display and fade
- Adds template tag
- Changes default image sizing to match WordPress defaults
1.0.3
- Adds the ability to toggle the banner title on and off
1.0.2
- Cleans up CSS to prevent interference with other plug-ins
- Updates readme.txt to explain required/optional shortcode parameters and defaults
- Updates YUI javascript libraries to the most current release
- Tests compatability with WP 2.8.1
1.0.1
- First release