Re: Ajax fly-out menu
Re: Ajax fly-out menu
- Subject: Re: Ajax fly-out menu
- From: Benjamin Chew <email@hidden>
- Date: Tue, 9 Mar 2010 16:30:45 -0700
I'm attempting to code a fly-out menu resembling the one shown at the top of this page (http://www.cssmenus.co.uk/flyout.html), with the difference being that I want to make an Ajax request every time I hover over a menu item to pull the sub-categories to reduce load.
That will reduce page size somewhat, but at the expense of more traffic to the server. Are you sure that is a good thing to do?
We built a recursive category structure using EOs that could (theoretically) accommodate an infinite number of levels, so implementing this using Ajax seems like a good alternative to having to pull the whole category structure all at once, even if that is done only once per session.
I've gotten as far as tinkering with AjaxTree, but realized that I would have to rewrite a bunch of code in AjaxUpdateLink as it assumes that the Ajax request will be sent "onClick" instead of "onMouseover".
Before I go down that path, I wanted to know if anyone has done this before or if someone has other suggestions for me.
Thanks,
Ben
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden