View Full Version : DD scripts with Joomla

10-27-2008, 06:08 PM
1) Script Title: Animated Collapsible DIV v2.01

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem:

OK so here it goes. I am trying to create a community website of sort with the CMS Joomla (1.5). Anyway, my design is finished and works well enough. BUT, now what I want to do, is insert some nice Java features in the design. The only way I know how to insert a script is through the HTML code. My idé was to use the *animated collapse DIV to make the login wrapper DIV collapse and expand. But it doesn't seem to work

So if someone knows what's wrong or if it's even possible please replay to this question.


10-28-2008, 01:23 AM
You'd simply insert the code of Step 1 inside the HEAD section of your page- or if you can't, the start of the BODY will do too, then, inside that code, make sure you've defined a single addDiv() function call using the ID of your login DIV:

animatedcollapse.addDiv('mylogindiv', 'attributes_here')

With attributes being the various attribute settings you define for this DIV. That should do it.