[ic] Need help with ic tags, creating dynamic javascript menus

Ian Riddler interchange-users@interchange.redhat.com
Sun Dec 16 22:44:00 2001


Mike Heins did a very good Tips and Trick article on 22 Sept.
It works nicely for multiple-level categories.

The big difference between the tree tag and javascript is that
expanding/collapsing the tree requires a page reload, where javascript would
not.

In the mid-term, Javascript is the better option, but for now, I've taken
the path of least resistance.

We put the comb_category and tree_build code into UI/pages/admin/item.html,
which automatically refreshes our tree every time the items list page is
viewed. Better to do it too often, than not often enough!

I hope this helps, and I'd be interested to hear how your js work goes.

Ian


----- Original Message -----
From: "Jason Balicki" <kodak@asi-computers.com>
To: <interchange-users@interchange.redhat.com>
Sent: Monday, December 17, 2001 12:49 PM
Subject: Re: [ic] Need help with ic tags, creating dynamic javascript menus


> Fred Pope wrote:
>
> Fred, Thanks for the quick reply...
>
> > "I'm attempting to modify the foundation catalog, specificaly the
> > "category_vertical" component to display menus containing product
> > categories when you click on the product area."
> >
> > Have you looked into the tree tag? It is being used here:
> > http://www.fixturefactor.com.
>
> I'm looking at the site, and it's very similar to what I'm
> trying to accomplish, but I don't think I'll need n-level
> menu's.  My boss will probably ask for it later though. :)
>
> > I have not looked into it much myself, but it has been talked about on
> > the list quite a bit. May save you some time, although I am not sure if
> > this is what you are trying to accomplish. Perhaps an example of your
> > code working somewhere would be helpful so we could see what you are
> > trying to accomplish.
>
> Well, you can see what I've got so far at:
> http://www.asi-computers.com/cgi-bin/asistore
>
> Be warned:  it ONLY works (and partialy at that) in Netscape.  IE
> chokes on my code.
>
> I'm researching the [tree] tag right now.
>
> > - Fred =)
> > http://www.satcomresources.com
>
> Thanks again, Fred.
>
> --J(K)
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>