Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson
Why the bottom? Is that where the Apple menu is? I don't know, I don't have an Apple computer. I like the idea of cloning the icon to maintain the menu position. I'll be honest and say that I simply don't have the JS/jQuery knowledge to clone it. Is it just: $(img).clone().appendTo(img); ??

Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson
This is exactly what I was working on last night! I have already been able to track mouse proximity around an element (not exactly rocket science!) but I removed the script and HTML from the page because I didn't want some folks getting confused. Determining its distance from dead centre,

Re: [jQuery] Widget Challenge

2006-09-29 Thread Mark Gibson
Dan Atkinson wrote: Why the bottom? Is that where the Apple menu is? I don't know, I don't have an Apple computer. I like the idea of cloning the icon to maintain the menu position. I'll be honest and say that I simply don't have the JS/jQuery knowledge to clone it. Is it just:

Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson
I'll have a look at positioning now. Also, putting a link around it seems to break it. I've messed about with it, but all it does now is twitch! :-) Mark Gibson-8 wrote: Dan Atkinson wrote: Why the bottom? Is that where the Apple menu is? I don't know, I don't have an Apple computer.

Re: [jQuery] Widget Challenge

2006-09-29 Thread Stefan Petre
I start working on the same think: fisheye menu http://interface.eyecon.ro/development/demos/fisheye.html is just a draft hope something nice will come out of this. Yehuda Katz wrote: Dojo released a new widget today: a spreadsheet widget. and it ocurred to me that while we don't quite have

Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson
Yehuda, Can you put this on the jQuery blog page, to generate more interest, please? It has so few articles, and something like this shouldn't be buried away in the mailing list. This way, we can digg the story, and bring more attention to the widget challenge. We could also begin a

Re: [jQuery] Widget Challenge

2006-09-28 Thread Dan Atkinson
As an aside, I wrote out this in a webpage with a few choice icons. It doensn't really work in IE, but I thought I'd stick your code up there: http://dan-atkinson.com/fisheye/ Cheers, Dan Paul Bakaus wrote: Hi! I have put up a little function that does something like the fisheye

Re: [jQuery] Widget Challenge

2006-09-28 Thread Paul Bakaus
Hi Dan,some improvement idea for the page you have set up: Stick the outer container to the bottom of the page via position: absolute or fixed, this way you don't have the bumping problem for the height of the outer container. Other than that, I had almost the same idea you talked about, one

Re: [jQuery] Widget Challenge

2006-09-27 Thread Dylan Verheul
Feel free to include what's on http://www.dyve.net/jquery (autocomplete, autohelp, googlemaps, editable). On 9/27/06, Yehuda Katz [EMAIL PROTECTED] wrote: Dojo released a new widget today: a spreadsheet widget. and it ocurred to me that while we don't quite have anything like that yet, there

Re: [jQuery] Widget Challenge

2006-09-27 Thread Larry Garfield
Said famous CMS has support for doing precisely that, and in fact uses such support for its own module development. John hinted before that he was looking to go in that direction, which I think would be terrific for all involved. On Wednesday 27 September 2006 01:24, Paul Bakaus wrote: Hi

Re: [jQuery] Widget Challenge

2006-09-27 Thread Dave Benjamin
On Wed, 27 Sep 2006, Paul Bakaus wrote: as you may know, the jQuery website is going to be updated soon, supported by a famous cms. Maybe it would be good to build in a plugins platform into the page, where every developer can add his plugin, like for example Firefox Plugins, mozdev. etc.

Re: [jQuery] Widget Challenge

2006-09-27 Thread Paul Bakaus
Hi!I have put up a little function that does something like the fisheye plugin. However, this is only a concept, it doesn't behave like the real one. It will not detect near containers and therefore is not very smooth. the function:$.fn.fisheye = function() { this.each(function() { var fishHeight

Re: [jQuery] Widget Challenge

2006-09-27 Thread Dan Atkinson
Paul, That's a good start! I see what you're doing! A larger z-indexed div could be created around each fisheye image, and a calculation could be done to determine how far from the centre of the box the mouse cursor is. The image can then be scaled depending on this value. This also means that

Re: [jQuery] Widget Challenge

2006-09-27 Thread Jörn Zaefferer
Yehuda Katz schrieb: You can check out what Dojo has currently at http://dojotoolkit.org/ I haven't worked with Dojo and therefore dunno about its structure, I hope someone else can answer this question: Would it be possible to write an adapter to allow using Dojo widgets with jQuery as its