-
11 Dec 2008 3:43 AM #1
Ext.ux.DataView.LightBox
Ext.ux.DataView.LightBox
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...data-view.html
here you can view the source http://extjs-ux.org/repo/authors/caz...View/LightBox/
here is an online demo http://extjs-ux.org/repo/authors/caz...les/index.html
here you can download the extension http://extjs-ux.org/repo/authors/caz...ightbox.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:
works in all browser, except lynxPHP Code:new Ext.DataView({
...
plugins: [
new Ext.ux.DataView.LightBox({
nextImage : '../arrow_right.png',
prevImage : '../arrow_left.png',
event : 'click'
})
],
...
});

-
11 Dec 2008 3:47 AM #2
great idea, doesn't work for me. nothing in IE7 and the large version of the image doesn't show in FF2.
Marty
-
11 Dec 2008 3:50 AM #3
only tested it in ff3 on linux, so then i have to boot bei windows virtual machine

-
11 Dec 2008 5:05 AM #4
-
11 Dec 2008 6:03 AM #5
ok fixed the problems...(goddamn autowidth problems)
ive tested it in ff3,safari,ie8,ie6,opera,epiphany...
but its still in a very early stage...
hope somebody except me got a use for that plugin ^^
-
11 Dec 2008 7:57 AM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
I would suggest using single click instead of double.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
11 Dec 2008 1:39 PM #7
Excellent work!!
Thanks for share!
-
11 Dec 2008 7:19 PM #8
-
12 Dec 2008 2:05 AM #9
ok i think i fixed most of the initial bugs... feel free to do whoteva you want to do with it

-
23 Jan 2009 5:09 AM #10



Reply With Quote