I want to make a jQuery version of Magento template, but it’s hard to find what to replace and which files to look for because I am not familiar with Prototype functions.
For instance, a code like this is too generic too figure whether it uses Prototype or Varien’s js
I emailed Varien and they insist there is no such list or documentation but they are available for hire to figure it out..
lol, this is funny.
I tried to eliminate all prototype features with no success - some scripts look like prototype but cannot be 100% sure. I think it requires one with a deep knowledge of prototype to to be a prototype terminator. But the paradox is, if one has good knowledge of prototype, one might as well fully embracing it.
Converting to jQuery on the back end may be a bit too ambitious this early. We’re currently leaning in that direction for the front end, however, and are looking into building an extension for it as we have time.
I’d be happy to set up a group for it if anyone is interested in helping out. We definitely need more library options in Magento.
Well, I will contribute if I can. So far I have implemented jQuery’s lightbox, tabs and accordion in the product view page, however I am unable to write jQuery plugins.
I very much would love to be able to do the accordion or treeview for the category menu (vertical version) because the one Magento has for the horizontal menu, lucks flexibility for vertical menu, the way it works, is also (almost) impossible to manipulate in CSS to get a better, accessible fly-out menu, and I don’t know enough PHP to dare to touch the Navigation.php file.
Excellent. The goal being the use of a single library to help slim things down, I think we could really pull together to build some extensions that will easily help us do just that.
I’ve just created a “Javascript Libraries” group at http://www.magentocommerce.com/group/view/241. We’ll mostly likely be starting with jQuery, so If you’d like to follow along, or even participate, please join!