Xander75
14 Jan 2009, 3:39 AM
Hi all,
After searching through the forums for solutions on how to create Context Menu's, which there seemed to be many ways, but I couldn't find a User Extension. So I decided to create my first ever Ext extension for creating multiple Context Menu's that can be applied to any element that has an id.
The code is extremely lightweight and very simple to use. With this I have managed to create Context Menu's on all elements of the Ext Desktop application and any other webpage.
Feel free to use this in any project, any comments on this are appreciated.
P.S. This being my first user extension, be kind ;)
Update made to perform the eval() within the Ext.ux.ContextMenu
After searching through the forums for solutions on how to create Context Menu's, which there seemed to be many ways, but I couldn't find a User Extension. So I decided to create my first ever Ext extension for creating multiple Context Menu's that can be applied to any element that has an id.
The code is extremely lightweight and very simple to use. With this I have managed to create Context Menu's on all elements of the Ext Desktop application and any other webpage.
Feel free to use this in any project, any comments on this are appreciated.
P.S. This being my first user extension, be kind ;)
Update made to perform the eval() within the Ext.ux.ContextMenu