[wp-trac] [WordPress Trac] #4805: Use jQuery for WP's list
manipulation
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 23 23:13:15 GMT 2007
#4805: Use jQuery for WP's list manipulation
----------------------------+-----------------------------------------------
Reporter: mdawaffe | Owner: mdawaffe
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4 (future)
Component: Administration | Version:
Severity: normal | Keywords: jquery javascript listman i18n
----------------------------+-----------------------------------------------
All that adding, deleting, and "dimming" stuff we do with Prototype should
be rewritten for jQuery.
And here it is.
Attached is a patch that reworks the list manipulation stuff to be more
markup based than JS based. Specific classes and ids are given to lists,
list items, deletors, dimmers and adders which the wpLists jQuery plugin
then finds and initializes.
Since a complete description of the markup involved would be rather
lengthy, I have also attached a plugin (dependent on files found in the
patch) that adds a Top Level "WPLists" menu item with documentation and
examples.
The tests from the plugin work in the Firefox, Safari and Opera.
WordPress itself uses WPLists in fairly complicated ways is some places.
Currently, those complicated pieces have only been tested in Firefox.
To Do:
1. Test in IE
2. Bring back JS "Are You Sures?". This will require #4459 to be done
"properly".
3. Bring back success messages ("X added").
--
Ticket URL: <http://trac.wordpress.org/ticket/4805>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list