| View previous topic :: View next topic |
| Author |
Message |
ghost Starter


Joined: 14 Jun 2006 Posts: 2
|
Posted: Wed Jun 14, 2006 9:53 am Post subject: Making a multi-treed faq |
|
|
| 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 |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
Posted: Wed Jun 14, 2006 1:10 pm Post subject: |
|
|
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 |
|
 |
ghost Starter


Joined: 14 Jun 2006 Posts: 2
|
Posted: Wed Jun 14, 2006 10:21 pm Post subject: |
|
|
| 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 |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
Posted: Sat Jun 17, 2006 11:36 am Post subject: |
|
|
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 |
|
 |
|