Is it possible to use a Javascript Text toggle but still have it editable for a user using the CMS content editor? I have created a HTML page for a client who uses Umbraco for their site but wishes to have a text toggle for their Executive Bios page. Basically a person visiting the site would click on the name and title of the executive to show/hide their bio. Problem I'm having is how to translate that to the content editor since the Javascript works by shoing and hiding the content seperated in different DIVs. Is there shortcode that exists that can be placed directly into the content editor to do this? Something like:
[toggle title="CEO Name & Title" color=gray]Bio Content[/toggle]
This is much better accomplished by a separate "Executives" section in Umbraco, i.e., create the document types "Executives" and "Executive", then add the appropriate fields, and let them create each executive as a separate document.
Then you can render them all in one page, with a flawless Javascript toggle, without worrying about them getting the codes wrong etc.
Javascript Text Toggle?
Is it possible to use a Javascript Text toggle but still have it editable for a user using the CMS content editor? I have created a HTML page for a client who uses Umbraco for their site but wishes to have a text toggle for their Executive Bios page. Basically a person visiting the site would click on the name and title of the executive to show/hide their bio. Problem I'm having is how to translate that to the content editor since the Javascript works by shoing and hiding the content seperated in different DIVs. Is there shortcode that exists that can be placed directly into the content editor to do this? Something like:
This is much better accomplished by a separate "Executives" section in Umbraco, i.e., create the document types "Executives" and "Executive", then add the appropriate fields, and let them create each executive as a separate document.
Then you can render them all in one page, with a flawless Javascript toggle, without worrying about them getting the codes wrong etc.
/Chriztian
Thanks. I think the main goal for them though is to maintain the site themselves and only use me for major edits.
is working on a reply...