Hi!


I'm using both MochiKit and Lightbox from available eggs (well, MochiKit is 
from our 1.0 branch...) but I'm having a problem with the Lightbox widget.

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.

So, I'd like to know if there's somebody with this problem and how you are 
dealing with it.  For now, as a workaround, I've cut'n'pasted Lightbox's 
script tags near my </head> closing tag.

Is there any option to determinate the order for those JavaScript to appear on 
the page?

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.68.5 with SMTP id q5mr183656wra;
        Sun, 21 May 2006 22:47:27 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.202])
        by mx.googlegroups.com with ESMTP id v23si865380cwb.2006.05.21.22.47.26;
        Sun, 21 May 2006 22:47:27 -0700 (PDT)
Received-SPF: pass (googlegroups.com: domain of [EMAIL PROTECTED] designates 
66.249.82.202 as permitted sender)
DomainKey-Status: good (test mode)
Received: by wx-out-0102.google.com with SMTP id s10so455699wxc
        for <[email protected]>; Sun, 21 May 2006 22:47:26 
-0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        
h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:x-virus-scanned;
        
b=P42NHOW9cZvjXqp9SJDZrJ+KU6g9yqlTBDW6MixuiFXp6V2xYywban+pA5iOZvACPIKifjSWTRnzRBvqV/S75n+nyY862tfidaqA4wL5uC3Brl5mbDBzNywBsK2sBlS2jY+fsaZBF+eH0H0wrsWEAuIKiaKCQG/W1BVvBR5J0rA=
Received: by 10.70.28.11 with SMTP id b11mr4803335wxb;
        Sun, 21 May 2006 22:47:26 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from strongwill.g2ctech ( [201.22.15.245])
        by mx.gmail.com with ESMTP id i33sm4822408wxd.2006.05.21.22.47.24;
        Sun, 21 May 2006 22:47:25 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
        by strongwill.g2ctech (Postfix) with ESMTP id 83F98B0AC4
        for <[email protected]>; Mon, 22 May 2006 03:46:31 
-0300 (BRT)
Received: from strongwill.g2ctech ([127.0.0.1])
 by localhost (strongwill [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 28891-03 for <[email protected]>;
 Mon, 22 May 2006 03:46:31 -0300 (BRT)
Received: from jupiter.g2ctech (unknown [10.0.0.240])
        by strongwill.g2ctech (Postfix) with ESMTP id 5FA59B0A4D
        for <[email protected]>; Mon, 22 May 2006 03:46:31 
-0300 (BRT)
Received: from localhost (localhost [IPv6:::1])
        by jupiter.g2ctech (Postfix) with ESMTP id 347ADD5205
        for <[email protected]>; Mon, 22 May 2006 02:47:16 
-0300 (BRT)
From: Jorge Godoy <[EMAIL PROTECTED]>
To: [email protected]
Subject: MochiKit + Lightbox = MochiKit only?
Date: Mon, 22 May 2006 02:47:14 -0300
User-Agent: KMail/1.9.1
Mime-Version: 1.0
Content-Type: text/plain
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: amavisd-new at g2ctech.com


Hi!


I'm using both MochiKit and Lightbox from available eggs (well, MochiKit is 
from our 1.0 branch...) but I'm having a problem with the Lightbox widget.

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.

So, I'd like to know if there's somebody with this problem and how you are 
dealing with it.  For now, as a workaround, I've cut'n'pasted Lightbox's 
script tags near my </head> closing tag.

Is there any option to determinate the order for those JavaScript to appear on 
the page?

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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