View Full Version : Wayki (using BasicDialog)

29 Nov 2006, 3:44 PM

Wayki is a geographic message board, that allows you to post items such as photos, items for sale, places, events and other things on a map. By posting on Wayki you can share information about your local geographic area with other people around the world, or browse your area to see what's around.

We use the BasicDialog as a floating window over a Google Map. The BasicDialog works perfectly for our needs, the tabs being one thing that we really had issues with using other types of windowing widgets. We also use the YUI based Carousel component (http://www.billwscott.com/carousel) for uploading and viewing images.

Have a look around and feel free to post things of interest on Wayki!

30 Nov 2006, 4:59 AM
That looks really sharp.

FYI, I'm not sure what version you are running, but the latest version will handle the z-indexing of the active dialog for you.

30 Nov 2006, 6:03 AM
Yes, very cool.

The "Window" menu needs to put tick marks against the menu options when the window is already visible...

30 Nov 2006, 6:47 PM
Lovely work. I really missed the mouse scroll feature to zoom in/out though... Its probably on your list but I just saw this too http://ajaxian.com/archives/prototype-event-extension-eventwheele


1 Dec 2006, 5:47 AM
Herm, that's been built into the yui-ext event object for ages. ;)

If you use mon() or addManagedListener() instead of standard yui on/addListener on an element, you get back a YAHOO.ext.EventObject which has a method getWheelDelta() which is normalized across browsers. You do need to register for both events (DOMMouseScroll, mousewheel) like the prototype version.

1 Dec 2006, 11:45 AM
Sheesh... sorry :D . I do read the doc but I need a class browser!

3 Dec 2006, 3:26 PM
What did you use for the login dialogs?


3 Dec 2006, 3:49 PM
very sharp. very busy too!! wow. soo many js and css files dude. wow. :shock:

4 Dec 2006, 6:33 PM
@jack - Thanks! That's great to know about the latest version, I'll have to check that out :)

@Animal - Thanks! Will definitely put that on the todo list. There are a few interface things that I've been working on in the last couple of days, and that's a good one.

@Herm - Google might have a built in way (with their API) to do that with the mouse scroll button. I'm not entirely sure. The yui-ext one sounds good. The only thing about mouse zooming is that it seems to happen pretty quickly, and (at least the way things work right now) it would probably do too many AJAX calls at once. But... that's a good one to go onto the feature list! And I think I can definitely get around any potential issues of too many AJAX calls by timing it out a little bit.

@sjivan - Those are the prototype windows that I previously used before I put in the yui-ext ones. You can find them here: http://prototype-window.xilinus.com/. I still use it because of one thing that it does (it's able to load a separate web page in the window) but I think I can get around that by using an iframe. We'll be using yui-ext for all of our window type stuff from now on.

@djilquidice - Yep... there's quite a bit. Once they're loaded things run really quickly. Eventually I'll try to consolidate a lot of the files to make it quicker :)

And thanks everyone for your input... I'm hoping to get another update out a little later this week which should have some interface improvements.

4 Dec 2006, 9:13 PM
Chris - regarding the mousewheel and the issue of

it would probably do too many AJAX calls at once...
See this post where Jack talks about this (and provides a code snippet):

If your application is sensitive to selections, you may want to implement a buffering mechanism using a DelayedTask object so you are not executing lots of updates in succession.

Sounds like a way to deal with this. As a 'user', I tell ya, you've gotta have this feature - people expect it! :D