cclaerhout Well-known member Apr 12, 2013 #1 I didn't know the jQuery++ collection, but it's nice. I just want to share the link: http://jquerypp.com
I didn't know the jQuery++ collection, but it's nice. I just want to share the link: http://jquerypp.com
Rigel Kentaurus Well-known member Apr 12, 2013 #2 cclaerhout said: I didn't know the jQuery++ collection, but it's nice. I just want to share the link: http://jquerypp.com Click to expand... jquery.cookie looks nice I truly cannot believe that cookie managing functionality is not already built into javascript
cclaerhout said: I didn't know the jQuery++ collection, but it's nice. I just want to share the link: http://jquerypp.com Click to expand... jquery.cookie looks nice I truly cannot believe that cookie managing functionality is not already built into javascript
cclaerhout Well-known member Apr 13, 2013 #3 When I was fighting with the Redactor dom functions, I've found this library: Rangy. It's really quite amazing how it's possible to manipulate dom selection & ranges with it. Here's a general demo: http://rangy.googlecode.com/svn/trunk/demos/core.html Here's a demo which show it's possible to serialize selection: http://rangy.googlecode.com/svn/trunk/demos/serializer.html Here's a demo to see how it's possible to apply a css to a selection: http://rangy.googlecode.com/svn/trunk/demos/cssclassapplier.html (really good) And another one to see how it's possible to play with caret and selection: http://rangy.googlecode.com/svn/trunk/demos/textrange.html
When I was fighting with the Redactor dom functions, I've found this library: Rangy. It's really quite amazing how it's possible to manipulate dom selection & ranges with it. Here's a general demo: http://rangy.googlecode.com/svn/trunk/demos/core.html Here's a demo which show it's possible to serialize selection: http://rangy.googlecode.com/svn/trunk/demos/serializer.html Here's a demo to see how it's possible to apply a css to a selection: http://rangy.googlecode.com/svn/trunk/demos/cssclassapplier.html (really good) And another one to see how it's possible to play with caret and selection: http://rangy.googlecode.com/svn/trunk/demos/textrange.html