Custom opacity in pulsate plugin (done)

Custom opacity in pulsate plugin (done)


I have just added a small new features to the pulsate plugin as I
needed them im my project. I uploaded the file into the groups file-
area. If you can use the feature, here is a copy of my changes too. I
would appreciate to see custom opacity included in the next versions.
By the way: Is there any other was to contribute code to the project?
In the last few week a have resolved a lot of problems using jquery
and adding a bit of code here and there (mostly in plugins, I already
contacted the authors of them as well...)?
[...]
// Set options
var opac = o.options.opacity || 0; // Default fadeout-opacity
[...]
// Animate
for (var i = 0; i < times; i++) { // Pulsate
el.animate({opacity: opac}, o.duration / 2,
o.options.easing).animate({opacity: 1}, o.duration / 2,
o.options.easing);
};
if (mode == 'hide') { // Last Pulse
el.animate({opacity: opac}, o.duration / 2, o.options.easing,
function(){
el.hide(); // Hide
if(o.callback) o.callback.apply(this, arguments); //
Callback
});
} else {
el.animate({opacity: opac}, o.duration / 2,
o.options.easing).animate({opacity: 1}, o.duration / 2,
o.options.easing, function(){
if(o.callback) o.callback.apply(this, arguments); //
Callback
});
};
[...]