phpMiX.org :: Open Source eXperiments

 
Making a multi-treed faq
Select messages from
# through # FAQ
[/[Print]\]
 
phpMiX.org -> DHTML Collapsible FAQ

#1: Making a multi-treed faq Author: ghost PostPosted: Wed Jun 14, 2006 9:53 am
    —
Is there an easy way to make the DHTML faq mod a multi-treed one? Essentially, can I have the large topics expand/contract as well as the answers? Tell me if I need to explain more and thanks for replies in advance. 

#2:  Author: markus PostPosted: Wed Jun 14, 2006 1:10 pm
    —
If I understand you well, you mean the ability to expand/collapse FAQ sections? If so, I think it's not really easy with this MOD as it is. Because, we would need a unique identifier for each section, to build a DOM element id that we can use from an onclick event... ideally, we would have to generate those unique identifiers from the file faq.php itself.

If you're not in a hurry... give me some days and I will try to do it. I was also thinking to include alternate template files with different layouts... but, as always, anything requires time.

Please, bump this topic (and me) in a week or so.
 

#3:  Author: ghost PostPosted: Wed Jun 14, 2006 10:21 pm
    —
10-4. That's exactly what I need and thanks for the help. Is there any good place where I can learn how to do this myself, so I don't take up too much of your time? Thanks. 

#4:  Author: markus PostPosted: Sat Jun 17, 2006 11:36 am
    —
bumping so it doesn't get missed... I'll try to find some time this week-end...

There are lots of places to learn javascript out there, a couple of examples that comes to mind:

http://www.quirksmode.org/
http://www.howtocreate.co.uk/


...you might also wish to take a look at the other MODs of mine that play with the display attribute.
 




phpMiX.org -> DHTML Collapsible FAQ


output generated using printer-friendly topic mod. All times are GMT + 1 Hour

 
Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group