Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Categories as navigational elements
This is more of a ‘can you’ question than ‘how do I’…
This is the scenario…
Imagine 3 equal sized boxes at top of page (similar to layout used by problogger.net). In the 1st box is a list of countries (cat 1 – parent). Upon selecting a country in the 1st box the 2nd box then display regions (cat 2 – child) associated with that country. Upon selecting a region, the 3rd box displays a list of the 5 most recent articles associated with that region.
I’ve seen this type of thing in action with drop down boxes – when you make a selection in the first drop down the one beneath is then populated with associated sub-categories of the 1st one, and so on. It seems quite a common way to do things with drop downs.
So, my question is: can this be achieved as I’ve described above natively by Textpattern by simply using html/css? Or will it require javascript?,
or worse, Ajax?
I’m currently desiging some screens based on my scenario but don’t want to get too hooked on the idea if this is will be problematic with TXP.
Offline
Re: Categories as navigational elements
Although rigging TXP to output all of the related articles might be a bit trick (I am sure there is a plugin that would do this), the visual menu effect could definitely be done with CSS. Google “suckerfish dropdowns”. Its pretty simple stuff to do horizontal suckerfish menus rather then the normal vertical ones.
Offline
Re: Categories as navigational elements
Jeff_K, many thanks for this! It’s certainly along the right lines of what I envisage. If anyone here knows of any other examples then please do let me know.
Hopefully this can be achieved with TXP.
Many thanks again!
Offline
Pages: 1