-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I misunderstood your previous message, sorry about that; I have found where jquery-1.4.2 was injected, tgext.menu works fine now with tg-2.2 and tw-2.
Thanks, - -- Jean-Denis Girard SysNux Systèmes Linux en Polynésie française http://www.sysnux.pf/ Tél: +689 50 10 40 / GSM: +689 79 75 27 Le 28/04/2012 10:21, Michael Pedersen a écrit : > I'm not really sure how my saying "something in your application is > loading another version of jquery over the top of the existing version" > got turned into "tgext.menu is incompatible tg2.2", but I will > categorically and emphatically state this in no uncertain terms: > > tgext.menu is compatible with tg2.1.x and tg2.2. I have just tested it > and confirmed it. > > When I create a new virtualenv, and install the tg2.2 rc in it, and then > install tgext.menu, it works exactly as advertised. I get the navbar, > and it works. > > I have checked the output HTML source, and this is the <script> block > that appears. Compare it with yours, which produces an extra load of > jQuery (specifically, 1.4.2). > > ------------------------------------ > <script type="text/javascript" > src="/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js"></script> > <script type="text/javascript" > src="/tw2/resources/tgext.menu.util/static/js/jquery.bgiframe.js"></script> > <script type="text/javascript" > src="/tw2/resources/tgext.menu.util/static/js/jquery.dimensions.js"></script> > <script type="text/javascript" > src="/tw2/resources/tgext.menu.util/static/js/jquery.positionBy.js"></script> > <script type="text/javascript" > src="/tw2/resources/tgext.menu.util/static/js/jquery.jdMenu.js"></script> > ------------------------------------ > > Something in your application is causing an older version of jQuery to > be loaded in the browser. When it does, it overwrites the version of > jQuery that was loaded already, and obliterates the plugins. The end > result is exactly what you saw happen: tgext.menu produces javascript > errors. I don't know what in your application is causing it, but > something in there is doing it. Remove that extra load of jQuery, and > you will see that it works. > > On Sat, Apr 28, 2012 at 12:19 PM, Jean-Denis Girard <[email protected] > <mailto:[email protected]>> wrote: > > ok, so it means tgext.menu is not compatible with tw2; tw2 is default in > tg2.2 applications, so tgext.menu is not compatible with tg2.2, right ? > > > Thanks, > > -- > You received this message because you are subscribed to the Google > Groups "TurboGears" group. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To unsubscribe from this group, send email to > [email protected] > <mailto:turbogears%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > > > > -- > Michael J. Pedersen > My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen > Google Talk: [email protected] <mailto:[email protected]> > -- Twitter: pedersentg > > -- > You received this message because you are subscribed to the Google > Groups "TurboGears" 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?hl=en. -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAk+clgMACgkQuu7Rv+oOo/hOdACeOkSXDXAQLTtkTqPkE9AULqr6 QKoAn3VBaRObilneJhvlJfAh4HKzJNa9 =PIBP -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en.

