jQuery: The Write Less, Do More JavaScript Library

LavaLamp for jQuery 1.2.x?

View: New views
9 Messages — Rating Filter:   Alert me  

LavaLamp for jQuery 1.2.x?

by Andy Matthews-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?

Re: LavaLamp for jQuery 1.2.x?

by Danny Wachsstock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?

Re: LavaLamp for jQuery 1.2.x?

by Richard D Shank :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Andy, I just looked on that page and near the bottom on the comments, I found this
 

This plugin is currently incompatible with jQuery 1.2.x. To make it compatible, replace .each(function() { $.dequeue(this, "fx"); }) with .stop() around line 84-85.

I haven't tried it, let us know if it works.



On Dec 12, 2007 11:21 PM, Andy Matthews <andyandjaime@...> 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?


Re: LavaLamp for jQuery 1.2.x?

by Andy Matthews-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah look at that. I could have sworn I did a search on his demo page for that version.
 
Thanks for pointing it out! Can't wait to use it.


From: jquery-en@... [mailto:jquery-en@...] On Behalf Of Richard Shank
Sent: Wednesday, December 12, 2007 11:27 PM
To: jquery-en@...
Subject: [jQuery] Re: LavaLamp for jQuery 1.2.x?

Hey Andy, I just looked on that page and near the bottom on the comments, I found this
 

This plugin is currently incompatible with jQuery 1.2.x. To make it compatible, replace .each(function() { $.dequeue(this, "fx"); }) with .stop() around line 84-85.

I haven't tried it, let us know if it works.



On Dec 12, 2007 11:21 PM, Andy Matthews <andyandjaime@...> 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?


Re: LavaLamp for jQuery 1.2.x?

by Andy Matthews-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Awesome! Thank you!!

-----Original Message-----
From: jquery-en@... [mailto:jquery-en@...] On
Behalf Of Danny
Sent: Wednesday, December 12, 2007 11:26 PM
To: jQuery (English)
Subject: [jQuery] Re: LavaLamp for jQuery 1.2.x?


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?



Re: LavaLamp for jQuery 1.2.x?

by Andy Matthews-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 function
http://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 -

Re: LavaLamp for jQuery 1.2.x?

by Erlend Schei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 -

Re: LavaLamp for jQuery 1.2.x?

by Danny Wachsstock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Andy:
Erland Schei gave you the answer; the names of the easings changed
from the time lavalamp was originally written.
Look at http://gsgd.co.uk/sandbox/jquery/easing/ for the correct
names. "easeOutBack" is the classic effect.

Danny

On Dec 13, 8:29 pm, 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 -

Re: LavaLamp for jQuery 1.2.x?

by Andy Matthews-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Never mind...

I was using the 1.3 easing plugin rather than the one which came with the
lavalamp download. It's working now.

-----Original Message-----
From: jquery-en@... [mailto:jquery-en@...] On
Behalf Of Andy Matthews
Sent: Thursday, December 13, 2007 8:29 PM
To: jQuery (English)
Subject: [jQuery] Re: LavaLamp for jQuery 1.2.x?


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 function http://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-