You are here: Re: displaying categories/subcategories using modified preorder tree transversal « PHP Programming Language « IT news, forums, messages
Re: displaying categories/subcategories using modified preorder tree transversal

Posted by frothpoker on 09/01/06 13:04

OK, back to the original problem....

I presume that when you select a node, you are actually having trouble
writing the SQL query to correctly return the higher level nodes as
showing....

Books
-->Fiction
-->-->Classic
-->-->Sci-Fi
-->NonFiction
Video

This is a perfect example of where javascript and CSS would be handy.
Why not return all the elements and contain each one within a <DIV>
with the visible poperty set to false and an onClick() event for the
parent category that sets the visible property of the child div to true
or false.

Obiron

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация