How to import JQuery from Athena

Hi, I've downloaded the jquery-1.3.2.min.js file from JQuery web page. Now I need to import it. How do I do it? With the // import sentence? Could you supplyme an example? Thanks, -- Juanjo Conti

On Fri, 3 Jul 2009 16:42:39 -0300, Juanjo Conti <jjconti@gmail.com> wrote:
Hi, I've downloaded the jquery-1.3.2.min.js file from JQuery web page. Now I need to import it. How do I do it? With the // import sentence?
Could you supplyme an example?
If you want to use `// import ...´, you need to "package" jQuery. This is covered a bit in the Athena tutorial on the wiki. In particular, this section: http://divmod.org/trac/wiki/DivmodNevow/Athena/Tutorials/LiveElement#Customi... You don't have to use `// import ...´, though. You could just put a script tag into your page that loads jQuery. Jean-Paul

I did it the // import way. Thanks! 2009/7/3 Jean-Paul Calderone <exarkun@divmod.com>:
On Fri, 3 Jul 2009 16:42:39 -0300, Juanjo Conti <jjconti@gmail.com> wrote:
Hi, I've downloaded the jquery-1.3.2.min.js file from JQuery web page. Now I need to import it. How do I do it? With the // import sentence?
Could you supplyme an example?
If you want to use `// import ...´, you need to "package" jQuery. This is covered a bit in the Athena tutorial on the wiki. In particular, this section:
http://divmod.org/trac/wiki/DivmodNevow/Athena/Tutorials/LiveElement#Customi...
You don't have to use `// import ...´, though. You could just put a script tag into your page that loads jQuery.
Jean-Paul
_______________________________________________ Twisted-web mailing list Twisted-web@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-- Juanjo Conti
participants (2)
-
Jean-Paul Calderone
-
Juanjo Conti