« Return to Thread: LavaLamp for jQuery 1.2.x?
Re: LavaLamp for jQuery 1.2.x?
You basically need two changes: Use the new easing names, and replace
the dequeue calls. Instead of doing:
>replace .each(function() { $.dequeue(this, "fx"); }) with .stop()
>around line 84-85.
you could replace with $(this).dequeue("fx"). But I don't know the
difference between stop() and dequeue() (haven't tried to find out
either ;))
Here's an easing call that works:
$(".lavaLampWithImage").lavaLamp({
fx: "easeOutBack",
speed: 700
});
The important is the new names!
Have a look here for a demo: http://gallerihaaken.com
Erlend :)
On 14 Des, 03:29, Andy Matthews <andyandja...@...> wrote:
> FYI Danny...
>
> I put your change in place, downloaded the most recent versions of
> both jQuery (jquery-1.2.1.pack.js), and Easing (jquery.easing.1.3.js)
> and now each time I mouseover a button I get about 100 js errors, all
> saying:
>
> E.easing[this.options.easing || (E.easing.swing ? "swing" : "linear")]
> is not a functionhttp://localhost/downloads/lavalamp/jquery-1.2.1.pack.js
> Line 11
>
> Any ideas?
>
> On Dec 12, 11:25 pm, Danny <d.wac...@...> wrote:
>
> > I modified it to run under 1.2, with the most recent easing plugin:http://youngisrael-stl.org/inc/jquery.lavalamp.js
>
> > On Dec 12, 10:21 pm, Andy Matthews <andyandja...@...> wrote:
>
> > > I'm really wanting to use Ganeshki's excellent LavaLamp plugin (http://www.gmarwaha.com/blog/?p=7) but it appears that it doesn't work with
> > > the most current stable release of jQuery.
>
> > > Does anyone know if there's an updated release somewhere that meets
> > > the 1.2.x requirement? Or is there an alternate menu which gives the
> > > same effect?- Hide quoted text -
>
> > - Show quoted text -
« Return to Thread: LavaLamp for jQuery 1.2.x?
| Free embeddable forum powered by Nabble | Forum Help |