29 Nov 2006 3:44 PM #1
Wayki (using BasicDialog)
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 #2
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 #3
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
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 #4
1 Dec 2006 5:47 AM #5
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 #6
Sheesh... sorry . I do read the doc but I need a class browser!
3 Dec 2006 3:26 PM #7
What did you use for the login dialogs?
3 Dec 2006 3:49 PM #8
- Join Date
- Mar 2007
- DC Area =)
- Vote Rating
very sharp. very busy too!! wow. soo many js and css files dude. wow. hock:
4 Dec 2006 6:33 PM #9
@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 #10
Chris - regarding the mousewheel and the issue of
it would probably do too many AJAX calls at once...
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.