![]() |
Tutorial: Jquery (by google API) with mybb (prototype) - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Resources (https://community.mybb.com/forum-8.html) +--- Forum: Tutorials (https://community.mybb.com/forum-38.html) +--- Thread: Tutorial: Jquery (by google API) with mybb (prototype) (/thread-45115.html) Pages:
1
2
|
Tutorial: Jquery (by google API) with mybb (prototype) - aglioeolio - 2009-02-13 Quote:April 2011 - Developers @ Audentio.com managed this nonconflict code to a plugin to painless insert Jquery + plugins in mybb 1.6: Original post (2009) http://dev.jquery.com/wiki/PrototypeAndJQuery Generic example:
with Dynamic Drive Smooth Menu Ungrouped Templates > headerinclude
Link to this menu Code (javascript non-obtrusive): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm#ajax This is an easy solution, but I don´t realize it´s related with mybb side (Prototype)... if you don´t use this trick your popup (smilies) and Editor won´t work at all RE: Tutorial: Jquery (by google API) with mybb (prototype) - x_Stricken_x - 2009-02-13 Uhm..What's the point of this? ![]() RE: Tutorial: Jquery (by google API) with mybb (prototype) - aglioeolio - 2009-02-13 What´s the point of "prototype" in mybb? ![]() exactly the same I think... but jquery from google is lightweight RE: Tutorial: Jquery (by google API) with mybb (prototype) - x_Stricken_x - 2009-02-13 (2009-02-13, 04:47 AM)aglioeolio Wrote: What´s the point of "prototype" in mybb?The point is because it makes all of the requests - using quick reply, editing a post, etc. - easier. And Prototype is lightweight too, you just need to get the minified version of it. RE: Tutorial: Jquery (by google API) with mybb (prototype) - aglioeolio - 2009-02-13 LOL, I don´t wanna start flamming or something like Windows x Linux, Manchester x Liverpool,etc - it´s just a quick tip nothing else don´t bother if you don´t mind ![]() RE: Tutorial: Jquery (by google API) with mybb (prototype) - Tomm M - 2009-02-14 Prototype is a heavyweight compared to jQuery - everyone with a well informed opinion knows that. When 1.4 was developed, jQuery was just starting as a library, and Prototype was the most popular back then. That is why it's developed with it (or at least, that's what I remember people saying!). Why not just include the jQuery library after the Prototype library, and use
You can then use jQuery as a command ( jQuery("#target").attr("title"); ). This is probably the preferred way, especially if you're using Prototype and developing something that is cross-platform. http://docs.jquery.com/Using_jQuery_with_Other_Libraries RE: Tutorial: Jquery (by google API) with mybb (prototype) - Imad Jomaa - 2009-02-14 (2009-02-14, 09:14 PM)Tom.M Wrote: Prototype is a heavyweight compared to jQuery - everyone with a well informed opinion knows that. When 1.4 was developed, jQuery was just starting as a library, and Prototype was the most popular back then. That is why it's developed with it (or at least, that's what I remember people saying!). Precisely. You really don't need a long work around, just use the noconflict and it works fine with MyBB. RE: Tutorial: Jquery (by google API) with mybb (prototype) - tutmeister - 2009-05-18 Is there any thought to changing out to just using jQuery in future releases? RE: Tutorial: Jquery (by google API) with mybb (prototype) - AndrewPH - 2010-01-18 how to do this? need clear tutorial ![]() RE: Tutorial: Jquery (by google API) with mybb (prototype) - cron - 2011-04-02 How to do this? Kindly detail your tutorial OP? |