Page 1 of 1

Open / Close Content (Expand - Collapse) [SOLVED]

Posted: Thu Jan 22, 2009 9:46 am
by pamelina
Hello,

I'm trying to set up Open / Close (Expande - Collapse) option for my content on a front page ...

It need's to look like this:

I like CMSms . . .     (When there would be a click on "I like CMSms . . ." it need's to open to answer / description)


Example:

I like CMSms . . .

after click goes to

I like CMSms . . .

- modules - here you can see CMSms modules
- templates - here you can see CMSms templates


Is it possible to do this function with CMSms ...?

Re: Open / Close Content (Expand - Collapse)

Posted: Thu Jan 22, 2009 10:20 am
by KO
Have you looked closely to TinyMCE editor and it's buttons. There should be something for that.

Re: Open / Close Content (Expand - Collapse)

Posted: Thu Jan 22, 2009 11:01 am
by pamelina
Thanks KO, it works great ...

However I'm having problems to validate CSS, it gives out this error ...

204    Value Error : cursor  hand is not a cursor value :  hand

Can't find a solution to fix this error ...

If some of you has experience how to fix it, please let me know ...

Re: Open / Close Content (Expand - Collapse)

Posted: Thu Jan 22, 2009 11:16 am
by KO
That's not valid CSS. You could find valid CSS values for cursor from here http://www.w3schools.com/css/css_classification.asp

Then you have to find where the problem is and change it. ... and it seems to be in /plugins/function.startExpandCollapse.php

Re: Open / Close Content (Expand - Collapse)

Posted: Thu Jan 22, 2009 11:52 am
by pamelina
Great I have just managed to fix it ... Now it validates with CSS ...
I still need to do something for smooth opening ...

Re: Open / Close Content (Expand - Collapse) [SOLVED]

Posted: Thu Jan 22, 2009 12:11 pm
by KO
To have it opening smoothly you might need to use some javascript framework like Mootools, Prototype/Scriptabulous, jQuery or similar. That will replace what you currently have.