Show/Hide multiple DIV buttons
Hello,
I created a FAQ page and would like to add a "Show All/Hide All" option in the form of a buttons (or even a simple link to click on). When I test out the code I have created through a regular internet browser (i.e. mozilla), the button work just fine. However, when I test out the code through the Cascade Server, the buttons seem to be invalid. How do I get the buttons to work so that when clicked, all responses are either revealed or hidden?
I have attached the exact coding in this message. Thank you for your time. Hope to hear from you soon.
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Penny on 12 Jun, 2015 02:47 PM
Hi Marchessa,
I am guessing that the
<
in your javascript is being converted to<
I would recommend pasting the content of the javascript in a .js file and then add the link to the javascript file on your page. I hope that makes sense.
Let me know if you need clarification. Thanks!
Support Staff 2 Posted by Tim on 25 Jun, 2015 01:33 PM
Hi Marchessa,
Just wanted to make sure you saw Penny's comment above. Let us know if you're still having trouble.
Thanks!
Tim closed this discussion on 17 Jul, 2015 02:23 PM.