Displaying 1 result from an estimated 1 matches for "magic_buttons".
2006 May 05
0
Node wrapping, node replacement, magic buttons...
...;div'');
	$(''myElement'').parentNode.insertBefore (myDiv, $(''myElement''));
	Element.remove(''myElement'');
You can see actual working code of this if you like.  It is a little  
project I started working on:
http://thinkof.net/projects/js/magic_buttons/index.html
My wrap node method is here (at line 71):
http://thinkof.net/projects/js/magic_buttons/javascript/MagicButtons.js
As always, if you have suggestions feel free to make them.  This code  
is BSD lisence based.
_______________________________________________
Rails-spinoffs mailing list...