jBackgroundImage 0.9.5

Rating: No reviews yet
Downloads: 29
Released: Jul 7, 2009
Updated: Jul 7, 2009 by Siderite
Dev status: Beta Help Icon

Recommended Download

Source Code jBackgroundImage 0.9.5
source code, 5K, uploaded Jul 7, 2009 - 29 downloads

Release Notes

Previous attempt did not work so well in more complex scenarios. This version also moves the element in a relative position and gives it a z-Index.
More options added, too.

Example:
$(function() {
$('#target').stretchBackgroundImage({
imageSrc:'test.png', // background image
marginLeft:1, // left margin of the background image
marginTop:1, // top margin of the background image
marginRight:1, // right margin of the background image
marginBottom:1, // bottom margin of the background image
imageIndex:null, // z-Index for the image. Leave it null for automatic.
elementIndex:null, // z-Index for the target element. Leave it null for automatic.
autoRefresh:300, // auto check every 300 milliseconds if size or position changed.
// WARNING! needs jGenerateRefresh loaded
});

Reviews for this release

No reviews yet for this release.