Making a multi-treed faq
 
 
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> DHTML Collapsible FAQ
View previous topic :: View next topic  
Author Message
ghost
Starter
Starter


Joined: 14 Jun 2006
Posts: 2

PostPosted: Wed Jun 14, 2006 9:53 am    Post subject: Making a multi-treed faq Reply with quote

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. 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Wed Jun 14, 2006 1:10 pm    Post subject: Reply with quote

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.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
ghost
Starter
Starter


Joined: 14 Jun 2006
Posts: 2

PostPosted: Wed Jun 14, 2006 10:21 pm    Post subject: Reply with quote

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. 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Sat Jun 17, 2006 11:36 am    Post subject: Reply with quote

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.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> DHTML Collapsible FAQ All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum