PDA

View Full Version : [Ext Core]Ext.ux.FisheyeMenu


helloniko
06-28-2009, 03:49 AM
FisheyeMenu is my second simple UX based on Ext Core.
It's horizontal mode and still initial version now, just play for fun. Vertical fisheye mode and pure text function will be supported in the future.

(** if you extract the attachment but to find lost file extention ('.zip'), please use zip software open/extract it, thanks...)

-Tested on FF2+, IE7+, Chrome2, Safari3
-MIT License
-FisheyeMenu demo (http://cz9908.com/showcase/?item=fisheye-menu&p=1)
-Desktop Fisheye demo (http://cz9908.com/showcase/?item=desktop-fisheye&p=1) (thanks hello2008 (http://www.extjs.com/forum/showthread.php?p=351610#post351610))
-Git source (http://github.com/bluepower/Ext-Core-UX/tree/master/FisheyeMenu/)
-UX doc (http://cz9908.com/blog/Niko-weblog-labs/lab-Niko-Ext-Core-UX-Doc/output/?class=Ext.ux.FisheyeMenu)

Example usage:


Ext.onReady(function() {
var fm = new Ext.ux.FisheyeMenu({
renderTo : 'fisheye-menu',
itemWidth : 60,
items : [{
text: 'Map',
imagePath: 'images/map.png',
url: 'http://maps.google.com'
}, {
text: 'Photo',
imagePath: 'images/photo.png',
url: 'http://picasaweb.google.com'
}]
});

// change alignment dynamically
fm.setAlign({
hAlign : 'left',
vAlign : 'top'
});
});

elnove
06-28-2009, 12:59 PM
Greate work dude !!!!

Joe
06-30-2009, 03:58 PM
This is exactly the types of controls that will make all our lives easier.

Great work and thanks so much.

pachama
07-01-2009, 11:16 AM
Congratulation for this!

Simple and tight.

Just a question: i cut & paste your code in the Desktop sample (to have the dock as task bar) , every thing works fine but the tooltiptips.
It seems that onItemHover events is not received by menu item.
do you have an idea about this strange behaviour?

luc

hello2008
07-02-2009, 02:53 AM
Congratulation for this!

Simple and tight.

Just a question: i cut & paste your code in the Desktop sample (to have the dock as task bar) , every thing works fine but the tooltiptips.
It seems that onItemHover events is not received by menu item.
do you have an idea about this strange behaviour?

luc

Sounds interesting, so I did a test, put my attachment modified files (html for test and for css only changed the text color and removed text background image) into Desktop folder, working no problem, what you mentioned about tooltip is the image alt text, right? found works okay if you hover a little longer on the image item.

pachama
07-03-2009, 03:25 AM
Thanks to your response.

You're right. It works perfectly. I realize that it's not work if i put the "fisheye" div outside of the desktop div.

Duamarea
08-20-2009, 04:48 PM
omg man ive been wanting this so long im about 2 play with this for sure *sniff* *sniff* i love u

Mad_Clog
10-29-2009, 12:53 PM
Good stuff!
Any ETA on a vertical version? would be ace to include in the desktop.
Keep up the good work!