Comments on: Collapsible CMS Menus https://servicenowguru.com/content-management/collapsible-cms-menus/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 20:21:48 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mark Stanger https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8825 Wed, 20 Aug 2014 16:57:12 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8825 In reply to Madeleine Eves.

You should be able to, you just need to adjust my script to target your HTML structure. It’s impossible for me to predict what that might be though so you’ll probably need to work with someone on your side who has a good understanding of Javascript and CSS.

]]>
By: Madeleine Eves https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8824 Wed, 20 Aug 2014 16:50:39 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8824 Hi,
This is really great!
However, we already have a theme for ‘cms_menu_vertical_blocks_top_section’ and it’s not compatible with the dropdown arrows it appears – they just disappear.
Is there a way that I could use a different div class?
Thanks,
Madeleine

]]>
By: Andrew https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8823 Wed, 21 May 2014 19:42:32 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8823 In reply to Mark Stanger.

I am having a similar issue to abhijat. I believe I’ve followed instructions correctly, but the page doesn’t allow the menus to expand or collapse. I am talking about the actual view you see when the page loads, not the sections visible in the CMS editor.

]]>
By: Ramsha https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8822 Fri, 28 Jun 2013 17:40:57 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8822 In reply to Mark Stanger.

Fantastic, thanks so much!

]]>
By: Mark Stanger https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8821 Wed, 26 Jun 2013 12:43:08 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8821 In reply to Ramsha Almas.

You just have to target the correct HTML element. I haven’t tested this, but I think you could just adjust this line…

collapseImg.down(‘img’).observe(‘click’, toggleSectionItems);

to something like this…

collapseImg.up(‘tr’).observe(‘click’, toggleSectionItems);

]]>
By: Ramsha Almas https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8820 Thu, 20 Jun 2013 17:12:34 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8820 How would it be possible to make the entire heading (h2) clickable to open up the subitem menu, rather than just the little arrow images?

]]>
By: Mark Stanger https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8819 Thu, 18 Aug 2011 12:09:18 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8819 In reply to abhijat.

The sections will always display. It’s the items underneath each section that will be displayed when you click the ‘Expand all’ link.

]]>
By: abhijat https://servicenowguru.com/content-management/collapsible-cms-menus/#comment-8818 Thu, 18 Aug 2011 09:13:10 +0000 https://servicenowguru.wpengine.com/?p=3949#comment-8818 Hi Mark,

I have tried the given script, As a result I am getting that ‘Expand all’ and two menu sections.
But these menu sections are not related to expand all link.
How can i make these sections visible only when I click on ‘Expand All’.

]]>