On 5/22/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
If I insert any call to MochiKit on the page, then Lightbox stops working.

BUT -- there's always one... -- if I insert Lightbox's script tags *after*
MochiKit's, then everything (MochiKit AND Lightbox) works as expected.


Did a quick glance through the lightbox code. It looks like the
'pause' (maybe, didn't look that carefully ;]) and 'addLoadEvent'
functions conflict with MochiKit. I suspect the latter is the source
of the problems. Changing lightbox to support the mochikit
addLoadEvent would seem to be the simplest course of action. In either
case, it'll have to load after mochikit.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.131.7 with SMTP id e7mr199331wrd;
       Mon, 22 May 2006 09:51:35 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from nz-out-0102.google.com ([64.233.162.201])
       by mx.googlegroups.com with ESMTP id v23si1083625cwb.2006.05.22.09.51.34;
       Mon, 22 May 2006 09:51:35 -0700 (PDT)
Received-SPF: pass (googlegroups.com: domain of [EMAIL PROTECTED] designates 
64.233.162.201 as permitted sender)
DomainKey-Status: good (test mode)
Received: by nz-out-0102.google.com with SMTP id n1so1866355nzf
       for <[email protected]>; Mon, 22 May 2006 09:51:34 -0700 
(PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
       s=beta; d=gmail.com;
       
h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
       
b=F6cjIn3isSlFplH6us2RLEY/5WNdzdKM+hapqEPe3kWyAGeGA1wlVy5hBTiXH0vsLA6H5D2tt4M3OOiiUMXVIx0oEMCp/1G0VBFeAYK+iyY4ltvDgETzznoqpvBtkG08g/yqtGaS+PStg7neTq5zI0Zdns4w484vWaF5IglN4Cw=
Received: by 10.64.83.17 with SMTP id g17mr1618139qbb;
       Mon, 22 May 2006 09:51:34 -0700 (PDT)
Received: by 10.64.48.17 with HTTP; Mon, 22 May 2006 09:51:34 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 22 May 2006 12:51:34 -0400
From: "Karl Guertin" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [tg-trunk] MochiKit + Lightbox = MochiKit only?
In-Reply-To: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain
References: <[EMAIL PROTECTED]>

On 5/22/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
If I insert any call to MochiKit on the page, then Lightbox stops working.

BUT -- there's always one... -- if I insert Lightbox's script tags *after*
MochiKit's, then everything (MochiKit AND Lightbox) works as expected.


Did a quick glance through the lightbox code. It looks like the
'pause' (maybe, didn't look that carefully ;]) and 'addLoadEvent'
functions conflict with MochiKit. I suspect the latter is the source
of the problems. Changing lightbox to support the mochikit
addLoadEvent would seem to be the simplest course of action. In either
case, it'll have to load after mochikit.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to