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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
pamelina
Forum Members
Forum Members
Posts: 69
Joined: Mon Nov 05, 2007 4:05 pm

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

Post 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 ...?
Last edited by pamelina on Thu Jan 22, 2009 11:53 am, edited 1 time in total.
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Open / Close Content (Expand - Collapse)

Post by KO »

Have you looked closely to TinyMCE editor and it's buttons. There should be something for that.
pamelina
Forum Members
Forum Members
Posts: 69
Joined: Mon Nov 05, 2007 4:05 pm

Re: Open / Close Content (Expand - Collapse)

Post 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 ...
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Open / Close Content (Expand - Collapse)

Post 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
pamelina
Forum Members
Forum Members
Posts: 69
Joined: Mon Nov 05, 2007 4:05 pm

Re: Open / Close Content (Expand - Collapse)

Post by pamelina »

Great I have just managed to fix it ... Now it validates with CSS ...
I still need to do something for smooth opening ...
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

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

Post 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.
Post Reply

Return to “Layout and Design (CSS & HTML)”