[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-14 Thread Erlend Schei

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 -


[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-14 Thread Andy Matthews

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@googlegroups.com [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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-




[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-14 Thread Danny

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 -


[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-13 Thread Andy Matthews
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@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Shank
Sent: Wednesday, December 12, 2007 11:27 PM
To: jquery-en@googlegroups.com
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 [EMAIL PROTECTED] 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?





[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-13 Thread Andy Matthews

Awesome! Thank you!! 

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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?




[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-13 Thread Andy Matthews

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 -


[jQuery] Re: LavaLamp for jQuery 1.2.x?

2007-12-12 Thread Richard Shank
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 [EMAIL PROTECTED] 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?