digitalkaoz
11 Dec 2008, 3:43 AM
he folks,
i proudly present my first extension (if it can be called a plugin)
its a simple Ext.DataView Plugin which lets you cycle through the records and show the current image... i realized the plugin with the default ext components, nothing more, nothin less...
simply doubleclick the item
it only makes sense if u have images in your dataview like the official example http://extjs.com/deploy/dev/examples/view/data-view.html
here you can view the source http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/
here is an online demo http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/examples/index.html
here you can download the extension http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/deploy/ext.ux.dataview.lightbox.tar.gz
it was a 30minutes adhoc plugin...but i think it can get some enhancements...
what do you think? whats missing?
any feedback is welcome :)
usage:
new Ext.DataView({
...
plugins: [
new Ext.ux.DataView.LightBox({
nextImage : '../arrow_right.png',
prevImage : '../arrow_left.png',
event : 'click'
})
],
...
});
works in all browser, except lynx ;)
i proudly present my first extension (if it can be called a plugin)
its a simple Ext.DataView Plugin which lets you cycle through the records and show the current image... i realized the plugin with the default ext components, nothing more, nothin less...
simply doubleclick the item
it only makes sense if u have images in your dataview like the official example http://extjs.com/deploy/dev/examples/view/data-view.html
here you can view the source http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/
here is an online demo http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/examples/index.html
here you can download the extension http://extjs-ux.org/repo/authors/caziel/trunk/Ext/ux/DataView/LightBox/deploy/ext.ux.dataview.lightbox.tar.gz
it was a 30minutes adhoc plugin...but i think it can get some enhancements...
what do you think? whats missing?
any feedback is welcome :)
usage:
new Ext.DataView({
...
plugins: [
new Ext.ux.DataView.LightBox({
nextImage : '../arrow_right.png',
prevImage : '../arrow_left.png',
event : 'click'
})
],
...
});
works in all browser, except lynx ;)